private void OnApplicationDidBecomeActive(NSNotification notif) { Linker.CheckStripped(); if (sendMetrics) { TrackUser(); } notifier.Flush(); // We're not interested in any more became active events if (notifApplicationDidBecomeActive != null) { NSNotificationCenter.DefaultCenter.RemoveObserver(notifApplicationDidBecomeActive); notifApplicationDidBecomeActive = null; } }
public void OnActivityResumed(Context ctx) { activityTracker.OnResume(ctx); Context = activityTracker.TopActivity; if (!isInitialised) { Linker.CheckStripped(); if (sendMetrics) { TrackUser(); } notifier.Flush(); isInitialised = true; } }