You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I am using @capacitor-community/intercom (version 7.0.3) and have encountered
an issue where push notifications are not working on Android.
I can ensure the basic configurations are correctly configured
in below setups
google-services.json is correctly placed and configured.
Set up the Push Server API key with Firebase Cloud Messaging for APNs authentication key correctly.
To Reproduce
Steps to reproduce the behavior:
Below is the way I used to send the push token to the intercom
Intercom.registerIdentifiedUser({
userId: userEmail,
email: userEmail,
}).then(async () => {
let permStatus = await PushNotifications.checkPermissions();
if (permStatus.receive === 'prompt') {
permStatus = await PushNotifications.requestPermissions();
}
if (permStatus.receive !== 'granted') {
throw new Error('User denied permissions!');
}
await PushNotifications.register();
PushNotifications.addListener('registration', (token) => {
if (token) {
Intercom.sendPushTokenToIntercom(token);
}
});
});
Expected behavior
Push notifications should work on Android after registering the token with Intercom.
Environment (please complete the following information):
Describe the bug
I am using @capacitor-community/intercom (version 7.0.3) and have encountered
an issue where push notifications are not working on Android.
I can ensure the basic configurations are correctly configured
in below setups
To Reproduce
Steps to reproduce the behavior:
Below is the way I used to send the push token to the intercom
Expected behavior
Push notifications should work on Android after registering the token with Intercom.
Environment (please complete the following information):
Additional context
Could you please assist in troubleshooting this issue?
The text was updated successfully, but these errors were encountered: