-
-
Notifications
You must be signed in to change notification settings - Fork 4
Closed
Labels
help wantedExtra attention is neededExtra attention is needed
Description
appstate-bug.mov
Simple use-case on android emulator using Contacts app
React.useEffect(() => {
const listener = AppLifecycle.addEventListener('change', (state) => {
console.log('main state', state)
if (state === 'active') {
console.log('active')
dispatch(getAndSetContactsSaga())
}
});
return () => listener.remove();
}, [])
It seems to work for a bit, then stop triggering the "main state" log messages.
Metadata
Metadata
Assignees
Labels
help wantedExtra attention is neededExtra attention is needed