From 818f9659976f8011d5d13adb75cece1792f66fad Mon Sep 17 00:00:00 2001 From: Anders Back Date: Tue, 20 Dec 2016 15:17:47 +0100 Subject: [PATCH] updated to FCM.setBadgeNumber(1) for more clarity (#228) --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index b31ece6..1774da4 100644 --- a/README.md +++ b/README.md @@ -331,7 +331,7 @@ class App extends Component { FCM.cancelAllLocalNotifications() FCM.cancelLocalNotification("UNIQ_ID_STRING") - FCM.setBadgeNumber(); // iOS only and there's no way to set it in Android, yet. + FCM.setBadgeNumber(1); // iOS only and there's no way to set it in Android, yet. FCM.getBadgeNumber().then(number=>console.log(number)); // iOS only and there's no way to get it in Android, yet. FCM.send('984XXXXXXXXX', { my_custom_data_1: 'my_custom_field_value_1', -- 2.26.2