Пример #1
0
        protected override void OnCreate(Bundle savedInstanceState)
        {
            TabLayoutResource = Resource.Layout.Tabbar;
            ToolbarResource   = Resource.Layout.Toolbar;

            Instance = this;

            base.OnCreate(savedInstanceState);

            global::Xamarin.Forms.Forms.SetFlags("Shell_Experimental", "Visual_Experimental", "CollectionView_Experimental", "FastRenderers_Experimental", "CarouselView_Experimental", "IndicatorView_Experimental");
            Xamarin.Essentials.Platform.Init(this, savedInstanceState);
            FFImageLoading.Forms.Platform.CachedImageRenderer.Init(enableFastRenderer: true);

            global::Xamarin.Forms.Forms.Init(this, savedInstanceState);
            LoadApplication(new App());


            new Instabug.Builder(this, "de0e8acfa86980fd8b252abd14d086fc")
            .SetInvocationEvents(InstabugInvocationEvent.FloatingButton, InstabugInvocationEvent.Shake)
            .Build();
            BugReporting.SetInvocationEvents(InstabugInvocationEvent.Shake, InstabugInvocationEvent.FloatingButton);
        }
Пример #2
0
 void FeedbackButton_Click(object sender, EventArgs e)
 {
     BugReporting.Invoke();
 }
Пример #3
0
 public void Trigger()
 {
     BugReporting.Invoke();
 }