Question - When running in debug mode, it gets stuck on the initial screen and freezes.
Hello, I have downloaded the master branch of this project, installed the relevant dependencies, and successfully run the Android application. Everything works fine, except that I cannot debug it. Whenever I try to debug, I get stuck on the blue "bitpay" screen and cannot proceed. As for the changes I made to the project:
I generated a bundle JS file using "npx react-native bundle --platform android --dev false --entry-file index.js --bundle-output android/app/src/main/assets/index.android.bundle --assets-dest android/app/src/main/res". I modified the network-security-config file and changed the "cleartextTrafficPermitted" attribute to "true". I have not made any other changes to the project. I would appreciate any help you can provide when you are available. Thank you very much.
Additional information: logcat: 03-07 05:31:26.244 21120 21220 E ReactNativeJS: ReferenceError: Property 'atob' doesn't exist, js engine: hermes 03-07 05:31:26.265 21120 21220 E ReactNativeJS: Invariant Violation: Module AppRegistry is not a registered callable module (calling runApplication). A frequent cause of the error is that the application entry file path is incorrect. 03-07 05:31:26.265 21120 21220 E ReactNativeJS: This can also happen when the JS bundle is corrupt or there is an early initialization error when loading React Native., js engine: hermes 03-07 05:31:26.395 21120 21220 E ReactNativeJS: Invariant Violation: Module AppRegistry is not a registered callable module (calling runApplication). A frequent cause of the error is that the application entry file path is incorrect. 03-07 05:31:26.395 21120 21220 E ReactNativeJS: This can also happen when the JS bundle is corrupt or there is an early initialization error when loading React Native., js engine: hermes 03-07 05:31:52.474 21120 21220 E ReactNativeJS: Invariant Violation: Module AppRegistry is not a registered callable module (calling unmountApplicationComponentAtRootTag). A frequent cause of the error is that the application entry file path is incorrect. 03-07 05:31:52.474 21120 21220 E ReactNativeJS: This can also happen when the JS bundle is corrupt or there is an early initialization error when loading React Native., js engine: hermes 03-07 05:45:10.476 24033 24121 E ReactNativeJS: ReferenceError: Property 'atob' doesn't exist, js engine: hermes 03-07 05:45:10.480 24033 24121 E ReactNativeJS: Invariant Violation: Module AppRegistry is not a registered callable module (calling runApplication). A frequent cause of the error is that the application entry file path is incorrect. 03-07 05:45:10.480 24033 24121 E ReactNativeJS: This can also happen when the JS bundle is corrupt or there is an early initialization error when loading React Native., js engine: hermes
You need to set the right registry, in your main activity and app.js