Commit e3112d88 authored by Libin Lu's avatar Libin Lu Committed by GitHub

Update App.js

parent f2e14a5c
......@@ -35,6 +35,7 @@ class MainPage extends Component {
}
async componentDidMount() {
//FCM.createNotificationChannel is mandatory for Android targeting >=8. Otherwise you won't see any notification
FCM.createNotificationChannel({
id: 'default',
name: 'Default',
......
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