It should download a patch that matches the current app version.
If none exists, it should use the bundled script instead.
App crashes:
Fatal Exception: java.lang.IllegalArgumentException
Unable to find JSIModule for class interface com.facebook.react.bridge.UIManager
com.facebook.react.bridge.JSIModuleRegistry.getModule (JSIModuleRegistry.java:17)
com.facebook.react.bridge.CatalystInstanceImpl.getJSIModule (CatalystInstanceImpl.java:478)
com.facebook.react.uimanager.UIManagerHelper.getUIManager (UIManagerHelper.java:32)
com.facebook.react.uimanager.UIManagerModule.dispatchViewManagerCommand (UIManagerModule.java:597)
java.lang.reflect.Method.invoke (Method.java)
Also see: https://github.com/facebook/react-native/issues/20636#issuecomment-425248856
Hi @kevinresol! Please could you provide step by step scenario that I could reproduce the issue (especially sequence of steps with changing target versions)?
May I know which part is not clear in the "Steps to Reproduce" section?
Anyway I will try my best:
Here is my steps:
react-native init Issue1426 --version 0.56.0cd Issue1426yarn add react-native-code-push@$5.4.2code-push app add Issue1426-Android android react-nativereact-native link react-native-code-pushcode-push release-react Issue1426-Android android -t 1.0.0versionCode to 2 and versionName to 1.0.1; switched to release build variant; configured singing section and run app on real device.code-push release-react Issue1426-Android android -t 1.0.1You mentioned Play Store. Unfortunately we have no opportunity to post test apps for every issue there. Is it important step? I'm sure that this issue can be reproduced without posting app there.
Please check my steps if I missed something.
I think play store is not important. But release build (signed) and Android 8 should be the key points.
Ahh, sorry I believe I missed one important observation.
The app may not crash at the very beginning. On my particular app, it sometimes crashes when user clicks on a password TextInput and sometimes when a button is pressed.
Please add required steps in my sequence that I could reproduce the issue. It could be very helpful if you provide us with a demo app
Hey! I'm going to close this issue as there is no activity here. Should you still have any questions, you can reopen the issue or if you prefer you can create a new one.
Most helpful comment
I think play store is not important. But release build (signed) and Android 8 should be the key points.
Ahh, sorry I believe I missed one important observation.
The app may not crash at the very beginning. On my particular app, it sometimes crashes when user clicks on a password
TextInputand sometimes when a button is pressed.