AppState can tell you if the app is in the foreground or background, and notify you when the state changes.
Read moreHow do I add a background in React Native?
Show activity on this post. Style: import React from ‘react-native’; let { StyleSheet } = React; let styles = StyleSheet. create({ backgroundImage: { flex: 1, resizeMode: ‘cover’, // or ‘stretch’ } });
Read moreCan I run React Native app in background?
With the use of endless task management system in android You can run the task in the background theater the app is in background or the app is in kill mode .8 Mar 2017
Read more