@CodePush decorator, with installMode: InstallMode.ON_NEXT_SUSPEND.Bundle should update when app is suspended.
Works on Android, but not on iOS, even after leaving app foregrounded for several minutes, then backgrounded for several minutes, and repeating the process several times. Force restarting the app also does not cause it to update on iOS. Other InstallMode's work as expected.
Looking at the source code, I don't even see any iOS-specific logic for this InstallMode, if not supported for iOS shouldn't the docs be updated to reflect that?
Version:
react-native-code-push: 6.0.0
react-native: 0.61.5
react: 16.9.0
@jd20 Have you found any work around ?
I did not, I just switched to using InstallMode.ON_NEXT_RESUME until this issue is fixed.
Hi @jd20, @lbelavoir
Thank you for reporting and sorry for delay!
We reproduced this problem and opened a fix PR for this. 小urrent PR: #1863.
I will let you know when this will be finally fixed.
Hi @jd20, @lbelavoir,
We released a new version for react-native-code-push v6.2.1 with a fix for this issue.
Please let me know if you have any questions.
Most helpful comment
Hi @jd20, @lbelavoir
Thank you for reporting and sorry for delay!
We reproduced this problem and opened a fix PR for this. 小urrent PR: #1863.
I will let you know when this will be finally fixed.