package com.ee.internal;

import android.app.Activity;

import com.ee.IMessageBridge;
import com.ee.PluginManager;

public class UnityPluginManager {
    public static boolean initializePlugins(String version) {
        return PluginManager.getInstance().initializePlugins(version, UnityMessageBridge::callCpp);
    }
    
    public static Activity getActivity() {
        return PluginManager.getInstance().getActivity();
    }
    
    public static void setActivity(Activity activity) {
        PluginManager.getInstance().setActivity(activity);
    }
    
    public static boolean addPlugin(String name) {
        return PluginManager.getInstance().addPlugin(name);
    }
    
    public static boolean removePlugin(String name) {
        return PluginManager.getInstance().removePlugin(name);
    }
}
@@ -109,16 +109,37 @@
 nager;%0A%0A
+import kotlin.Unit;%0A%0A
 public c
@@ -182,23 +182,20 @@
  static 
-boolean
+void
  initial
@@ -223,39 +223,32 @@
 sion) %7B%0A        
-return 
 PluginManager.ge
@@ -285,16 +285,48 @@
 version,
+ (tag, message) -%3E %7B%0A           
  UnityMe
@@ -340,17 +340,85 @@
 idge
-::
+.
 callCpp
+(tag, message);          %0A            return Unit.INSTANCE;%0A        %7D
 );%0A 
@@ -683,23 +683,20 @@
  static 
-boolean
+void
  addPlug
@@ -713,39 +713,32 @@
 name) %7B%0A        
-return 
 PluginManager.ge
@@ -799,15 +799,12 @@
 tic 
-boolean
+void
  rem
@@ -828,39 +828,32 @@
 name) %7B%0A        
-return 
 PluginManager.ge

Fix build android (unity).