I would like to set up inter-process communication between the MainActivity and Java Plugin of my Android project.
The plugin is the only means of communication with my Unity app b/c the UnityPlayerActivity has to be started as a separate process to avoid closure of my entire Android app.
Logcat shows the plugin still receives responses from the unity_app but I am unable to access this information from MainActivity — which is where IPC comes in 😀
... /com.mypackage.example:unity_app I/In MyPlugin.receiveResult: Result: Score: 45
Is this feasible with a Service? Or is there a leaner method?