App crashes after expo publish

Please provide the following:

  1. SDK Version: latest
  2. Platforms(Android/iOS/web/all): android
  3. Add the appropriate “Tag” based on what Expo library you have a question on.

These were my step and the app crashes after ota update.

  1. expo init my-project
  2. eas build and generate android apk
  3. install in my android phone. i can see the hello world text
  4. Just changed the hello world text to something else. Like John Doe World
  5. expo publish
  6. I can check my app text has been changed to John Doe World
  7. Now I will add new packages. I will use expo-av
  8. expo install expo-av and copy-paste the sample code
  9. expo publish
  10. Now my app crashes immediately after app launches

Now here is my question?
Do I need to do the “classic” app store updates everytime I install a new expo install package?
Or this ota update should work, but i did something wrong?

expo publish is only sending update with javascript, if you are adding new package that contains native code and run expo publish that old build has no idea what that package is.

If you are adding new or updating existing(if native API changed) packages with native code you have to change runtime version and submit new version to the store


Thanks. 1 more Question.

After install Video and publish, my apk app crashes.
However, if i open “Expo Go” and launch the latest publish. In here the video player works

If expo publish is updating only js. Shouldn’t Expo Go crash too? Or there are some magic happening for Expo Go?

expo go contains all native modules supported by expo already

1 Like

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