evollu / react-native-fcm

react native module for firebase cloud messaging and local notification
MIT License
1.73k stars 681 forks source link

why createNotificationChannel is not in index.d.ts? #1037

Closed BatDroid closed 5 years ago

BatDroid commented 5 years ago

react-native-fcm: 16.1.0 i had a problem in android 8 which didn't receive push notification. it worked when i sent the "channel":"default" from server. i found somewhere that this method is needed in client side:

FCM.createNotificationChannel({
            id: 'default',
            name: 'Default',
            description: 'default',
            priority: 'high'
 });

now its working fine but why is it deleted from the index.d.ts?

evollu commented 5 years ago

just missed it. will add