function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Payal Lodhi 16Payal Lodhi 16 

push notification with react native app

I am trying to send a mobile push notification to my android device based on apex trigger, and I didn't see notification banner but in console I can see onNotification event fired and I can see my payload info. I have followed In react native app react-native-push-notification library, all changes are done as per the document mention here
updated MobilePushServiceDevice whenever user open the with token and service type
On FCM created the project and follow this document
create connected enable push notification added server key

   Messaging.PushNotification msg = new Messaging.PushNotification();
                Map<String, Object> androidPayload = new Map<String, Object>();
                Set<String> userSet = new Set<String>();
                androidPayload.put('title', idVSnickname.get(cbuId)+' assigned you a task');
                androidPayload.put('message', subject);
                androidPayload.put('parentId', str[4].trim());
                androidPayload.put('id', str[0].trim());
                androidPayload.put('objectName', 'Task');
                androidPayload.put('record', str[5]);
                msg.send('Mimit', userSet);

Milan Patel 16Milan Patel 16

Sad Quotes In Hindi,  (

Very Heart Touching Sad Quotes in Hindi,  (

Love Sad Quotes In Hindi,  (

Sad Quotes in Hindi About Life,  (

Best Sad Quotes in Hindi (