Beispiel #1
0
        void Current_OnTokenRefresh(object source, FirebasePushNotificationTokenEventArgs e)
        {
            System.Diagnostics.Debug.WriteLine($"TOKEN: {CrossFirebasePushNotification.Current.Token}");

            CrossFirebasePushNotification.Current.Subscribe("general");

            System.Diagnostics.Debug.WriteLine($"TOKEN REC: {e.Token}");
        }
Beispiel #2
0
 private void Current_OnTokenRefresh(object source, FirebasePushNotificationTokenEventArgs e)
 {
     SetIsSynced(false);
 }
Beispiel #3
0
 private void Current_OnTokenRefresh(object source, FirebasePushNotificationTokenEventArgs e)
 {
     System.Diagnostics.Debug.WriteLine($"Token: {e.Token}");
 }
Beispiel #4
0
        private void FirebasePushNotification_OnTokenRefresh(object source, FirebasePushNotificationTokenEventArgs e)
        {
            var args = new TokenRefreshEventArgs(e.Token);

            OnRefreshTokenEvent(args);
        }