microsoft / react-native-code-push

React Native module for CodePush
http://appcenter.ms
Other
8.98k stars 1.47k forks source link

Perform the update from native instead of JS #1774

Closed yvbeek closed 4 months ago

yvbeek commented 4 years ago

Would it be possible to do the bundle update entirely in the native code, instead of from the JavaScript?

Moving it over to the native code would give the following advantages:

It would probably require only a little bit of native code. So there would be little downside. And you can always use the existing JS calls to trigger an update whenever you want.

andreidubov commented 4 years ago

Hi @yvbeek, Thank you for reporting!

We will discuss your suggestion with the team and will keep you updated.

andreidubov commented 4 years ago

Hey @yvbeek,

After some discussion, we came to the conclusion that we currently don’t have the resources for a big project like that, but we keep the issue open to keep on gathering folks interest in it.

kmcvey commented 1 year ago

+1 on this topic. @doomkit @andreidubov

We have been discussing the feasibility of sending a silent push notification to our users and updating the CodePush bundle in the background. This would ensure both standard and mandatory CodePushes could be auto-installed without the user having to open the app.

DmitriyKirakosyan commented 4 months ago

As we do not have plans to add support for this feature in the next year, I'm closing the issue.