Skip to content

Sending string values vs. objects #102

@gotmikhail

Description

@gotmikhail

Operating System version: CentOS
Firebase SDK version: 5.4.1
Firebase Product: Cloud Messaging

if (!validator.isString(value[subKey])) {

Is there any particular reason why we're restricting the values of the key:value pairs in data to just strings?

If calling https://fcm.googleapis.com/fcm/send directly, you can include objects within data.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions