Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make FCM notification payload configurable from conversation logic. #36

Open
karntrehan opened this issue Mar 28, 2023 · 0 comments
Open

Comments

@karntrehan
Copy link

FCM notification have a limitation on Android. When the app is in background FCM reads the notification object and handles redirections on its own. This prevents us from deeplinking into a particular screen with params and add telemetry to delivery of message. We can fix this by sending only data object in payload and prevent notification object completely.

To ensure minimal impact this can be a config driven change.

Ex:
In conversation logic add parameter fcm_payload_objects=[notification, data]
From NL we shall configure it as fcm_payload_objects=[data] which would result in a null notification object.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant