Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is it possible to use eval() in React.js Native to define new experiences within an app?

I'm considering writing a new mobile app using React.js native and I'd like to be able to tweak the UX post-launch as I A/B test, fix bugs, etc.

Are there any technical constraints that would make it impossible/difficult for the app to modify itself by downloading a bundle of JavaScript and eval()'ing it?

What about app store rules for iOS or Android?

like image 495
Logan Bowers Avatar asked Oct 31 '22 07:10

Logan Bowers


1 Answers

Yes, it's possible. I'm doing that. There are also projects like https://github.com/aerofs/react-native-auto-updater.

like image 181
Pavle Lekic Avatar answered Nov 11 '22 05:11

Pavle Lekic