I want my application to check whether its background activity is enabled in the Android settings.
Settings => Apps & notifications => Advanced => Apps background activities
I'm aware about the react-native-device-info
package but I didn't see any method relating to the background activities.
How can I achieve that ?