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

Update push.mdx #1720

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/walletkit/react-native/notifications/push.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ For the push notifications to be forwarded to FCM or APNs, the [Push Server](../
To enable a device for push notifications, it's essential to register the device token using `Web3Wallet.registerDeviceToken`. This token can be obtained from either FCM or APNS, depending on the platform used.

To receive push notifications from WalletConnect's Push Server via Firebase Cloud Messaging, you will need to setup Firebase in your project.
You can follow their docummentation - [Firebase documentation](https://rnfirebase.io/messaging/usage#installation).
You can follow their documentation - [Firebase documentation](https://rnfirebase.io/messaging/usage#installation).
Once you have Firebase configured, you can obtain the device token by calling `messaging().getToken()`. This unique token is used to identify each device.

```ts
Expand Down