Issue
I am trying to make a single package for dealing with permissions and data flow for this I have used different plugins and packages as a dependency on this package. But some plugins throw errors of .
Does anyone know the reason behind it? It’s working fine before flutter version 3.0. But not working now.
Solution
The issue is with flutter activity binding.
I solved it by doing these steps.
- Go to your_app/android/app/src/main/AndroidManifest.xml
- Search for activity tag.
- Change android:name=".MainActivity" to android:name="io.flutter.embedding.android.FlutterActivity"
This will solve the issue.
Answered By – Shivam Modi
This Answer collected from stackoverflow, is licensed under cc by-sa 2.5 , cc by-sa 3.0 and cc by-sa 4.0