flutter_doki 1.0.1 copy "flutter_doki: ^1.0.1" to clipboard
flutter_doki: ^1.0.1 copied to clipboard

PlatformAndroid

Retrive information about the device background killing apps, and show help to the user.

Doki Dont kill my app!

Developed by 🦏 zoocityboy

Flutter Doki - Dont kill my app #

Pub pub points ci License: MIT Flutter

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

Features #

  • 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

🚀 Getting started #

Installation #

dart pub add flutter_doki

AndroidManifext.xml #

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>

Usage #

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){...});

Widget #

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
)

Example app Screenshot

Flutter developer Zoocityboy

📝 License #

This project is licensed under the MIT License - see the LICENSE file for details.


Flutter developer Zoocityboy
3
likes
150
points
72
downloads
screenshot

Documentation

API reference

Publisher

verified publisherzoocityboy.space

Weekly Downloads

Retrive information about the device background killing apps, and show help to the user.

Homepage
Repository (GitHub)
View/report issues

Topics

#android #dontkillmyapp #doki

License

MIT (license)

Dependencies

device_info_plus, flutter, http, package_info_plus, url_launcher

More

Packages that depend on flutter_doki