Closed Informateur closed 4 years ago
It works if replaced:
override fun registerWith(p0: PluginRegistry) {ForegroundServicePlugin.registerWith(p0.registrarFor("org.thebus.foreground_service.ForegroundServicePlugin"))}
@Informateur v1.1.0 has been published, give it a shot.
After the Flutter 1.12 changes, you shouldn't need to do anything on the Android side besides have the notification icon - in other words, you can delete the custom application class etc. etc.
I knew there was an elegant way. Thanks a lot!
In flutter 1.12
GeneratedPluginRegistrant.registerWith(p0)
method returns an error:How can this conflict be resolved in the new version?