Monkibraum
Monkibraum

Reputation: 3

react-native code push: allowable code change?

I'm using react-native-code-push for my app. I had released several versions that change only a few of js bugs, which worked fine.

Recently I realized that if a code pushed release involves any change of native code other than javascript, the app crashes while updating. I added several react native packages that need manual linking such as react-native-maps, and released update to some targeted versions hoping them to take those, but no luck.

Then what if an update only involves adding light libraries (using npm install) which don't require native linking? I wonder to what extent exactly the code push allows client-side code updating.

Upvotes: 0

Views: 487

Answers (1)

Poptocrack
Poptocrack

Reputation: 3009

Basically, when you want to add some native code involving link you will have to rebuild your apk / ipa and re-upload it to the stores. If you want to add a new plugin without link there should not be any problem

One advice I could give is to only push bug fixes to your production app. You should not push new features with codepush since apple review (almost) all the applications.

Upvotes: 0

Related Questions