I'm writing a plugin for Flutter on Android that makes use of native code. To my understanding the only way to see the changes in effect is to completely restart the app. Is there another way to do this? Something like Flutters Hot Restart? It takes about a minute to start the app, every time.
From the hot reload page in the docs:
Hot reload works by injecting updated source code files into the running Dart Virtual Machine (VM)
Hot reload/restart leverages the dart VM to hot swap code. In other words, there's no hot reload/restart for native code since it doesn't run on the dart VM.
Making changes to native code is akin to developing on the native platform directly. If the platform is slow, there's no magic flutter can do to speed it up.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With