Quantcast
Channel: Active questions tagged react-native+ios - Stack Overflow
Viewing all articles
Browse latest Browse all 16750

Unable to detect OnResume AppState in React Native(Android/IOS)?

$
0
0

Here, is my code which actually not working, nor console any log:

    if (nextAppState.match(/inactive|background/) && nextAppState === 'active') {        console.log('App has come to the foreground! (iOS and Android)');        // this._expireSession();    }

Viewing all articles
Browse latest Browse all 16750

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>