What is the difference between Flutter Android Embedding V1 and V2?

Posted by Jessica Taylor | Updated on

What is the difference between Flutter Android Embedding V1 and V2?

Those classes better support real world scenarios where the FlutterActivity isn’t the first and only Android Activity in an application.

The embedded v2 provides better support for things like background execution (firebase messaging for instance. Checkout the changeLog).

If you are developing a plugin, you should consider starting with embedded v2. Existing packages are already migrated or migrating.


If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.

Related Questions & Answers