// // This method is invoked when the application has loaded and is ready to run. In this // method you should instantiate the window, load the UI into it and then make the window // visible. // // You have 17 seconds to return from this method, or iOS will terminate your application. // public override bool FinishedLaunching(UIApplication app, NSDictionary options) { global::Xamarin.Forms.Forms.SetFlags("Shell_Experimental", "Visual_Experimental", "CollectionView_Experimental", "FastRenderers_Experimental"); Forms.SetFlags("CarouselView_Experimental", "IndicatorView_Experimental"); global::Xamarin.Forms.Forms.Init(); Core.Init(); SfMapsRenderer.Init(); SfGradientViewRenderer.Init(); SfBorderRenderer.Init(); SfButtonRenderer.Init(); AnimationViewRenderer.Init(); new SfBusyIndicatorRenderer(); FFImageLoading.Forms.Platform.CachedImageRenderer.Init(); Syncfusion.SfSchedule.XForms.iOS.SfScheduleRenderer.Init(); Syncfusion.XForms.iOS.TabView.SfTabViewRenderer.Init(); SfListViewRenderer.Init(); LoadApplication(new App()); Instabug.StartWithToken("de0e8acfa86980fd8b252abd14d086fc", IBGInvocationEvent.Shake); IBGBugReporting.InvocationEvents = IBGInvocationEvent.FloatingButton; return(base.FinishedLaunching(app, options)); }
private static void InitializeLibs() { try { // For linker only MultiGestureViewRenderer multiGestureViewRenderer = new MultiGestureViewRenderer(); ImageCircleRenderer.Init(); FormsMaterial.Init(); SharpnadoInitializer.Initialize(enableInternalLogger: true); Instabug.StartWithToken(instabugToken, IBGInvocationEvent.Shake | IBGInvocationEvent.TwoFingersSwipeLeft | IBGInvocationEvent.Screenshot); Instabug.ShouldCaptureViewHierarchy = true; Instabug.TintColor = UIColor.FromHSB(257, 81, 84); Instabug.SetLocale(IBGLocale.French); Instabug.SetWelcomeMessageMode(IBGWelcomeMessageMode.WelcomeMessageModeDisabled); // Disable welcome message // Disable the Replies. If disabled, the chats list button is removed from Instabug's prompt, the in-app notifications are disabled, and manually showing the chats list doesn't have an effect. IBGReplies.Enabled = false; // Intercom Intercom.SetApiKey(intercomApiKey, intercomToken); } catch (Exception exception) { Console.WriteLine($"Exception while initializing app: {exception.Message}"); throw; } }
// // This method is invoked when the application has loaded and is ready to run. In this // method you should instantiate the window, load the UI into it and then make the window // visible. // // You have 17 seconds to return from this method, or iOS will terminate your application. // public override bool FinishedLaunching(UIApplication app, NSDictionary options) { Instabug.StartWithToken("86fae965aa72b45f6ce0f173e79c3357", IBGInvocationEvent.Shake); global::Xamarin.Forms.Forms.Init(); RendererInitializer.Init(); LoadApplication(new App()); return(base.FinishedLaunching(app, options)); }
// // This method is invoked when the application has loaded and is ready to run. In this // method you should instantiate the window, load the UI into it and then make the window // visible. // // You have 17 seconds to return from this method, or iOS will terminate your application. // public override bool FinishedLaunching(UIApplication app, NSDictionary options) { global::Xamarin.Forms.Forms.Init(); LoadApplication(new App()); if (Keys.IsInstabugEnabled) { Instabug.StartWithToken(Keys.InstabugToken, IBGInvocationEvent.FloatingButton | IBGInvocationEvent.Shake | IBGInvocationEvent.Screenshot); } return(base.FinishedLaunching(app, options)); }
public override void OnCreate() { base.OnCreate(); //Intercom.Initialize(this, intercomApiKey, intercomToken); new Instabug .Builder(this, CustomVariables.INSTABUG_TOKEN) .SetInvocationEvents(InstabugInvocationEvent.Shake, InstabugInvocationEvent.TwoFingerSwipeLeft, InstabugInvocationEvent.Screenshot) .Build(); Instabug.SetViewHierarchyState(Feature.State.Enabled); InstabugCore.SetRepliesState(Feature.State.Disabled); Instabug.PrimaryColor = Color.ParseColor("#5A28D6"); Instabug.SetLocale(Locale.French); Instabug.SetWelcomeMessageState(WelcomeMessage.State.Disabled); }
/// <summary> /// Called when [create]. /// </summary> /// <param name="savedInstanceState">State of the saved instance.</param> protected override void OnCreate(Bundle savedInstanceState) { FormsAppCompatActivity.TabLayoutResource = Resource.Layout.Tabbar; FormsAppCompatActivity.ToolbarResource = Resource.Layout.Toolbar; this.Device = new AndroidDevice(); new Instabug.Builder(this.Application, "3ac80e1f493e5c7daf51d3b79e117104") .SetInvocationEvents(InstabugInvocationEvent.FloatingButton, InstabugInvocationEvent.Shake) .Build(); Instabug.SetWelcomeMessageState(WelcomeMessage.State.Disabled); base.OnCreate(savedInstanceState); Forms.SetFlags("Shell_Experimental", "Visual_Experimental", "CollectionView_Experimental", "FastRenderers_Experimental"); Platform.Init(this, savedInstanceState); Forms.Init(this, savedInstanceState); this.LoadApplication(new App(this.Device)); }
public void Trigger() { Instabug.Show(); }
public void IdentifyUser(string email, string name) { Instabug.IdentifyUser(email, name); }
public void SetUserAttribute(string attributeName, string attributeValue) { Instabug.SetUserAttribute(attributeName, attributeValue); }
public void Logout() { Instabug.LogoutUser(); }
public void Logout() { Instabug.LogOut(); }
public void ClearInstabugUserData() { Instabug.LogoutUser(); }
public void SetInstabugUserDetails(String userName, String emailAddress) { Instabug.IdentifyUser(userName, emailAddress); }