I am using firebase for push notifications and developing a mobile app using ionic/capacitor. I register the push notifications and get back a token like this...
PushNotifications.requestPermission().then( result => {
if (result.granted) {
PushNotifications.register();
}
});
PushNotifications.addListener('registration',
(token: PushNotificationToken) => {
alert('Push registration success, token: ' + token.value);
console.log(token.value);
}
);
In the firebase console I can successfully send and receive notifications when targeting my app in the user segment but when I try to target a single device by copying and pasting in the token using send test message I do not receive the push notification. Note: this works fine for me on Android.
Token looks like this... BAAEF129E8F596F1305D0FEA2F50E21B2768FEFCA83CF19602CA0183077E441D