react-native-callkeep icon indicating copy to clipboard operation
react-native-callkeep copied to clipboard

Not able to get notification on IOS of my React-native project below is my payload for notification

Open vikassemwal1994 opened this issue 3 years ago • 1 comments

Note: My case is Data only message type of notification as mentioned in below link "Message Handlers" section https://rnfirebase.io/messaging/usage

My Data payload :- { "sentTime": 1634743772379, "ttl": 2419200, "data": { "title": "Hello", "sound": "default", "alert": "Test message", "_mt": "1", "_h": "o0t3qhn9JrxUvN7hgWRTMgAAAAAA", "_r": "63ef8bbc-a35c-4db4-ba25-69d6f5bd601c", "_sid": "SFMC", "_m": "OToxMTQ6MA" }, "messageId": "0:1634743772403004%091374abf9fd7ecd", "from": "288532496498" }

I am getting the notification by setting content-available to true in above payload

Please help me with this how to get notification in IOS without adding this tag because it cant be added from panel we are using for sending notifications

vikassemwal1994 avatar Nov 15 '21 10:11 vikassemwal1994

You need to integrate IOS Voip Notifications for IOS, firebase notification will not work in IOS check these on RN side https://github.com/react-native-webrtc/react-native-voip-push-notification on sever side https://www.npmjs.com/package/apn

AliSaeed090 avatar Jan 04 '22 21:01 AliSaeed090