You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Suggestion: Since the wiki's best practices recommend disabling battery optimisation, it would be easy if users would be redirected to this screen directly when starting a study (if it's not disabled already).
Per this SO post, redirecting users to the battery optimisation screen (it cannot be done directly) can be achieved by adding the Settings.ACTION_IGNORE_BATTERY_OPTIMIZATION_SETTINGS flag to an intent. Alternatively, Permission.ignoreBatteryOptimizations.request() of flutter-permission-handler is meant to do the same.
The text was updated successfully, but these errors were encountered:
Suggestion: Since the wiki's best practices recommend disabling battery optimisation, it would be easy if users would be redirected to this screen directly when starting a study (if it's not disabled already).
Per this SO post, redirecting users to the battery optimisation screen (it cannot be done directly) can be achieved by adding the
Settings.ACTION_IGNORE_BATTERY_OPTIMIZATION_SETTINGS
flag to an intent. Alternatively,Permission.ignoreBatteryOptimizations.request()
offlutter-permission-handler
is meant to do the same.The text was updated successfully, but these errors were encountered: