Skip to content

Instantly share code, notes, and snippets.

@marcmo
Created November 21, 2017 11:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save marcmo/e39a6078c74162427b272a61106442fb to your computer and use it in GitHub Desktop.
Save marcmo/e39a6078c74162427b272a61106442fb to your computer and use it in GitHub Desktop.
update react native app with codepush
Detecting android app version:
Using the target binary version value "1.3.10" ...
Running "react-native bundle" command:
node node_modules/react-native/local-cli/cli.js bundle --assets-dest /var/folders/rq/_gpzs05x4pzg4d_ckvhr1mpr0000gn/T/CodePush --bundle-output /var/folders/rq/_gpzs05x4pzg4d_ckvhr1mpr0000gn/T/CodePush/index.android.bundle --dev false --entry-file index.android.js --platform android
bundle: start
bundle: finish
bundle: Writing bundle output to: /var/folders/rq/_gpzs05x4pzg4d_ckvhr1mpr0000gn/T/CodePush/index.android.bundle
bundle: Copying 41 asset files
bundle: Done writing bundle output
bundle: Done copying assets
Releasing update contents to CodePush:
Upload progress:[==================================================] 100% 0.0s
Successfully released an update containing the "/var/folders/rq/_gpzs05x4pzg4d_ckvhr1mpr0000gn/T/CodePush" directory to the "Staging" deployment of the "oliver/Carsharing" app.
I/ReactNativeJS: [CodePush] Sync already in progress.
I/ReactNativeJS: [CodePush] Checking for update.
I/ReactNativeJS: [CodePush] Awaiting user action.
I/ReactNativeJS: [CodePush] Downloading package.
D/ReactNative: [CodePush] Applying full update.
I/ReactNativeJS: [CodePush] Installing update.
D/ReactNative: [CodePush] Loading JS bundle from ".../CodePush/index.android.bundle"
D/ReactNative: ReactInstanceManager.recreateReactContextInBackgroundInner()
D/ReactNative: ReactInstanceManager.recreateReactContextInBackgroundFromBundleLoader()
D/ReactNative: ReactInstanceManager.recreateReactContextInBackground()
I/ReactNativeJS: [CodePush] Restarting app
D/ReactNative: ReactInstanceManager.runCreateReactContextOnNewThread()
D/ReactNative: ReactInstanceManager.tearDownReactContext()
I/ReactNativeJS: [carsharing] next app state: background
D/ReactNative: CatalystInstanceImpl.runJSBundle()
D/ReactNative: ReactInstanceManager.setupReactContext()
D/ReactNative: CatalystInstanceImpl.initialize()
D/ReactNative: ReactInstanceManager.attachRootViewToInstance()
D/ReactNative: ReactInstanceManager.attachRootViewToInstance()
I/ReactNativeJS: Running application "SettingsScreen" with appParams: {"initialProps":{"screenInstanceID":"screenInstanceID10","navigatorID":"navigatorID9_nav4","navigatorEventID":"screenInstanceID10_events"},"rootTag":1}. __DEV__ === false, development-level warning are OFF, performance optimizations are ON
E/ReactNativeJS: Application SettingsScreen has not been registered.
Hint: This error often happens when you're running the packager (local dev server) from a wrong folder. For example you have multiple apps and the packager is still running for the app you were working on before.
If this is the case, simply kill the old packager instance (e.g. close the packager terminal window) and start the packager in the correct app folder (e.g. cd into app folder and run 'npm start').
This error can also happen due to a require() error during initialization or failure to call AppRegistry.registerComponent.
E/AndroidRuntime: FATAL EXCEPTION: mqt_native_modules
Process: ..., PID: 17358
com.facebook.react.common.JavascriptException: Application SettingsScreen has not been registered.
at com.facebook.react.modules.core.ExceptionsManagerModule.showOrThrowError(ExceptionsManagerModule.java:56)
at com.facebook.react.modules.core.ExceptionsManagerModule.reportFatalException(ExceptionsManagerModule.java:40)
at java.lang.reflect.Method.invoke(Native Method)
at com.facebook.react.bridge.JavaMethodWrapper.invoke(JavaMethodWrapper.java:363)
at com.facebook.react.bridge.JavaModuleWrapper.invoke(JavaModuleWrapper.java:162)
at com.facebook.react.bridge.queue.NativeRunnable.run(Native Method)
at android.os.Handler.handleCallback(Handler.java:789)
at android.os.Handler.dispatchMessage(Handler.java:98)
at com.facebook.react.bridge.queue.MessageQueueThreadHandler.dispatchMessage(MessageQueueThreadHandler.java:31)
at android.os.Looper.loop(Looper.java:164)
at com.facebook.react.bridge.queue.MessageQueueThreadImpl$3.run(MessageQueueThreadImpl.java:194)
at java.lang.Thread.run(Thread.java:764)
: Force finishing activity .../com.reactnativenavigation.controllers.NavigationActivity
Showing crash dialog for package ... u0
: Killing 17358:.../u0a362 (adj 900): crash
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment