Push Notifications V2 #2343
-
I’m trying to implement push notifications by following the guide in the docs. I’ve encountered some issues/questions whilst doing. In the section Upload Firebase Credentials under the dashboard section, this seems to be outdated? You can now access it via dashboard > Chat Messaging > Push Notifications instead of the description and images in the guide. In the section Registering a device with Stream , it is unclear to me what the difference is between Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Prior to await client.connectUser();
await client.addDevice(); But later we decided to make this more efficient, and merge these two api calls: client.setLocalDevice(); // there is no api call here, we just store the device info in memory
await client.connectUser(); // pass the device info to backend |
Beta Was this translation helpful? Give feedback.
Prior to
client.setLocalDevice
, you would need to do two separate api calls:But later we decided to make this more efficient, and merge these two api calls: