void StartPlugin() { #if (UNITY_IPHONE && !UNITY_EDITOR) string urlString = GetBaseURL(); string authTypeString = GetAuthenticatorTypeString(); HockeyApp_StartHockeyManager(appID, urlString, authTypeString, secret, updateAlert, userMetrics, autoUploadCrashes); instance = this; #endif }
public void TrackEvent() { HockeyAppIOS.TrackEvent("Test Unity"); HockeyAppIOS.TrackEvent("Test Unity with properties and measurements", new Dictionary <string, string> { { "Prop1", "Val1" }, { "Prop2", "Val2" } }, new Dictionary <string, double> { { "M1", 1.0 }, { "M2", 2.0 } }); }
static readonly bool updateManager = false; // If true, will show a popup if there is a new version #endif void Start() { #if UNITY_IPHONE HockeyAppIOS.Init(appID, serverURL, authenticationType, secret, updateManager, autoUpload); GameObject hockeyAppManager = new GameObject("HockeyAppUnityIOS"); HockeyAppIOS hockeyAppIOS = hockeyAppManager.AddComponent <HockeyAppIOS>(); if (exceptionLogging) { hockeyAppIOS.InitExceptionLogging(appID, serverURL); } #endif }
public void ShowFeedbackForm() { Debug.Log("ShowFeedbackForm"); HockeyAppIOS.ShowFeedbackForm(); }
public void CheckForUpdate() { Debug.Log("CheckForUpdate"); HockeyAppIOS.CheckForUpdate(); }
public void CheckForUpdate() { HockeyAppIOS.CheckForUpdate(); }
public void ShowFeedbackForm() { HockeyAppIOS.ShowFeedbackForm(); }