I'm using the react-native-code-push
codePush
HOC, and running some logic in response to a codePushStatusDidChange
event hook, in particular, when the status is SyncStatus.UPDATE_INSTALLED
.
I haven't had luck finding out whether there is a way to emulate code push events when running in dev mode, to verify that our code is responding properly to the event hook. Is this possible, or is it necessary to release new versions to the code push server?
Side question: if the installMode
is set to codePush.InstallMode.ON_NEXT_SUSPEND
, is the event hook supposed to receive a SyncStatus.UPDATE_INSTALLED
on the next restart? (I suppose once I can get the first question figured out, I can answer the second one on my own!).