예제 #1
0
 // Token: 0x0601562B RID: 87595 RVA: 0x0056CD30 File Offset: 0x0056AF30
 public static void EnableExceptionHandler()
 {
     if (BuglyAgent.IsInitialized)
     {
         BuglyAgent.DebugLog(null, "BuglyAgent has already been initialized.", new object[0]);
         return;
     }
     BuglyAgent.DebugLog(null, "Only enable the exception handler, please make sure you has initialized the sdk in the native code in associated Android or iOS project.", new object[0]);
     BuglyAgent._RegisterExceptionHandler();
 }
예제 #2
0
 // Token: 0x0601562A RID: 87594 RVA: 0x0056CCD8 File Offset: 0x0056AED8
 public static void InitWithAppId(string appId)
 {
     if (BuglyAgent.IsInitialized)
     {
         BuglyAgent.DebugLog(null, "BuglyAgent has already been initialized.", new object[0]);
         return;
     }
     if (string.IsNullOrEmpty(appId))
     {
         return;
     }
     BuglyAgent.InitBuglyAgent(appId);
     BuglyAgent.DebugLog(null, "Initialized with app id: {0}", new object[]
     {
         appId
     });
     BuglyAgent._RegisterExceptionHandler();
 }