public static void Uninit(Android.App.Application app) { if (activityLifecycleManager != null) { app.UnregisterActivityLifecycleCallbacks(activityLifecycleManager); activityLifecycleManager = null; } }
public static void Init(Android.App.Application app) { SocialAuthManager.Current.AccountStore.SecureStore = new SecureStore(); if (activityLifecycleManager == null) { activityLifecycleManager = new ActivityLifecycleCallbackManager(); app.RegisterActivityLifecycleCallbacks(activityLifecycleManager); } }