react-native-code-push icon indicating copy to clipboard operation
react-native-code-push copied to clipboard

[IOS][Android] App crashes each time with new codepush update (react native 0.69.2)

Open ahmadzraiq opened this issue 1 year ago • 2 comments

App crashes each time with new release after upgraded react native from 0.68.2 to 0.69.2 in release mode (testflight, firebase distribution)

Error: Fatal Exception: com.facebook.jni.CppException: Compiling JS failed: Wrong bytecode version. Expected 85 but got 84 Buffer size 9790868 starts with: c61fbc03c103191f5400000090bf9853 and has protection mode(s): r--p at com.facebook.react.bridge.queue.NativeRunnable.run(NativeRunnable.java) at android.os.Handler.handleCallback(Handler.java:873) at android.os.Handler.dispatchMessage(Handler.java:99) at com.facebook.react.bridge.queue.MessageQueueThreadHandler.dispatchMessage(MessageQueueThreadHandler.java:27) at android.os.Looper.loop(Looper.java:201) at com.facebook.react.bridge.queue.MessageQueueThreadImpl$4.run(MessageQueueThreadImpl.java:228) at java.lang.Thread.run(Thread.java:764)

Steps to Reproduce

Do a codepush on release build with react native 0.69.2

Expected Behavior

Update the app without crash

Actual Behavior

App crashes after downloading the release

Environment

  • react-native-code-push version: 7.0.4
  • react-native version: 0.69.2
  • Does this reproduce on a debug build or release build? release build
  • Does this reproduce on a simulator, or only on a physical device? physical device

ahmadzraiq avatar Jul 24 '22 14:07 ahmadzraiq

Hi @ahmadzraiq, Does code push supports react native version 0.68.1. Because as per the documentation only these versions are mentioned

image

geekyoperand avatar Jul 26 '22 22:07 geekyoperand

@geekyoperand Hello, code push is working with me react native 0.68.2

ahmadzraiq avatar Jul 26 '22 23:07 ahmadzraiq

same issue for me, I use reacct-native 0.69.5

edritech93 avatar Sep 07 '22 03:09 edritech93

@edritech93 you need to upgrade appcenter-cli to the latest version

ahmadzraiq avatar Sep 07 '22 08:09 ahmadzraiq

@edritech93 you need to upgrade appcenter-cli to the latest version

I have still got this error :( it's crashed when update 100% pakage

chellongCoder avatar Sep 20 '23 18:09 chellongCoder