Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Does apple allow OTA updates of application

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 ?

like image 904
N Sharma Avatar asked Oct 18 '22 12:10

N Sharma


1 Answers

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.

like image 52
farwayer Avatar answered Oct 21 '22 03:10

farwayer