Currently in very
alphastage and under heavy testing. Available for iOS only.
cli-rn app will help you to test your RN apps in
PROD modes in record times. You can think of it as a very simplified Expo client with react-native-navigation.
Installation on iOS
Install cli-rn and generate cli-rn app
> npm i -g cli-rn > cli-rn app
It will start generating cli-rn app and in the end of the process, XCode will opened and you will need to launch the app on your device in Release mode.
Once you start testing, you will get
App Code generated by cli-rn. You will need to put this code in the text input you see on the screenshot below. Don't forget to choose the correct app mode.
Things to be aware of
- While testing an app in any mode, you will see the black screen after running the app. It's totally okay as I haven't found a way to manage it yet. It means that your app started loading.
DEVmode: black screen can hang for a while if you run it for the first time. You can check the progress of loading in terminal window where Metro Bundler is running.
DEVmode: you can shake the device and it will reload the bundle with added code.
DEVmode: no fast-refresh yet.
For more information about testing process and cli itself, please follow cli-rn page.