I have built an expo (React native) app and in development it is working great, even running perfectly on my android device. I built an APK and now when i run the apk on the same android device i get my splash screen and then login screen but when i try login i get the following error screen
enter code here
Okay I found the answer, i had the following code
const Loader = ({ }) => {
Apparently this works completely fine in dev mode but once you build an APK it breaks the app. Hope this saves someone else some time
Related
I'm building a EXPO app for iOs and Android.
When testing the application using the Expo Go app on the Android emulator everything looks as it should be. When I generate the APK and install this on the emulator the whole top get pushed down and a bar appear.
The Expo App
The APK version
Does anyone know what I need to do to fix this?
I am in process of learning react-native, and in that regard, I initiated react-native default app, screenshots are attached.
I am struck at preparing apk via expo and react-native-cli both, when generating apk via exp it crashes on an android device whereas it works just fine in the browser, android, and ios simulators.
this is the error when exporting via react-native
I'm following this guidelines link https://reactnative.dev/docs/signed-apk-android
Any help or hint would be appreciated, thanks in advance
I'm using Azure Devops to build my Xamarin App. It produces an APK as output which I can successfully install on my device the only problem I have is that the app launches on a blank screen instead of showing me the login screen.
Is there any way to debug this issue? Strange enough this does not occur when launching in the app in Release mode on my device (using the same keystore).
I tried disabling Fast deployment in application settings in Visual Studio but to no avail.
If you need me to post my .yml file let me know.
The app started working after enabling zipalign under “Android signing” in Azure Devops. Weird. I didn’t think that option which is disabled by default could cause this issue.
I am having a problem that I do not know why this is happing, I am using axios to make request a api, it working fine on emulator, but when I build the apk and install it on the phone, looks like it is not getting the request, I installed the same apk on emulador bluestacks and is working fine, it is my first app react native, and I do not know why this happen, some one had a experience like it ? and could help
I fixed it, to work in Release Apk, I need to put
android:usesCleartextTraffic="true"
in the tag application on android manifest
I have created an app on local machine Android everything is working fine. Maps / Image Sliders/ Price Sliders / Splash Screens. I have tested entire app to be working fine on simulator and real android device.
But When I upload the zip Soln & Run Cloud build and Install cloud build nothing seems to be working.
Splash Not coming. Only landing page is showing. I can not navigate
to other pages Server requests are not working.
Application is purly html based no intents or plugins are used in it.
Actually issue was in Adobe cloud. We worked with same build the day after and it started working. But still the splash screen is not working.
We plan to have 2 Builds for android and iOS. Android build we will do on our server by installing SDK. IOS build we will be doing on cloud.
Since cloud build apk Size is >6mb while Local Build apk is <2mb