I came across code push framework which allows developers to push OTA updates of mobile application which is built in cordova
and react-native
without rolling updates on play/apple store for minor fixes.
I believe code push have their SDK for the cordova
and react-native
and in their SDK they are trying to pull code from repository then do something to make changes in the build without compilation or so. How does it possible to fetch latest changes and reflect them in app without compiling and bulid app again.
Does apple allow this to fetch silently OTA updates of app ?
In short: using React Native with CodePush is ok.
Apple allows update javascript code that executed inside system WebView
or JavascriptCore
if app doesn't provide unlimited access to native SDK or system functions to this code. React Native uses JavascriptCore
and provide limited API to js code so it's ok.
But of course you should avoid change app purpose with OTA.
For more info you can read this and this discussions.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With