private async void InitAndroidPushNotifier() { Common.AndroidPushNotifier = new AndroidPushNotifier(await MSAAuthenticator.GetUserUniqueIdAsync()); Common.AndroidPushNotifier.Devices.CollectionChanged += DevicesCollectionChanged; await Common.AndroidPushNotifier.DiscoverAndroidDevices(ServiceFunctions.GetDeviceUniqueId()); }
private async void RefreshUserTrialStatus() { if (MSAAuthenticator.HasUserUniqueId()) { var userId = await MSAAuthenticator.GetUserUniqueIdAsync(); await TrialHelper.RefreshUserTrialStatusAsync(userId); } }