'Flutter, How to force the android main activity to run
Since the method channel didn't work well, I just inserted my code logic inside the on create method.
But the problem is that in 8 out of 10, (Why is it? is it cached or something?) this Android on create method is not executed properly. When I executed the Flutter main method, I knew that it was running the MainActivity.kt. Wasn't it? If not, how do you force to run it?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
