Skip to content

Commit d8d7387

Browse files
committed
chore: remove the old caution block about client.addDevice
1 parent 7254bb6 commit d8d7387

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

docusaurus/reactnative_versioned_docs/version-4.x.x/guides/push_notifications_v2.mdx

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -112,13 +112,6 @@ client.updateAppSettings({
112112
113113
Once you configure the Firebase server key and set it up on the Stream dashboard, a device that is supposed to receive push notifications needs to be registered at the Stream backend. This is usually done by listening for the Firebase device token.
114114
115-
:::caution
116-
117-
Please note that, `client.addDevice` call requires a user token to be set on the client.
118-
So `client.addDevice` call should be made after `client.connectUser` in code.
119-
120-
:::
121-
122115
```js
123116
// Request Push Notification permission from device.
124117
const requestPermission = async () => {

0 commit comments

Comments
 (0)