Update Android activities because plugin registration is now done by FlutterActivity.configureFlutterEngine#50841
Conversation
There was a problem hiding this comment.
If you want bonus points, we can actually toggle the AndroidManifest to straight up point the activity to io.flutter.embedding.android.FlutterActivity :) but that probably takes a few more tooling changes
There was a problem hiding this comment.
I brought this up with I think @blasten earlier. He mentioned that it would be relatively difficult to change to tool to just never generate a file like this based on the embedding flag. I think it's okay to generate an empty MainActivity, it provides an easy entry point for anyone who wants to customize it.
There was a problem hiding this comment.
ah that was the piece I was missing, whether the tool makes it hard to toggle. This LG then.
There was a problem hiding this comment.
I brought this up with I think @blasten earlier. He mentioned that it would be relatively difficult to change to tool to just never generate a file like this based on the embedding flag. I think it's okay to generate an empty MainActivity, it provides an easy entry point for anyone who wants to customize it.
…FlutterActivity.configureFlutterEngine See flutter#49365
502362d to
75ad7a8
Compare
See #49365