I'm looking for a solution where I can read all the android notification on the phone of different apps only after read notifications permission is given by the user with react-native.
I've achieved this easily using the native android method
public void onNotificationPosted(StatusBarNotification sbn) {
// Do whatever I want once the new notification is posted
}
What is the appropriate method in react-native to achieve the same behavior or how can I use the same native android method in the react-native app?
Thank you for any kind of help in advance. I really appreciate it.