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

fix setBadge method

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