![]() ![]() I tried sending a new OTA and it went passed the loading screen again. ![]() However, App was stuck again on loading screen. I assumed all was good and so i rebuilt the app using the EAS build command to test if it would open on TestFlight. However this time i decided to push this update using the EAS update feature and boom!! the app went past the loading screen once it downloaded the new update. I did have a mistake in my code where i was not using a try, catch for fetchUpdateAsync() as mentioned here I noticed that I was checking for OTA updates before the hideAsync call. Therefore, I checked the code that ran before the hideAsync function. However I did call the SplashScreen.hideAsync() function. Finally I checked to see if i forgot to call SplashScreen.hideAsync() after SplashScreen.preventAutoHideAsync().Following which i deleted the package.json and yarn.lock files and reinstalled the packages. Next I ran depcheck to remove any unused dependancies.Ran “expo start -no-dev -minify” the app worked locally as well as expo go.Would appreciate if you guys have any feedback I spent almost 2 days trying to fix the issue and here’s what I did to finally fix it (sort of). The app was just stuck on loading screen for my latest build on TestFlight.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |