Commit 43f132d7 authored by Libin Lu's avatar Libin Lu

fix setBadge method

parent 25415ab8
...@@ -42,8 +42,8 @@ FCM.cancelAllLocalNotifications = () => { ...@@ -42,8 +42,8 @@ FCM.cancelAllLocalNotifications = () => {
RNFIRMessaging.cancelAllLocalNotifications(); RNFIRMessaging.cancelAllLocalNotifications();
}; };
FCM.setBadgeNumber = () => { FCM.setBadgeNumber = (number) => {
RNFIRMessaging.setBadgeNumber(); RNFIRMessaging.setBadgeNumber(number);
} }
FCM.getBadgeNumber = () => { FCM.getBadgeNumber = () => {
......
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