wix / react-native-notifications

React Native Notifications
MIT License
3.25k stars 764 forks source link

How do I even use this package? #1017

Open JoaoHamerski opened 11 months ago

JoaoHamerski commented 11 months ago

The documentation is not clear to me.

It only shows this code:

Notifications.postLocalNotification({
    title: "Local notification",
    body: "This notification was generated by the app!",
    extra: "data"
});

Ok, how do I handle the user request permission? How do I define the notification channels? Or how do I inform the channel? Should I create it myself or this package does these things to me? At least inform these kind of stuff in the documentation.