unused_app_restrictions

Creator: coderz1093

Last updated:

0 purchases

unused_app_restrictions Image
unused_app_restrictions Images
Add to Cart

Description:

unused app restrictions

This library checks if "Pause app activity if unused" is turned on or off in the app settings which is only available on android.
reference
https://developer.android.com/topic/performance/app-hibernation
how to use
TextButton(
onPressed: () async {
final bool isEnabled = await UnusedAppRestrictions.getStatus();
print(isEnabled);
},
child: const Text('get status'),
),
copied to clipboard

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.