Our great sponsors
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
I've tinkered around with the https://github.com/flutter/samples/tree/main/add_to_app/android_view repository. I deleted the content of the dart files and replaced it with just a scaffold and button that connects to my method channel. I wrote a simple plugin which extends FlutterPlugin and Activity Aware the handle the method channel. My main problem seems to be, that the GeneratedPluginRegistrant.java file does not contain any references to my Flutter plugin. pub get within the Flutter Module doesn't add my plugin.
I've uploaded the project to github: https://github.com/lheinzerab/flutter_add_to_app