Commit Graph

23 Commits

Author SHA1 Message Date
André Tissot ef17dc5d07 feat(fcm): add requestPushPermissionIOS and createNotificationChannelAndroid functions (#3430) 2020-06-11 18:09:47 +02:00
Matt Netkow 46bbf633e4 Add premier and capIncompat metadata to plugins (#3453) 2020-06-11 17:56:34 +02:00
Daniel Sogl 511a02d50b refactor(lib): run prettier 2020-05-16 14:40:49 +02:00
Amine 18bee4e298 fix(fcm): add missing clearAllNotifications, hasPermission and getAPNSToken (#3331)
* 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>
2020-02-28 18:56:08 +01:00
Slobodan Stojanović 08332b7c02 feat(fcm): add getAPNSToken and hasPermission methods (#3211) 2019-10-30 16:56:23 +01:00
Daniel Sogl fcda5ffcab Revert "refactor: optimize plugins for angular treeshaking"
This reverts commit 8b53c04dc5.
2019-03-19 18:34:54 +01:00
Daniel Sogl 8b53c04dc5 refactor: optimize plugins for angular treeshaking
BREAKING CHANGE: You can remove the plugin import from the app.module.ts because of the changed Inject decorator
2019-02-20 17:37:39 +01:00
mhartington 220e22b659 docs(): add ngx import path 2018-10-10 16:13:45 -05:00
Daniel bea5eaea1a Merge branch 'master' into v5 2018-07-18 22:12:44 +02:00
Moshe b581a5b2b6 feat(ccm): replace plugin source (#2601) 2018-07-18 21:50:16 +02:00
Perry Govier d3c2859d38 fix(linting): Fixing misc linting errors that typedoc complains about (#2476)
* fix(linting): Fixing misc linting errors that typedoc complains about

* angularJS safe promises

* fix(clibpoard): minor linting error
2018-04-24 22:12:21 +02:00
Daniel 29d668ca2f Merge branch 'master' into v5 2018-04-09 20:06:25 +02:00
Daniel e70885ca2f docs(fcm): typo 2018-04-08 21:26:14 +02:00
Daniel 3ced31ed2a fix(plugins): fix rxjs 6 build errors
#2439
2018-04-05 21:44:19 +02:00
Daniel 1c95039c02 Merge remote-tracking branch 'origin/master' into v5 2018-03-17 01:29:14 +01:00
Daniel Sogl b61c442fd2 fix example 2018-03-17 01:22:06 +01:00
KULDIP PIPALIYA af75b49aa4 Update index.ts 2018-03-02 02:00:17 +05:30
Ibby Hadeed 0f9c21ab42 Merge in v5 code 2017-12-28 07:28:44 -05:00
Daniel Sogl 328e5de3f3 docs(plugins): added platforms (#1638)
* added platforms

* round 2

* round 3

* Update index.ts
2017-06-02 15:34:18 -04:00
seshachalamyv 2e83ade978 docs(): fix method name in example (#1585)
data.wasPressed
should be change as data.wasTapped
2017-05-19 06:36:04 -04:00
seshachalamyv 61c73eaa4e docs(): fix package name in import statement (#1581)
import { FCM } from 'ionic-native'; Corrected as import { FCM } from '@ionic-native/fcm';
2017-05-18 23:39:31 -04:00
Niccolò Belli ad514bbf63 fix(fcm): fix method name (#1531) 2017-05-12 04:15:35 -04:00
Askhat Saiapov 6cc6393712 feat(fcm): support Firebase Cloud Messaging plugin (#1449)
* feat(): add fcm plugin

* fix(): fix whitespace

* fix(): add observables for methods

* feat(): add NotificationData interface

* doc(): improve examples in document

* style(): remove usage examples from emthod declarations

* fix(): decorate methods appropriately
2017-05-09 17:29:29 -04:00