* fix(fcm): add missing clearAllNotifications
* getAPNSToken method added
New version of `cordova-plugin-fcm-with-dependecy-updated` released: v4.0.0
_“The old FCMPlugin.getToken is focused on retrieving the FCM Token. For the IOS, APNS token can now be retrieved by the new method”_ (Show readme)[https://github.com/andrehtissot/cordova-plugin-fcm-with-dependecy-updated#version-400-12102019]
* hasPermission added
[Show readme.md](https://github.com/andrehtissot/cordova-plugin-fcm-with-dependecy-updated#version-320-16092019)
#### Checking for permissions
Useful for IOS. On android, it will always return `true`.
```javascript
FCMPlugin.hasPermission(function(doesIt){
// doesIt === true => yes, push was allowed
// doesIt === false => nope, push will not be available
// doesIt === null => still not answered, recommended checking again later
if(doesIt) {
haveFun();
}
});
```
# Conflicts:
# src/@ionic-native/plugins/fcm/index.ts
Co-authored-by: Alexis Caffa <AlexisCaffa@users.noreply.github.com>