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

Check whether any apps are opened on a user's iOS/Android device with React Native/TS

$
0
0

I am making an app that requires me to know whether the user has opened any app on their mobile device.I don't need to know which app they open, I just need to be notified at the time that this happens.Is there anyway to get this information in React Native when the app is closed?

It would probably work like this:

User clicks button, timer starts.Whilst timer is active, notify if user opens an app.If they do, send notification.Once timer end, stop monitoring.


Viewing all articles
Browse latest Browse all 6290

Trending Articles



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