F FabioG Active Member Licensed User Longtime User Sep 20, 2018 #1 Hi to all how is it possible to request the interaction to allow the app not to be included in standby and the app is not included in the battery saver with Android 8? can you suggest the code? Thanks
Hi to all how is it possible to request the interaction to allow the app not to be included in standby and the app is not included in the battery saver with Android 8? can you suggest the code? Thanks
Erel B4X founder Staff member Licensed User Longtime User Sep 20, 2018 #2 You can ask the user to whitelist your app: https://www.b4x.com/android/forum/threads/request_ignore_battery_optimizations-problem.73039/ Upvote 0
You can ask the user to whitelist your app: https://www.b4x.com/android/forum/threads/request_ignore_battery_optimizations-problem.73039/
F FabioG Active Member Licensed User Longtime User Sep 20, 2018 #3 Erel said: You can ask the user to whitelist your app: https://www.b4x.com/android/forum/threads/request_ignore_battery_optimizations-problem.73039/ Click to expand... Thanks Erel I followed the directions of this post but I did not get anything no dialog appears Upvote 0
Erel said: You can ask the user to whitelist your app: https://www.b4x.com/android/forum/threads/request_ignore_battery_optimizations-problem.73039/ Click to expand... Thanks Erel I followed the directions of this post but I did not get anything no dialog appears
F FabioG Active Member Licensed User Longtime User Sep 20, 2018 #4 added AddPermission(android.permission.REQUEST_IGNORE_BATTERY_OPTIMIZATIONS) on manifest editor and it work great Thanks Upvote 0
added AddPermission(android.permission.REQUEST_IGNORE_BATTERY_OPTIMIZATIONS) on manifest editor and it work great Thanks