numandev1 / react-native-keys

πŸ” Protected .ENVs variables in React Native πŸš€βœ¨
MIT License
314 stars 28 forks source link

Cannot run in DEBUG mode in IOS & android #72

Open ariefmanda opened 10 months ago

ariefmanda commented 10 months ago

Current behavior

The application ran successfully without debug mode but when we ran debug mode we got the error "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." Simulator Screenshot - iPhone 15 Pro Max - 2024-01-22 at 15 37 40

Expected behavior

Platform

React Native Version

React: 17.0.2 React Native: 0.66.3

React Native Compressor Version

Reproducible Steps And Demo

github-actions[bot] commented 10 months ago

πŸ‘‹ @ariefmanda Thanks for opening your issue here! If you find this package useful hit the star🌟!

chanphiromsok commented 10 months ago

you should provide minimal reproduce code or repo I work fine in 0.73 using expo prebuild android and I have not test IOS yet on 0.73

chanphiromsok commented 10 months ago

I have run test 0.73 on IOS it error script @numandev1

ariefmanda commented 10 months ago

thanks @chanphiromsok I just generated the same version, react native 0.66.3, and also experienced an error, the repo is at https://github.com/ariefmanda/rn-test-key @numandev1

artur-skydiver commented 9 months ago

The same error when I try to use Keys object.

"react-native": "0.71.8",
"react-native-keys": "^0.7.10",

android/app/build.gradle

project.ext.keyFiles = [
  debug: "keys.development.json",
  release: "keys.staging.json",
]

apply from: "../../node_modules/react-native-keys/android/RNKeys.gradle"
chanphiromsok commented 9 months ago

@numandev1