[Bug]: Not receiving push notifications when used with FirbaseMessagingService (Android)
Lucaszw opened this issue · comments
What happened?
Push notifications work fine for Android when only using onesignal-cordova-plugin (on the latest version of Capacitor) for notifications.
However... it stops working as soon as we implement FirebaseMessagingService, implemented according to the steps layed out for for Intercoms' Push Notifications.
![Screenshot 2023-11-29 at 8 07 18 PM](https://private-user-images.githubusercontent.com/2607311/286700475-9421426e-de82-4b21-b0e1-d49343da4360.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MDU3NDQ4MjksIm5iZiI6MTcwNTc0NDUyOSwicGF0aCI6Ii8yNjA3MzExLzI4NjcwMDQ3NS05NDIxNDI2ZS1kZTgyLTRiMjEtYjBlMS1kNDkzNDNkYTQzNjAucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDEyMCUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDAxMjBUMDk1NTI5WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9YjgzNzVkYTcyYTE1YWViY2E5ZjMxYzcxYTA2MjM1MDEwOGY4MTczZDdmMmRlNzNiYjk3OTFkYzRkNzlhOWZmOCZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.c15T39QuLuFSg1ZPKHNx9lqnl2_nnGcytxy2IuuDPLQ)
Steps to reproduce?
1. Install onesigna-cordova-plugin on latest version of Capacitor (v5) on Android
2. Push notifications work
3. Setup Intercom Push via (https://developers.intercom.com/installing-intercom/android/fcm-push-notifications/)
4. Intercom Push notifications work, but no longer OneSignals.
Note, they constantly show as Permission Not Granted; however we have confirmed with the prompt.
What did you expect to happen?
Be able to use OneSignal and Intercom for Push Notifications at the same time
OneSignal Cordova SDK version
5.0.3
Which platform(s) are affected?
- iOS
- Android
Relevant log output
No response
Code of Conduct
- I agree to follow this project's Code of Conduct