Commit 2dccdbee authored by Libin Lu's avatar Libin Lu Committed by GitHub

Update App.js

parent 3dfa0a8d
...@@ -63,6 +63,10 @@ class MainPage extends Component { ...@@ -63,6 +63,10 @@ class MainPage extends Component {
console.log("APNS TOKEN (getFCMToken)", token); console.log("APNS TOKEN (getFCMToken)", token);
}); });
} }
// topic example
// FCM.subscribeToTopic('sometopic')
// FCM.unsubscribeFromTopic('sometopic')
} }
showLocalNotification() { showLocalNotification() {
......
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