When the Android activity is in the onPause state, restartApp in the CodePushNativeModule class is called and finally enters the loadBundle. Will this cause some exceptions?
Or is it necessary that when entering restartApp, the current activity must be in the onResume state?
Steps to Reproduce
open app;
check update & download update
Call the restartApp function in the CodePushNativeModule class
At this time, the system permission request pop-up window will be displayed. and the Activity enters the onPause state.
At this point Android displays a white screen and remains in this state
@H-Yongzi, try checking the CodePush logs. If it downloads the update but fails to restart the app, try calling restartApp manually after dismissing the system alerts.
My Question
When the Android activity is in the onPause state, restartApp in the CodePushNativeModule class is called and finally enters the loadBundle. Will this cause some exceptions? Or is it necessary that when entering restartApp, the current activity must be in the onResume state?
Steps to Reproduce
STACK TRACE AND/OR SCREENSHOTS