0

how can I create such a fixed notification bar on the notification screen of the device with react native?

enter image description here

1 Answers1

0

To create notifications with action buttons in React Native, you'll need to use a combination of the react-native-push-notification library and the react-native-notifications library. Here's a step-by-step guide to achieving this:

Step 1: Install the required packages

npm install react-native-push-notification react-native-notifications

Step 2: Link the native modules (for React Native < 0.60)

react-native link react-native-push-notification
react-native link react-native-notifications

Step 3: Configure the notification libraries

Follow the setup instructions for both libraries according to the documentation:

react-native-push-notification

react-native-notifications

enter link description here

Exempls

wix library

Another stack overflow