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
I send notifications to iOS and Android, always including data (in this specific case: path and trip_id). When I call getDeliveredNotifications, I receive these two pieces of info in the iOS response, but not in the Android response.
Please take a look at this guide on how to debug an Android app.
Edit: You need to check that notifications.extras has the values you are looking for. If notifications.extras is empty, then it'sn ot supported on Android via this method.
Plugin(s)
Version
6.2.0
Platform(s)
Current behavior
I send notifications to iOS and Android, always including data (in this specific case: path and trip_id). When I call getDeliveredNotifications, I receive these two pieces of info in the iOS response, but not in the Android response.
iOS:
Android:
Expected behavior
Data should be in the Android response too.
Reproduction
https://github.com/capawesome-team/.capacitor-app
Steps to reproduce
Sorry, it's complicated to reproduce a complete test environment with a notification send.
Other information
No response
Capacitor doctor
💊 Capacitor Doctor 💊
Latest Dependencies:
@capacitor/cli: 6.2.0
@capacitor/core: 6.2.0
@capacitor/android: 6.2.0
@capacitor/ios: 6.2.0
Installed Dependencies:
@capacitor/cli: 6.2.0
@capacitor/core: 6.2.0
@capacitor/android: 6.2.0
@capacitor/ios: 6.2.0
[success] iOS looking great! 👌
[success] Android looking great! 👌
Before submitting
The text was updated successfully, but these errors were encountered: