WalletConnect / walletconnect-monorepo

WalletConnect Monorepo
Apache License 2.0
1.26k stars 626 forks source link

React Native Push Notification Not working #4465

Closed aabdullah29 closed 2 months ago

aabdullah29 commented 2 months ago

web3wallet React Native Push Notification Not working

I am facing some issues with push notifications in React Native. I developed a custom wallet and used Web3Wallet to connect with a DApp. I need to receive push notifications from the DApp whenever a session is created and then take action accordingly. Although I implemented the push notification configuration provided in the mobile app, I'm not receiving any notifications. I followed the instructions outlined in this link

Web3Wallet only gets my FCM token, not my Firebase Server Key, I am wondering that how I get a push notification without the Firebase Server Key.

linear[bot] commented 2 months ago

CR-13 React Native Push Notification Not working

aabdullah29 commented 2 months ago

I'm waiting for a response regarding this issue. Can you clarify that I've configured push notifications in React Native for the handling of notifications automatically coming from the DApp's side, or does it require any additional configurations on the DApp's end as well?

chris13524 commented 2 months ago

Hey @aabdullah29 ! Looks like our docs have a gap here. There is another guide you need to follow to setup your FCM API key in WalletConnect Cloud. This does not require any configuration from the dApp. Instructions here: https://docs.walletconnect.com/advanced/push-server

aabdullah29 commented 2 months ago

Thanks for helping me out.

chris13524 commented 2 months ago

Glad to help!