public static void Log(ConsoleLog _log) { #if UNITY_IOS debugProLogMessage(_log.Message, _log.Type, _log.StackTrace); #elif UNITY_ANDROID PluginNativeBinding.CallStatic(NativeInfo.Methods.LOG, _log.Message.ToBase64(), kLogTypeMap[_log.Type], _log.StackTrace.ToBase64()); #endif }
public static string GetBundleIdentifier() { #if UNITY_EDITOR return(null); #elif UNITY_ANDROID return(PluginNativeBinding.CallStatic <string>(NativeInfo.Methods.GET_BUILD_IDENTIFIER)); #elif UNITY_IOS return(utilityBundleIdentifier()); #else return(null); #endif }
public static string GetBundleVersion() { #if UNITY_EDITOR return(null); #elif UNITY_ANDROID return(PluginNativeBinding.CallStatic <string>(NativeInfo.Methods.GET_BUILD_VERSION)); #elif UNITY_IOS return(utilityBundleVersion()); #else return(null); #endif }