Home > Net >  How to launch Flutter App from MainActivity.java
How to launch Flutter App from MainActivity.java

Time:02-10

I have created app. I want to run app when device is restart\turned on. So I implemented the functionality in native code. Now the native code is calling the MainActivity class when device is restarted. Now I want to make a function in MainActivity which will launch my app. Something Like I call main() method of main.dart file from MainActivity.java.

If anybody know then kindly answer this question.

CodePudding user response:

  •  Tags:  
  • Related