Commit ef7b7bd7 authored by delvedor's avatar delvedor

Updated Q&A

parent f30d940e
......@@ -554,6 +554,12 @@ Issues and pull requests are welcome. Let's make this thing better!
#### Credits
Local notification implementation is inspired by react-native-push-notification by zo0r
#### I get the notifications in the logs, but the native prompt does not show up
Did you remember to ask the user permissions? ;)
```js
await FCM.requestPermissions({ badge: false, sound: true, alert: true })
```
## Sending remote notification
How to send a push notification from your server? You should `POST` to this endpoint:
......@@ -614,4 +620,3 @@ fetch('https://fcm.googleapis.com/fcm/send', {
})
})
```
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment