handle remote notification payloads #737

Merged
akinwale merged 3 commits from notification-settings into master 2019-10-30 10:34:58 +01:00
akinwale commented 2019-10-24 13:44:25 +02:00 (Migrated from github.com)
No description provided.
eukreign (Migrated from github.com) reviewed 2019-10-24 13:44:25 +02:00
tiger5226 (Migrated from github.com) reviewed 2019-10-28 01:23:31 +01:00
tiger5226 (Migrated from github.com) left a comment

I took a look. Do you have a format that you are going to be expecting? I see type and url but there is no defined structure for this. Its app based outside of the standard notification.

I took a look. Do you have a format that you are going to be expecting? I see type and url but there is no defined structure for this. Its app based outside of the standard notification.
akinwale commented 2019-10-28 16:54:06 +01:00 (Migrated from github.com)

@tiger5226 You can send data payloads along with the notification title and message. The payload is essentially a map of string keys/values.

https://stackoverflow.com/a/39179456/61385 explains the different possible message types.

@tiger5226 You can send data payloads along with the notification title and message. The payload is essentially a map of string keys/values. https://stackoverflow.com/a/39179456/61385 explains the different possible message types.
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: LBRYCommunity/lbry-android#737
No description provided.