We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi @thomas550i , i'm using your plugin and plugin asking for permission in a couple of hours. Is this bug or how can i fix this problem.
Code : cordova.plugins.DozeOptimize.IsIgnoringBatteryOptimizations(function (responce){ console.log("IsIgnoringBatteryOptimizations: "+responce); if(responce=="false") { cordova.plugins.DozeOptimize.RequestOptimizations(function (responce){ console.log(responce); }, function (error){ console.error("BatteryOptimizations Request Error"+error); }); } else { console.log("Application already Ignoring Battery Optimizations"); } }, function (error){ console.error("IsIgnoringBatteryOptimizations Error"+error); });
cordova.plugins.DozeOptimize.IsIgnoringBatteryOptimizations(function (responce){ console.log("IsIgnoringBatteryOptimizations: "+responce); if(responce=="false") { cordova.plugins.DozeOptimize.RequestOptimizations(function (responce){ console.log(responce); }, function (error){ console.error("BatteryOptimizations Request Error"+error); }); } else { console.log("Application already Ignoring Battery Optimizations"); } }, function (error){ console.error("IsIgnoringBatteryOptimizations Error"+error); });
Phone : Xiaomi Red Mi Note 8 - Android 11
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi @thomas550i , i'm using your plugin and plugin asking for permission in a couple of hours. Is this bug or how can i fix this problem.
Code :
cordova.plugins.DozeOptimize.IsIgnoringBatteryOptimizations(function (responce){ console.log("IsIgnoringBatteryOptimizations: "+responce); if(responce=="false") { cordova.plugins.DozeOptimize.RequestOptimizations(function (responce){ console.log(responce); }, function (error){ console.error("BatteryOptimizations Request Error"+error); }); } else { console.log("Application already Ignoring Battery Optimizations"); } }, function (error){ console.error("IsIgnoringBatteryOptimizations Error"+error); });
Phone : Xiaomi Red Mi Note 8 - Android 11
The text was updated successfully, but these errors were encountered: