| | |
| | | }).Start(); |
| | | |
| | | |
| | | try |
| | | { |
| | | #if __ANDROID__ |
| | | Com.Chteam.Agent.BuglyAgentHelper.SetUserId(UserInfo.Current.AccountString); |
| | | #else |
| | | Bugly.Bugly.SetUserIdentifier(UserInfo.Current.AccountString); |
| | | #endif |
| | | } |
| | | catch (Exception ex) |
| | | { |
| | | MainPage.Log("Bugly error"); |
| | | } |
| | | // try |
| | | // { |
| | | //#if __ANDROID__ |
| | | // //Com.Chteam.Agent.BuglyAgentHelper.SetUserId(UserInfo.Current.AccountString); |
| | | //#else |
| | | // //Bugly.Bugly.SetUserIdentifier(UserInfo.Current.AccountString); |
| | | //#endif |
| | | // } |
| | | // catch (Exception ex) |
| | | // { |
| | | // MainPage.Log("Bugly error"); |
| | | // } |
| | | } |
| | | |
| | | /// <summary> |