reloadAsync crashes app in release build

  1. SDK Version: 44
  2. Platforms(Android/iOS/web/all): Android/iOS
  3. expo-updates Version: 0.11.6

I want to restart my react native app when I change the language of my app, Its an expo managed app with mobx persist for state management and right now I am using expo-update 's reloadAsync to do that and it works fine in development mode but in release build, it crashes the app and clears the Mobx store, I tried to find solutions but got no luck. Since my app is expo managed, I cant really use the react-native-restart library because it requires you to link it and is only supported in bare workflow and ejecting the app to bare workflow takes alot of configuration (I tried it and it introduced other problems) which I dont have time for. Kindly help me out. Thanks

Hey @talha-irshad-kodexo, I’d recommend looking into the device logs to determine what is causing the crash (Debugging - Expo Documentation). Also, reloadAsync is not usable in development mode.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.