react-native-code-push icon indicating copy to clipboard operation
react-native-code-push copied to clipboard

Should I generate a native build when i add native libraries in react native 0.61+?

Open HannanShaik opened this issue 6 years ago • 2 comments

I have been using RN 0.61.+ for my android and ios app with Codepush for remote JS updates.

With react native auto-linking enabled in 0.60+. When we add a native library, there is no native code added in the android and ios folders except that we need to do a pod install for iOS.

Does this mean I can simply do update to users with JS Bundle on codepush and it will pick up? Or do I have to create native builds and release on stores?

HannanShaik avatar Jun 03 '20 19:06 HannanShaik

Hi @HannanShaik , Thanks for reporting!

Our recommendation is to do a new native build if you make any changes in the native part. But the main thing here that your new js bundle should works correctly with the old native part. It depends on changes. I think that in your case all will be corrected for Android but I'm not sure about IOS as you had to do a pod install. You can just tested it manually to ensure.

Please let me know if it was helpful or you have more questions.

Thanks, Alexander

alexandergoncharov-zz avatar Jun 04 '20 09:06 alexandergoncharov-zz

Since there is no answer and we cannot reproduce it I’m going to close this issue for now. Please feel free to reopen it if you have any questions or issues.

andreidubov avatar Jun 11 '20 11:06 andreidubov