Esempio n. 1
0
 public static void Uninit(Android.App.Application app)
 {
     if (activityLifecycleManager != null)
     {
         app.UnregisterActivityLifecycleCallbacks(activityLifecycleManager);
         activityLifecycleManager = null;
     }
 }
Esempio n. 2
0
        public static void Init(Android.App.Application app)
        {
            SocialAuthManager.Current.AccountStore.SecureStore = new SecureStore();

            if (activityLifecycleManager == null)
            {
                activityLifecycleManager = new ActivityLifecycleCallbackManager();
                app.RegisterActivityLifecycleCallbacks(activityLifecycleManager);
            }
        }