React-native-code-push: Is there a way to set a code-push policy to download and install in background?

Created on 1 Nov 2018  路  6Comments  路  Source: microsoft/react-native-code-push

Is there a way to set a code-push policy to download and install the bundle in background?

  1. We do not want to use CodePush.InstallMode.IMMEDIATE
  2. We currently use CodePush.InstallMode.ON_NEXT_RESUME, so when the app goes to background it installs the bundle & now foreground it
  3. Now put the app 2nd time the background and foreground it (new content is displayed)

Can we combine, 2 & 3, meaning install in background and update in background, so that new content shows up?

Adding a video for reference.

@vasanthk

CodePush-SubTitle-480.zip

enhancement question

All 6 comments

@alexandergoncharov

Hi @krunalsshah ,
Thanks for reporting and sorry for this delay!

So, you would like to get update in background while app is minimised and then when user open app update should be installed. Is it correct?

Thanks,
Alexander

Yes @alexandergoncharov .

@krunalsshah @vasanthk , I got it. Thanks. Yeah, unfortunately it isn't possible for now but we have this feature on our roadmap. I can't provide any ETA for now but i'll let you know any news about this.

So, I'm going to close this issue for now but please feel free to reopen it if you have any questions.

Thanks,
Alexander

@alexandergoncharov Is there a way we can keep tabs on the progress of this specific feature? I.e. whether it's under consideration, in progress, in testing etc? As with others this would be huge for us.

+1

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Phredward picture Phredward  路  3Comments

DeDuckProject picture DeDuckProject  路  3Comments

fanzhiri picture fanzhiri  路  3Comments

jaysig picture jaysig  路  3Comments

SudoPlz picture SudoPlz  路  4Comments