electrode-native
electrode-native copied to clipboard
How to integrate a miniapp in an android application without running the start script?
I'm migrating a chatbot that we have to React Native using Electrode to cross-plaftorm. What I'm not understanding is how the infrastructure in production will work, currently I already have everything working, but I always need to run the start script to work. How to run directly without having to run the javascript server?
E/ReactNativeJS: Application propViewerMiniApp 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: com.example.myapplication, PID: 3941
com.facebook.react.common.JavascriptException: Application propViewerMiniApp 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.