Beispiel #1
0
        protected override void OnNewIntent(Intent intent)
        {
            base.OnNewIntent(intent);

            // Plugin NFC: Tag Discovery Interception
            CrossNFC.OnNewIntent(intent);
        }
Beispiel #2
0
        protected override void OnNewIntent(Intent intent)
        {
            // base.OnNewIntent(intent);
            // CreateNotificationFromIntent(intent);

            // Plugin NFC: Tag Discovery Interception
            CrossNFC.OnNewIntent(intent);
        }
        protected override void OnCreate(Bundle savedInstanceState)
        {
            System.Net.ServicePointManager.ServerCertificateValidationCallback +=
                (sender, cert, chain, sslPolicyErrors) =>
            {
                System.Diagnostics.Debug.WriteLine(cert.GetSerialNumberString());
                System.Diagnostics.Debug.WriteLine(cert.Issuer);
                System.Diagnostics.Debug.WriteLine(cert.Subject);
                return(true);
            };

            FFImageLoading.Forms.Platform.CachedImageRenderer.Init(true);
            UserDialogs.Init(this);
            Rg.Plugins.Popup.Popup.Init(this, savedInstanceState);
            Xamarin.Essentials.Platform.Init(this, savedInstanceState);

            CrossNFC.Init(this);
            CrossNFC.OnNewIntent(Intent);

            CrossAppShortcuts.Current.Init();
            CrossCurrentActivity.Current.Init(this, savedInstanceState);
            CrossFingerprint.SetCurrentActivityResolver(() => CrossCurrentActivity.Current.Activity);
            Plugin.InputKit.Platforms.Droid.Config.Init(this, savedInstanceState);

            FirebasePushNotificationManager.ProcessIntent(this, Intent);
            OxyPlot.Xamarin.Forms.Platform.Android.PlotViewRenderer.Init();
            ZXing.Net.Mobile.Forms.Android.Platform.Init();
            XamEffects.Droid.Effects.Init();
            Xamarin.FormsMaps.Init(this, savedInstanceState);
            LocalNotificationsImplementation.NotificationIconId = Resource.Mipmap.ic_launcher_round;
            TabLayoutResource = Resource.Layout.Tabbar;
            ToolbarResource   = Resource.Layout.Toolbar;
            base.OnCreate(savedInstanceState);

            global::Xamarin.Forms.Forms.Init(this, savedInstanceState);
            global::Xamarin.Forms.FormsMaterial.Init(this, savedInstanceState);

            LoadApplication(new App());
            FirebaseApp.InitializeApp(this);
        }
Beispiel #4
0
 protected override void OnNewIntent(Intent intent)
 {
     base.OnNewIntent(intent);
     CrossNFC.OnNewIntent(intent);
 }
 protected override void OnNewIntent(Intent intent)
 {
     base.OnNewIntent(intent);
     FirebasePushNotificationManager.ProcessIntent(this, intent);
     CrossNFC.OnNewIntent(intent);
 }