battery_optimization_helper 0.1.3
battery_optimization_helper: ^0.1.3 copied to clipboard
A Flutter plugin to detect and request disabling Android battery optimization, with best‑effort OEM auto‑start shortcuts.
0.0.1 #
- Initial release.
- Added support for checking and requesting disable of Android battery optimization.
0.0.2 #
- Update readme file.
0.0.3 #
- Format dart files
0.0.4 #
- Added background autostart
0.0.5 #
- Update readme file.
0.1.0 #
- Add Android version guards to avoid crashes on API < 23.
- Improve activity launching with safe fallbacks.
- Expand OEM auto-start/background settings coverage (Samsung, Huawei, OnePlus, Realme, Asus, Meizu, Nokia, Motorola, etc.).
- Update README with clear usage, 16 KB page size guidance, and tips.
- Refactor Dart API to use platform interface; add
ensureOptimizationDisabled()convenience method and safer wrappers that handle exceptions. - Add
requestDisableBatteryOptimizationWithResultto report status after user returns from the system dialog. - Bump Kotlin Gradle Plugin to 2.1.0 in example and 2.1.0 in plugin build to resolve upcoming support warnings.
0.1.1 #
- Improve README: installing via CLI, rationale example snippet, versions/tooling, and pub score tips.
- Enhance example app with rationale dialog and clearer actions.
- Update tests to reflect new API and stabilize Android unit test.
0.1.2 #
- Improve README: installing via CLI, rationale example snippet, versions/tooling, and pub score tips.
- Enhance example app with rationale dialog and clearer actions.
- Update tests to reflect new API and stabilize Android unit test.
0.1.3 #
- Improve README: installing via CLI, rationale example snippet, versions/tooling, and pub score tips.
- Enhance example app with rationale dialog and clearer actions.
- Update tests to reflect new API and stabilize Android unit test.