Description:We are facing an issue where push notifications are not working on Android in our Ionic app. Below are the details of our setup and steps taken:
App Setup:We are using Ionic version 7.2.0.
The Intercom integration is done using the @capacitor-community/intercom plugin.
Intercom and Capacitor Registration:
We have registered Intercom with the following keys:
androidApiKey: android_sdk-xxxxx
androidAppId: lnp0hala
iosApiKey: ios_sdk-xxxxx
iosAppId: lnp0hala
Push Notification Setup: An APNS push key was created and successfully uploaded to the firebase console APNs Authentication Key section
Issue:
Despite the above setup, push notifications are not working on Android devices.Could you please help us troubleshoot and resolve this issue? Let us know if you need additional details or logs to assist in the investigation.Thank you
Hey
To troubleshoot the issue with push notifications not working on Android devices in your Ionic app, please check the following:
- Check that push notifications are not disabled for your app on the Android devices you are testing with. You can do this by navigating to Settings > Sound & Notification > App notifications on the device. Note that the exact path may vary depending on the Android version.
- Confirm that you have specified the correct Push Server API key for Android. This key is crucial for the push notification service to work properly.
- Ensure that your google-services.json file is placed in the correct directory within your app's project structure. This file is required for Firebase Cloud Messaging (FCM) to function.
If after checking these items the issue persists, it could be related to other factors such as the user's phone settings, the app being open or foregrounded, or the user not being logged into a Google Account on Android devices.
If all of the above checks out, feel free to reach out to our Support Team via the Messenger so they can dig a bit deeper into this issue for you.
Hope this helps!
Hi
- We checked the push notifications are not disabled for our app
- We configured correctly Push Server API key for Android
- google-services.json successfully added
Reply
Join the Intercom Community 🎉
Already have an account? Login
Login to the community
No account yet? Create an account
Intercom Customers and Employees
Log in with SSOEnter your E-mail address. We'll send you an e-mail with instructions to reset your password.