
Developed by 🦏 zoocityboy
The package is designed to help developers/users understand and handle device-specific battery optimization settings that might affect their app's background operations. Simply open or get informations from DontKillMyApp.com
- Open device-specific pages on dontkillmyapp.com
- Retrieve device information and manufacturer-specific optimization guidelines
- Fetch and parse content from the dontkillmyapp.com API
- Add Badge widgets to the app
dart pub add flutter_doki
Add the following permission to your AndroidManifest.xml file:
<queries>
<!-- If your application checks for inAppBrowserView launch mode support -->
<intent>
<action android:name="android.support.customtabs.action.CustomTabsService" />
</intent>
</queries>
Opens an In-AppWebView displaying instructions on how to disable battery optimization for your app on the current device.
Doki().open(appName: 'My Special App');
if you don't provide appName, it will use the app name from the package.
Doki().fetch()
.then((response){ ...})
.catchError((e){...});
You can use pre-made Badge widget with informations about rating manufacturer of the device with link to more information.
DokiBadgeWidget(
type: BadgeType.square // .square, .rectangle
)
This project is licensed under the MIT License - see the LICENSE file for details.
