Commit 97475b11 authored by renato's avatar renato

Added comment on FCM.(get/set)BadgeNumber not being available on Android.

parent 21fa7dd0
...@@ -289,8 +289,8 @@ class App extends Component { ...@@ -289,8 +289,8 @@ class App extends Component {
FCM.getScheduledLocalNotifications().then(notif=>console.log(notif)); FCM.getScheduledLocalNotifications().then(notif=>console.log(notif));
FCM.cancelLocalNotification("UNIQ_ID_STRING"); FCM.cancelLocalNotification("UNIQ_ID_STRING");
FCM.cancelAllLocalNotifications(); FCM.cancelAllLocalNotifications();
FCM.setBadgeNumber(); FCM.setBadgeNumber(); // iOS only and there's no way to set it in Android, yet.
FCM.getBadgeNumber().then(number=>console.log(number)); FCM.getBadgeNumber().then(number=>console.log(number)); // iOS only and there's no way to get it in Android, yet.
} }
} }
``` ```
......
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