boot_completed

Creator: coderz1093

Last updated:

0 purchases

boot_completed Image
boot_completed Images

Languages

Categories

Add to Cart

Description:

boot completed

boot_completed #
Flutter plugin to execute dart code on boot completed.
Getting Started #
See example source in repository.
A bunch of extra things need to be done to use this plugin:


In your dart code,
call boot_completed.setBootCompletedFunction(functionName)
See main() in example/lib/main.dart


On the android side,
register org.thebus.boot_completed.BootCompletedPlugin as a broadcast receiver
See example/android/app/src/main/AndroidManifest.xml


On the android side, your application needs to subclass FlutterApplication,
and implement PluginRegistry.PluginRegistrantCallback
org.thebus.boot_completed.BootCompletedPlugin.setPluginRegistrantCallback(this)
needs to be called,
and PluginRegistrantCallback.registerWith should call
GeneratedPluginRegistrant.registerWith()
See example/android/app/src/main/kotlin/org/thebus/boot_completed_example/ExampleApplication.kt
Don't forget to tell android to use your application subclass instead of FlutterApplication by modifying your AndroidManifest.xml
See the application section in example/android/app/src/main/AndroidManifest.xml

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.