I use the hello_services gradle construct to create a service in Java, but I would really like to use the C / C ++ code in my application, originally on Android. I tried integrating some C code without success (I ended up messing up the flutter assembly).
I am looking for an example or information on how to add this. Ideally, I would call Dart / Flutter flutterView.sendToFlutter () from the C code, but JNI works fine.
I suppose I can add a gradle subproject, any tips / pointers appreciated.
source share