Closed jwillingham789 closed 1 year ago
This issue has been automatically marked as stale because it has not had any activity for 60 days. It will be closed if no further activity occurs within 15 days of this comment.
This issue has been automatically marked as stale because it has not had any activity for 60 days. It will be closed if no further activity occurs within 15 days of this comment.
This issue will now be closed because it hasn't had any activity for 15 days after stale. Please feel free to open a new issue if you still have a question/issue or suggestion.
This issue will now be closed because it hasn't had any activity for 15 days after stale. Please feel free to open a new issue if you still have a question/issue or suggestion.
Steps to Reproduce
Set
checkFrequency: codePush.CheckFrequency.ON_APP_RESUME
orinstallMode: codePush.InstallMode.IMMEDIATE
and focus the appExpected Behavior
Expect the app to focus/check for updates without crashing
Actual Behavior
The app crashes on focus. On fresh restart the app updates as expected, but it won't work with ON_APP_RESUME and its not logging any errors to Crashlytics or when i profile the build. Just crashes on focus.
Reproducible Demo
` let codePushOptions = { checkFrequency: codePush.CheckFrequency.ON_APP_RESUME };
class MyApp extends Component { }
MyApp = codePush(codePushOptions)(MyApp); `
Environment