Customize remote notification received using react native firebase/ - react-native

I am currently trying to customize the notification displayed in the react native Android application.
But I am bit confused between the remote notification and local notification. I know I can get the click handle from remote notification in onNotificationOpened. But I want to customize it the way it appears in the notification tray.

Related

displaying notifications when the app is killed - React Native

I have a problem with diplaying notification while running socket connection in the background service i'm using react-native-backgound-action.
Problems i have right now:
when notification is sent from the backend nothing is been shown i'm using "stompJS" as socket connection and notifee as notification package.
react native background actions use forground service that shows a permanent notification in android.
i have tried to run notification in background

Push notification audio not playing when app is in background - OneSignal React Native

I have an application built with react native using onesignal for push notifications. On specific devices (panasonic fz-a3) the push notification is received but no audio is playing when the application is running in the background.
If the application is closed the push is received with audio notification.
I have verified that the android channel is setup properly and the audio is playing on other android devices (samsung) but cant figure out what is missing on these specific panasonic devices (fz-a3)
any help or suggestion is appreciated

Can we get un-read notifications inside app from onesignal using react-native?

I have integrated OneSignal in ReactNative, now i am able to send and receive notifications. But after once notification is received into the mobile, then and there itself from the notification tray if user clears the notification without clicking it. Do we have any option to get all un-read notifications either with player_id and app_id
Looks like we can read the messages once we click on the notification which re-directs to the application.
I expect onesignal notifications should to able to retrieve the list of un-read notification using react-native sdk.
Can Someone help me with your ideas
Thanks.

How to Set Push notification using our own App server in react native?

I have created app that sends push notification when honework upload to the server. So please can somebody tell me how to send push notification in react native for both androud and ios?
You can use push notification packages like Firebase or OneSignal. they have defined API in their documentation and you can send push notification from your server to both android and ios devices easily.

Withdraw/delete push notification in React Native

Our React Native app needs to send out push notification to a number of people (iOS and Android, app can be open, backgrounded, or closed), and when just one of these people performs a specific in-app action, we need our server to erase these push notifications from everyone's phones (again from either open, backgrounded, or closed). Is this possible to do for both iOS and Android?
You can send background notification (data notification if firebase) and implement frontend listeners to cancel all notifications received so far.