You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi. When I making a flutter application with unity, I hot a problem.
My Unity project made by other team (I can not control the unity source code). Also, I have to implement some IPC protocol to communicate unity and flutter. this protocol have to return some value which unity need.
I can't share my code because of security policy. instead, I can share some similar code. like this.
/* Unity Code */AndroidJavaClass jc = AndroidJavaClass("com.my.flutter.android.module");stirng result = jc.Call("requestSomeEncodedJson"); // Important line. I have to return the result.
/* Flutter Code */// This function called by unityStringrequestSomeEncodedJson(String param1, int param2) {
String result ="";
/* Implements business logic */returnjsonEncode(result);
}
The text was updated successfully, but these errors were encountered:
@juicycleff
Hi. When I making a flutter application with unity, I hot a problem.
My Unity project made by other team (I can not control the unity source code). Also, I have to implement some IPC protocol to communicate unity and flutter. this protocol have to return some value which unity need.
I can't share my code because of security policy. instead, I can share some similar code. like this.
The text was updated successfully, but these errors were encountered: