From 165c3cc21162038de7503c040e4431757aed0b21 Mon Sep 17 00:00:00 2001 From: Daniel Date: Sat, 1 Dec 2018 16:55:01 +0100 Subject: [PATCH] Merge branch 'master' into v5 --- CHANGELOG.md | 291 +++++++++++------- package-lock.json | 140 ++++----- src/@ionic-native/plugins/admob-plus/index.ts | 94 ++++++ src/@ionic-native/plugins/camera/index.ts | 2 + src/@ionic-native/plugins/card-io/index.ts | 2 +- src/@ionic-native/plugins/contacts/index.ts | 3 + src/@ionic-native/plugins/file/index.ts | 2 +- .../plugins/firebase-authentication/index.ts | 189 ++++++++++++ .../plugins/firebase-messaging/index.ts | 10 + src/@ionic-native/plugins/firebase/index.ts | 11 + .../plugins/geolocation/index.ts | 2 +- src/@ionic-native/plugins/last-cam/index.ts | 137 +++++++++ src/@ionic-native/plugins/line-login/index.ts | 150 +++++++++ src/@ionic-native/plugins/network/index.ts | 28 +- src/@ionic-native/plugins/nfc/index.ts | 9 + src/@ionic-native/plugins/onesignal/index.ts | 10 +- .../plugins/social-sharing/index.ts | 2 +- src/@ionic-native/plugins/speechkit/index.ts | 6 +- src/@ionic-native/plugins/sqlite/index.ts | 2 +- .../plugins/taptic-engine/index.ts | 6 +- 20 files changed, 904 insertions(+), 192 deletions(-) create mode 100644 src/@ionic-native/plugins/admob-plus/index.ts create mode 100644 src/@ionic-native/plugins/firebase-authentication/index.ts create mode 100644 src/@ionic-native/plugins/last-cam/index.ts create mode 100644 src/@ionic-native/plugins/line-login/index.ts diff --git a/CHANGELOG.md b/CHANGELOG.md index 775acb169..f28415e60 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -56,6 +56,188 @@ # [5.0.0-beta.14](https://github.com/ionic-team/ionic-native/compare/v4.10.0...v5.0.0-beta.14) (2018-07-18) +### Features + +* **downloader:** add plugin ([#2820](https://github.com/ionic-team/ionic-native/issues/2820)) ([0065704](https://github.com/ionic-team/ionic-native/commit/0065704)) +* **line-login:** add loginWeb function ([#2810](https://github.com/ionic-team/ionic-native/issues/2810)) ([7145afa](https://github.com/ionic-team/ionic-native/commit/7145afa)) + + + +# [4.17.0](https://github.com/ionic-team/ionic-native/compare/v4.16.0...v4.17.0) (2018-11-02) + + +### Bug Fixes + +* **contacts plugin:** add the rawId parameter ([#2799](https://github.com/ionic-team/ionic-native/issues/2799)) ([b61b339](https://github.com/ionic-team/ionic-native/commit/b61b339)) + + +### Features + +* **crashlytics:** allow user to set userIdentifier for crashlytics ([#2792](https://github.com/ionic-team/ionic-native/issues/2792)) ([a3bd197](https://github.com/ionic-team/ionic-native/commit/a3bd197)) +* **firebase-authentication:** add plugin ([#2797](https://github.com/ionic-team/ionic-native/issues/2797)) ([43bfeb4](https://github.com/ionic-team/ionic-native/commit/43bfeb4)) +* **line-login:** add plugin ([#2782](https://github.com/ionic-team/ionic-native/issues/2782)) ([dc4183d](https://github.com/ionic-team/ionic-native/commit/dc4183d)) + + + +# [4.16.0](https://github.com/ionic-team/ionic-native/compare/v4.15.0...v4.16.0) (2018-10-17) + + +### Bug Fixes + +* **keyboard:** add missing property ([fcd6d26](https://github.com/ionic-team/ionic-native/commit/fcd6d26)) +* **local-notifications:** add missing functions ([#2779](https://github.com/ionic-team/ionic-native/issues/2779)) ([336b3ff](https://github.com/ionic-team/ionic-native/commit/336b3ff)), closes [#2778](https://github.com/ionic-team/ionic-native/issues/2778) + + +### Features + +* **admob-plus:** Add admob-plus ([#2753](https://github.com/ionic-team/ionic-native/issues/2753)) ([6c99ec8](https://github.com/ionic-team/ionic-native/commit/6c99ec8)) +* **firebase-messaging:** add revokeToken function ([#2763](https://github.com/ionic-team/ionic-native/issues/2763)) ([1a2dc3e](https://github.com/ionic-team/ionic-native/commit/1a2dc3e)) +* **lastCam:** add plugin ([#2759](https://github.com/ionic-team/ionic-native/issues/2759)) ([99cebcb](https://github.com/ionic-team/ionic-native/commit/99cebcb)) +* **nfc:** add NFC readerMode ([#2777](https://github.com/ionic-team/ionic-native/issues/2777)) ([2aa73b5](https://github.com/ionic-team/ionic-native/commit/2aa73b5)) +* **speechkit:** plugin updated with voice parameter ([#2761](https://github.com/ionic-team/ionic-native/issues/2761)) ([4468b52](https://github.com/ionic-team/ionic-native/commit/4468b52)) + + + +# [4.15.0](https://github.com/ionic-team/ionic-native/compare/v4.14.0...v4.15.0) (2018-09-25) + + +### Bug Fixes + +* **keyboard:** use cordova-plugin-ionic-keyboard ([#2743](https://github.com/ionic-team/ionic-native/issues/2743)) ([1457a16](https://github.com/ionic-team/ionic-native/commit/1457a16)), closes [#2306](https://github.com/ionic-team/ionic-native/issues/2306) + + +### Features + +* **plugins:** add AppleWallet ([#2740](https://github.com/ionic-team/ionic-native/issues/2740)) ([307477d](https://github.com/ionic-team/ionic-native/commit/307477d)) +* **plugins:** add web-server plugin ([#2726](https://github.com/ionic-team/ionic-native/issues/2726)) ([8116ddd](https://github.com/ionic-team/ionic-native/commit/8116ddd)) +* **siri-shortcuts:** Add clear option for the activated shortcut ([#2734](https://github.com/ionic-team/ionic-native/issues/2734)) ([3eff280](https://github.com/ionic-team/ionic-native/commit/3eff280)) +* **taptic-engine:** add missing functions and types ([a6bcc9a](https://github.com/ionic-team/ionic-native/commit/a6bcc9a)) + + + +# [4.14.0](https://github.com/ionic-team/ionic-native/compare/v4.13.0...v4.14.0) (2018-09-18) + + +### Bug Fixes + +* **mobile-accessibility:** add correct pluginRef ([3699fa9](https://github.com/ionic-team/ionic-native/commit/3699fa9)), closes [#1860](https://github.com/ionic-team/ionic-native/issues/1860) +* **onesignal:** add missing setLocationShared method ([#2723](https://github.com/ionic-team/ionic-native/issues/2723)) ([8bab321](https://github.com/ionic-team/ionic-native/commit/8bab321)) +* **push:** add missing Chanel options ([3ef9593](https://github.com/ionic-team/ionic-native/commit/3ef9593)), closes [#2712](https://github.com/ionic-team/ionic-native/issues/2712) +* **web-intent:** add missing properties ([d077c48](https://github.com/ionic-team/ionic-native/commit/d077c48)), closes [#2701](https://github.com/ionic-team/ionic-native/issues/2701) + + +### Features + +* **chooster:** add plugin ([04db233](https://github.com/ionic-team/ionic-native/commit/04db233)), closes [#2612](https://github.com/ionic-team/ionic-native/issues/2612) +* **local-notifications:** add missing functions ([10d222d](https://github.com/ionic-team/ionic-native/commit/10d222d)) +* **onesignal:** add missing functions ([51006a7](https://github.com/ionic-team/ionic-native/commit/51006a7)), closes [#2504](https://github.com/ionic-team/ionic-native/issues/2504) + + + +# [4.13.0](https://github.com/ionic-team/ionic-native/compare/v5.0.0-beta.17...v4.13.0) (2018-09-15) + + +### Bug Fixes + +* **bluetooth-le:** Various methods fixes ([#2707](https://github.com/ionic-team/ionic-native/issues/2707)) ([7047920](https://github.com/ionic-team/ionic-native/commit/7047920)) +* **in-app-review:** Transfer Plugin to the correct folder ([#2688](https://github.com/ionic-team/ionic-native/issues/2688)) ([22fd49b](https://github.com/ionic-team/ionic-native/commit/22fd49b)) +* **ms-adal:** Update createAuthenticationContext ([#2705](https://github.com/ionic-team/ionic-native/issues/2705)) ([890129b](https://github.com/ionic-team/ionic-native/commit/890129b)) + + +### Features + +* **appsflyer:** Added Appsflyer Cordova SDK as ionic native plugin ([#2690](https://github.com/ionic-team/ionic-native/issues/2690)) ([3b3f942](https://github.com/ionic-team/ionic-native/commit/3b3f942)) +* **branch-io:** Add branch.io attribution and invitation plugin ([#2691](https://github.com/ionic-team/ionic-native/issues/2691)) ([90d75af](https://github.com/ionic-team/ionic-native/commit/90d75af)) +* **calldirectory:** add log function ([#2708](https://github.com/ionic-team/ionic-native/issues/2708)) ([9601a64](https://github.com/ionic-team/ionic-native/commit/9601a64)) +* **janalytics:** add plugin ([#2711](https://github.com/ionic-team/ionic-native/issues/2711)) ([0b97176](https://github.com/ionic-team/ionic-native/commit/0b97176)) +* **local-notifications:** Added local additional local notification action fields ([#2713](https://github.com/ionic-team/ionic-native/issues/2713)) ([267149b](https://github.com/ionic-team/ionic-native/commit/267149b)) +* **mixpanel:** Update/add functions ([#2697](https://github.com/ionic-team/ionic-native/issues/2697)) ([ac467c5](https://github.com/ionic-team/ionic-native/commit/ac467c5)) +* **wechat:** add plugin ([#2716](https://github.com/ionic-team/ionic-native/issues/2716)) ([10ac9ff](https://github.com/ionic-team/ionic-native/commit/10ac9ff)) + + + +# [5.0.0-beta.17](https://github.com/ionic-team/ionic-native/compare/v5.0.0-beta.16...v5.0.0-beta.17) (2018-08-31) + + +### Bug Fixes + +* **in-app-browser:** fix mandatory options ([#2684](https://github.com/ionic-team/ionic-native/issues/2684)) ([d82e675](https://github.com/ionic-team/ionic-native/commit/d82e675)) + + + +## [4.12.1](https://github.com/ionic-team/ionic-native/compare/v5.0.0-beta.15...v4.12.1) (2018-08-31) + + +### Bug Fixes + +* **open-native-settings:** allow supported input ([#2666](https://github.com/ionic-team/ionic-native/issues/2666)) ([be0dc3d](https://github.com/ionic-team/ionic-native/commit/be0dc3d)) + + +### Features + +* **aes256:** Added new utility methods to generate secure key and secure IV ([#2675](https://github.com/ionic-team/ionic-native/issues/2675)) ([a731466](https://github.com/ionic-team/ionic-native/commit/a731466)) +* **in-app-browser:** Add missing InAppBrowserOptions-properties ([#2669](https://github.com/ionic-team/ionic-native/issues/2669)) ([d90724e](https://github.com/ionic-team/ionic-native/commit/d90724e)) +* **push:** Added voip property to IOSPushOptions ([#2681](https://github.com/ionic-team/ionic-native/issues/2681)) ([03e4f0e](https://github.com/ionic-team/ionic-native/commit/03e4f0e)) + + + +# [5.0.0-beta.15](https://github.com/ionic-team/ionic-native/compare/v4.12.0...v5.0.0-beta.15) (2018-08-25) + + +### Features + +* **bluetooth-le:** add bluetooth-le plugin ([#2651](https://github.com/ionic-team/ionic-native/issues/2651)) ([591ee87](https://github.com/ionic-team/ionic-native/commit/591ee87)) +* **http:** add setSSLCertMode function ([8db1dbe](https://github.com/ionic-team/ionic-native/commit/8db1dbe)) + + + +# [4.12.0](https://github.com/ionic-team/ionic-native/compare/v4.11.0...v4.12.0) (2018-08-16) + + +### Bug Fixes + +* **extended-device-information:** Fixed Memory Display Bug ([#2641](https://github.com/ionic-team/ionic-native/issues/2641)) ([2ac5282](https://github.com/ionic-team/ionic-native/commit/2ac5282)) +* **network:** bind listener to document instead of window ([#2622](https://github.com/ionic-team/ionic-native/issues/2622)) ([d10777a](https://github.com/ionic-team/ionic-native/commit/d10777a)) +* **photo-library:** interface missing includeVideos ([3f415f9](https://github.com/ionic-team/ionic-native/commit/3f415f9)), closes [#2624](https://github.com/ionic-team/ionic-native/issues/2624) + + +### Features + +* **fabric:** add fabric plugin ([#2618](https://github.com/ionic-team/ionic-native/issues/2618)) ([9b4fd02](https://github.com/ionic-team/ionic-native/commit/9b4fd02)) +* **local-notifications:** add new foreground property ([#2633](https://github.com/ionic-team/ionic-native/issues/2633)) ([229b62c](https://github.com/ionic-team/ionic-native/commit/229b62c)) +* **webengage:** add optional config with initialization ([#2637](https://github.com/ionic-team/ionic-native/issues/2637)) ([ca9a702](https://github.com/ionic-team/ionic-native/commit/ca9a702)) + + + +# [4.11.0](https://github.com/ionic-team/ionic-native/compare/v4.10.1...v4.11.0) (2018-07-29) + + +### Bug Fixes + +* **http:** add correct return types for downloadFile and uploadFile ([4092831](https://github.com/ionic-team/ionic-native/commit/4092831)), closes [#2615](https://github.com/ionic-team/ionic-native/issues/2615) + + +### Features + +* **clevertap:** add CleverTap plugin ([#2609](https://github.com/ionic-team/ionic-native/issues/2609)) ([27d380e](https://github.com/ionic-team/ionic-native/commit/27d380e)) +* **facebook:** add getDeferredApplink function ([3b32e19](https://github.com/ionic-team/ionic-native/commit/3b32e19)), closes [#2510](https://github.com/ionic-team/ionic-native/issues/2510) +* **webengage:** add webengage plugin ([#2604](https://github.com/ionic-team/ionic-native/issues/2604)) ([bd5bd7e](https://github.com/ionic-team/ionic-native/commit/bd5bd7e)) + + + +## [4.10.1](https://github.com/ionic-team/ionic-native/compare/v5.0.0-beta.14...v4.10.1) (2018-07-25) + + +### Bug Fixes + +* **nfs:** Optional arguments for records like textRecord ([#2605](https://github.com/ionic-team/ionic-native/issues/2605)) ([b635ba9](https://github.com/ionic-team/ionic-native/commit/b635ba9)) +* **user-agent:** Plugin not installed ([#2607](https://github.com/ionic-team/ionic-native/issues/2607)) ([79cb478](https://github.com/ionic-team/ionic-native/commit/79cb478)) + + + +# [5.0.0-beta.14](https://github.com/ionic-team/ionic-native/compare/v4.10.0...v5.0.0-beta.14) (2018-07-18) + + ### Features * **abbyy-rtr:** add ABBYY Real-Time Recognition plugin ([#2580](https://github.com/ionic-team/ionic-native/issues/2580)) ([ecc698e](https://github.com/ionic-team/ionic-native/commit/ecc698e)) @@ -70,7 +252,6 @@ - ## [4.9.2](https://github.com/ionic-team/ionic-native/compare/v4.9.1...v4.9.2) (2018-07-13) @@ -81,7 +262,6 @@ - ## [4.9.1](https://github.com/ionic-team/ionic-native/compare/v5.0.0-beta.13...v4.9.1) (2018-07-09) @@ -99,7 +279,6 @@ - # [5.0.0-beta.13](https://github.com/ionic-team/ionic-native/compare/v4.9.0...v5.0.0-beta.13) (2018-06-28) @@ -176,7 +355,6 @@ - # [4.7.0](https://github.com/ionic-team/ionic-native/compare/v4.6.0...v4.7.0) (2018-04-09) @@ -271,7 +449,6 @@ - ## [4.5.1](https://github.com/ionic-team/ionic-native/compare/v5.0.0-beta.0...v4.5.1) (2017-12-12) @@ -281,7 +458,6 @@ - # [5.0.0-beta.0](https://github.com/ionic-team/ionic-native/compare/v4.5.0...v5.0.0-beta.0) (2017-12-08) @@ -321,17 +497,14 @@ - ## [4.4.2](https://github.com/ionic-team/ionic-native/compare/v4.4.1...v4.4.2) (2017-11-15) - ## [4.4.1](https://github.com/ionic-team/ionic-native/compare/v4.4.0...v4.4.1) (2017-11-13) - # [4.4.0](https://github.com/ionic-team/ionic-native/compare/v4.3.3...v4.4.0) (2017-11-09) @@ -342,7 +515,6 @@ - ## [4.3.3](https://github.com/ionic-team/ionic-native/compare/4.3.2...v4.3.3) (2017-11-01) @@ -352,7 +524,6 @@ - ## [4.3.2](https://github.com/ionic-team/ionic-native/compare/4.3.1...4.3.2) (2017-10-17) @@ -367,7 +538,6 @@ - ## [4.3.1](https://github.com/ionic-team/ionic-native/compare/v4.3.0...4.3.1) (2017-10-06) @@ -385,7 +555,6 @@ - # [4.3.0](https://github.com/ionic-team/ionic-native/compare/v4.2.1...v4.3.0) (2017-09-27) @@ -418,7 +587,6 @@ - # [4.2.0](https://github.com/ionic-team/ionic-native/compare/v4.1.0...v4.2.0) (2017-08-26) @@ -445,7 +613,6 @@ - # [4.1.0](https://github.com/ionic-team/ionic-native/compare/v4.0.1...v4.1.0) (2017-07-21) @@ -463,7 +630,6 @@ - ## [4.0.1](https://github.com/ionic-team/ionic-native/compare/v4.0.0...v4.0.1) (2017-07-15) @@ -481,7 +647,6 @@ - # [4.0.0](https://github.com/ionic-team/ionic-native/compare/v3.14.0...v4.0.0) (2017-07-11) @@ -524,7 +689,6 @@ renamed to `FileTransfer`. Also, `TransferObject` class has been renamed to `Fil - # [3.14.0](https://github.com/ionic-team/ionic-native/compare/v3.13.1...v3.14.0) (2017-07-07) @@ -534,7 +698,6 @@ renamed to `FileTransfer`. Also, `TransferObject` class has been renamed to `Fil - ## [3.13.1](https://github.com/ionic-team/ionic-native/compare/v3.13.0...v3.13.1) (2017-07-05) @@ -550,7 +713,6 @@ renamed to `FileTransfer`. Also, `TransferObject` class has been renamed to `Fil - # [3.13.0](https://github.com/ionic-team/ionic-native/compare/v3.12.2...v3.13.0) (2017-07-03) @@ -561,7 +723,6 @@ renamed to `FileTransfer`. Also, `TransferObject` class has been renamed to `Fil - ## [3.12.2](https://github.com/ionic-team/ionic-native/compare/v3.12.1...v3.12.2) (2017-07-03) @@ -582,7 +743,6 @@ renamed to `FileTransfer`. Also, `TransferObject` class has been renamed to `Fil - ## [3.12.1](https://github.com/ionic-team/ionic-native/compare/v3.12.0...v3.12.1) (2017-06-03) @@ -597,7 +757,6 @@ renamed to `FileTransfer`. Also, `TransferObject` class has been renamed to `Fil - # [3.12.0](https://github.com/ionic-team/ionic-native/compare/v3.11.0...v3.12.0) (2017-06-03) @@ -609,7 +768,6 @@ renamed to `FileTransfer`. Also, `TransferObject` class has been renamed to `Fil - # [3.11.0](https://github.com/ionic-team/ionic-native/compare/v3.10.2...v3.11.0) (2017-06-01) @@ -626,7 +784,6 @@ renamed to `FileTransfer`. Also, `TransferObject` class has been renamed to `Fil - ## [3.10.2](https://github.com/ionic-team/ionic-native/compare/v3.10.1...v3.10.2) (2017-05-20) @@ -636,7 +793,6 @@ renamed to `FileTransfer`. Also, `TransferObject` class has been renamed to `Fil - # [3.10.0](https://github.com/ionic-team/ionic-native/compare/v3.9.2...v3.10.0) (2017-05-19) @@ -652,7 +808,6 @@ renamed to `FileTransfer`. Also, `TransferObject` class has been renamed to `Fil - ## [3.9.2](https://github.com/ionic-team/ionic-native/compare/v3.9.1...v3.9.2) (2017-05-17) @@ -663,7 +818,6 @@ renamed to `FileTransfer`. Also, `TransferObject` class has been renamed to `Fil - ## [3.9.1](https://github.com/ionic-team/ionic-native/compare/v3.9.0...v3.9.1) (2017-05-17) @@ -673,7 +827,6 @@ renamed to `FileTransfer`. Also, `TransferObject` class has been renamed to `Fil - # [3.9.0](https://github.com/ionic-team/ionic-native/compare/v3.8.1...v3.9.0) (2017-05-17) @@ -697,7 +850,6 @@ renamed to `FileTransfer`. Also, `TransferObject` class has been renamed to `Fil - ## [3.8.1](https://github.com/ionic-team/ionic-native/compare/v3.8.0...v3.8.1) (2017-05-16) @@ -716,7 +868,6 @@ renamed to `FileTransfer`. Also, `TransferObject` class has been renamed to `Fil - # [3.8.0](https://github.com/ionic-team/ionic-native/compare/v3.7.0...v3.8.0) (2017-05-14) @@ -735,7 +886,6 @@ renamed to `FileTransfer`. Also, `TransferObject` class has been renamed to `Fil - # [3.7.0](https://github.com/ionic-team/ionic-native/compare/v3.6.0...v3.7.0) (2017-05-09) @@ -780,7 +930,6 @@ renamed to `FileTransfer`. Also, `TransferObject` class has been renamed to `Fil - # [3.6.0](https://github.com/ionic-team/ionic-native/compare/v3.5.0...v3.6.0) (2017-04-27) @@ -796,7 +945,6 @@ renamed to `FileTransfer`. Also, `TransferObject` class has been renamed to `Fil - # [3.5.0](https://github.com/ionic-team/ionic-native/compare/v3.4.4...v3.5.0) (2017-04-18) @@ -814,7 +962,6 @@ renamed to `FileTransfer`. Also, `TransferObject` class has been renamed to `Fil - ## [3.4.4](https://github.com/ionic-team/ionic-native/compare/v3.4.3...v3.4.4) (2017-03-30) @@ -824,7 +971,6 @@ renamed to `FileTransfer`. Also, `TransferObject` class has been renamed to `Fil - ## [3.4.3](https://github.com/ionic-team/ionic-native/compare/v3.4.2...v3.4.3) (2017-03-29) @@ -842,7 +988,6 @@ renamed to `FileTransfer`. Also, `TransferObject` class has been renamed to `Fil - ## [3.4.1](https://github.com/ionic-team/ionic-native/compare/v3.4.0...v3.4.1) (2017-03-28) @@ -854,7 +999,6 @@ renamed to `FileTransfer`. Also, `TransferObject` class has been renamed to `Fil - # [3.4.0](https://github.com/ionic-team/ionic-native/compare/v3.3.1...v3.4.0) (2017-03-28) @@ -872,7 +1016,6 @@ renamed to `FileTransfer`. Also, `TransferObject` class has been renamed to `Fil - ## [3.3.1](https://github.com/ionic-team/ionic-native/compare/v3.3.0...v3.3.1) (2017-03-28) @@ -892,7 +1035,6 @@ renamed to `FileTransfer`. Also, `TransferObject` class has been renamed to `Fil - # [3.3.0](https://github.com/ionic-team/ionic-native/compare/v3.2.3...v3.3.0) (2017-03-27) @@ -903,7 +1045,6 @@ renamed to `FileTransfer`. Also, `TransferObject` class has been renamed to `Fil - ## [3.2.3](https://github.com/ionic-team/ionic-native/compare/v3.2.2...v3.2.3) (2017-03-24) @@ -914,12 +1055,10 @@ renamed to `FileTransfer`. Also, `TransferObject` class has been renamed to `Fil - ## [3.2.2](https://github.com/ionic-team/ionic-native/compare/v3.2.1...v3.2.2) (2017-03-23) - ## [3.2.1](https://github.com/ionic-team/ionic-native/compare/v3.2.0...v3.2.1) (2017-03-23) @@ -929,7 +1068,6 @@ renamed to `FileTransfer`. Also, `TransferObject` class has been renamed to `Fil - # [3.2.0](https://github.com/ionic-team/ionic-native/compare/v3.1.1...v3.2.0) (2017-03-22) @@ -944,7 +1082,6 @@ renamed to `FileTransfer`. Also, `TransferObject` class has been renamed to `Fil - ## [3.1.1](https://github.com/ionic-team/ionic-native/compare/v3.1.0...v3.1.1) (2017-03-21) @@ -954,7 +1091,6 @@ renamed to `FileTransfer`. Also, `TransferObject` class has been renamed to `Fil - # [3.1.0](https://github.com/ionic-team/ionic-native/compare/v2.9.0...v3.1.0) (2017-03-20) @@ -964,7 +1100,7 @@ renamed to `FileTransfer`. Also, `TransferObject` class has been renamed to `Fil * **music-controls:** fix return types for methods ([f3407e5](https://github.com/ionic-team/ionic-native/commit/f3407e5)) -### Chores +### chore * merge v3-injectable into master ([#1203](https://github.com/ionic-team/ionic-native/issues/1203)) ([2f2d55f](https://github.com/ionic-team/ionic-native/commit/2f2d55f)), closes [#250](https://github.com/ionic-team/ionic-native/issues/250) [#861](https://github.com/ionic-team/ionic-native/issues/861) [#1059](https://github.com/ionic-team/ionic-native/issues/1059) [#1145](https://github.com/ionic-team/ionic-native/issues/1145) [#1146](https://github.com/ionic-team/ionic-native/issues/1146) [#1049](https://github.com/ionic-team/ionic-native/issues/1049) [#1072](https://github.com/ionic-team/ionic-native/issues/1072) [#1071](https://github.com/ionic-team/ionic-native/issues/1071) [#1076](https://github.com/ionic-team/ionic-native/issues/1076) [#1065](https://github.com/ionic-team/ionic-native/issues/1065) [#1089](https://github.com/ionic-team/ionic-native/issues/1089) [#1087](https://github.com/ionic-team/ionic-native/issues/1087) [#1096](https://github.com/ionic-team/ionic-native/issues/1096) [#1098](https://github.com/ionic-team/ionic-native/issues/1098) [#1088](https://github.com/ionic-team/ionic-native/issues/1088) [#1099](https://github.com/ionic-team/ionic-native/issues/1099) [#1101](https://github.com/ionic-team/ionic-native/issues/1101) [#1103](https://github.com/ionic-team/ionic-native/issues/1103) [#1106](https://github.com/ionic-team/ionic-native/issues/1106) [#1107](https://github.com/ionic-team/ionic-native/issues/1107) [#1108](https://github.com/ionic-team/ionic-native/issues/1108) [#1109](https://github.com/ionic-team/ionic-native/issues/1109) [#1110](https://github.com/ionic-team/ionic-native/issues/1110) [#1122](https://github.com/ionic-team/ionic-native/issues/1122) [#1129](https://github.com/ionic-team/ionic-native/issues/1129) [#1125](https://github.com/ionic-team/ionic-native/issues/1125) [#1128](https://github.com/ionic-team/ionic-native/issues/1128) [#1126](https://github.com/ionic-team/ionic-native/issues/1126) [#1115](https://github.com/ionic-team/ionic-native/issues/1115) [#1077](https://github.com/ionic-team/ionic-native/issues/1077) [#1118](https://github.com/ionic-team/ionic-native/issues/1118) [#1093](https://github.com/ionic-team/ionic-native/issues/1093) [#1116](https://github.com/ionic-team/ionic-native/issues/1116) [#1001](https://github.com/ionic-team/ionic-native/issues/1001) [#1105](https://github.com/ionic-team/ionic-native/issues/1105) [#1097](https://github.com/ionic-team/ionic-native/issues/1097) [#1095](https://github.com/ionic-team/ionic-native/issues/1095) [#1086](https://github.com/ionic-team/ionic-native/issues/1086) [#1082](https://github.com/ionic-team/ionic-native/issues/1082) [#1079](https://github.com/ionic-team/ionic-native/issues/1079) [#1064](https://github.com/ionic-team/ionic-native/issues/1064) [#1063](https://github.com/ionic-team/ionic-native/issues/1063) [#1031](https://github.com/ionic-team/ionic-native/issues/1031) [#1025](https://github.com/ionic-team/ionic-native/issues/1025) [#990](https://github.com/ionic-team/ionic-native/issues/990) [#1013](https://github.com/ionic-team/ionic-native/issues/1013) [#990](https://github.com/ionic-team/ionic-native/issues/990) [#1004](https://github.com/ionic-team/ionic-native/issues/1004) [#1130](https://github.com/ionic-team/ionic-native/issues/1130) [#1043](https://github.com/ionic-team/ionic-native/issues/1043) [#1044](https://github.com/ionic-team/ionic-native/issues/1044) [#1045](https://github.com/ionic-team/ionic-native/issues/1045) [#1078](https://github.com/ionic-team/ionic-native/issues/1078) [#1084](https://github.com/ionic-team/ionic-native/issues/1084) [#1102](https://github.com/ionic-team/ionic-native/issues/1102) [#1132](https://github.com/ionic-team/ionic-native/issues/1132) [#1039](https://github.com/ionic-team/ionic-native/issues/1039) [#1138](https://github.com/ionic-team/ionic-native/issues/1138) [#1139](https://github.com/ionic-team/ionic-native/issues/1139) [#1142](https://github.com/ionic-team/ionic-native/issues/1142) [#1171](https://github.com/ionic-team/ionic-native/issues/1171) [#1193](https://github.com/ionic-team/ionic-native/issues/1193) @@ -1020,7 +1156,6 @@ renamed to `FileTransfer`. Also, `TransferObject` class has been renamed to `Fil - # [2.9.0](https://github.com/ionic-team/ionic-native/compare/v2.8.1...v2.9.0) (2017-03-18) @@ -1035,7 +1170,6 @@ renamed to `FileTransfer`. Also, `TransferObject` class has been renamed to `Fil - ## [2.8.1](https://github.com/ionic-team/ionic-native/compare/v2.8.0...v2.8.1) (2017-03-10) @@ -1053,7 +1187,6 @@ renamed to `FileTransfer`. Also, `TransferObject` class has been renamed to `Fil - # [2.8.0](https://github.com/ionic-team/ionic-native/compare/v2.7.0...v2.8.0) (2017-03-04) @@ -1070,7 +1203,6 @@ renamed to `FileTransfer`. Also, `TransferObject` class has been renamed to `Fil - # [2.7.0](https://github.com/ionic-team/ionic-native/compare/v2.6.0...v2.7.0) (2017-03-02) @@ -1088,7 +1220,6 @@ renamed to `FileTransfer`. Also, `TransferObject` class has been renamed to `Fil - # [2.6.0](https://github.com/ionic-team/ionic-native/compare/v2.5.1...v2.6.0) (2017-03-02) @@ -1128,7 +1259,6 @@ renamed to `FileTransfer`. Also, `TransferObject` class has been renamed to `Fil - ## [2.5.1](https://github.com/ionic-team/ionic-native/compare/v2.5.0...v2.5.1) (2017-02-07) @@ -1138,7 +1268,6 @@ renamed to `FileTransfer`. Also, `TransferObject` class has been renamed to `Fil - # [2.5.0](https://github.com/ionic-team/ionic-native/compare/v2.4.1...v2.5.0) (2017-02-07) @@ -1157,7 +1286,6 @@ renamed to `FileTransfer`. Also, `TransferObject` class has been renamed to `Fil - ## [2.4.1](https://github.com/ionic-team/ionic-native/compare/v2.4.0...v2.4.1) (2017-01-24) @@ -1173,12 +1301,10 @@ renamed to `FileTransfer`. Also, `TransferObject` class has been renamed to `Fil - ## [2.3.2](https://github.com/ionic-team/ionic-native/compare/v2.3.1...v2.3.2) (2017-01-24) - ## [2.3.1](https://github.com/ionic-team/ionic-native/compare/v2.3.0...v2.3.1) (2017-01-24) @@ -1199,7 +1325,6 @@ renamed to `FileTransfer`. Also, `TransferObject` class has been renamed to `Fil - # [2.3.0](https://github.com/ionic-team/ionic-native/compare/v2.2.17...v2.3.0) (2017-01-20) @@ -1224,7 +1349,6 @@ renamed to `FileTransfer`. Also, `TransferObject` class has been renamed to `Fil - ## [2.2.17](https://github.com/ionic-team/ionic-native/compare/v2.2.16...v2.2.17) (2017-01-20) @@ -1235,7 +1359,6 @@ renamed to `FileTransfer`. Also, `TransferObject` class has been renamed to `Fil - ## [2.2.16](https://github.com/ionic-team/ionic-native/compare/v2.2.15...v2.2.16) (2017-01-11) @@ -1245,7 +1368,6 @@ renamed to `FileTransfer`. Also, `TransferObject` class has been renamed to `Fil - ## [2.2.15](https://github.com/ionic-team/ionic-native/compare/v2.2.14...v2.2.15) (2017-01-11) @@ -1257,7 +1379,6 @@ renamed to `FileTransfer`. Also, `TransferObject` class has been renamed to `Fil - ## [2.2.14](https://github.com/ionic-team/ionic-native/compare/v2.2.13...v2.2.14) (2017-01-07) @@ -1278,7 +1399,6 @@ renamed to `FileTransfer`. Also, `TransferObject` class has been renamed to `Fil - ## [2.2.13](https://github.com/ionic-team/ionic-native/compare/v2.2.12...v2.2.13) (2016-12-27) @@ -1299,7 +1419,6 @@ renamed to `FileTransfer`. Also, `TransferObject` class has been renamed to `Fil - ## [2.2.12](https://github.com/ionic-team/ionic-native/compare/v2.2.11...v2.2.12) (2016-12-18) @@ -1317,7 +1436,6 @@ renamed to `FileTransfer`. Also, `TransferObject` class has been renamed to `Fil - ## [2.2.11](https://github.com/ionic-team/ionic-native/compare/v2.2.10...v2.2.11) (2016-12-06) @@ -1333,7 +1451,6 @@ renamed to `FileTransfer`. Also, `TransferObject` class has been renamed to `Fil - ## [2.2.10](https://github.com/ionic-team/ionic-native/compare/v2.2.8...v2.2.10) (2016-12-04) @@ -1351,7 +1468,6 @@ renamed to `FileTransfer`. Also, `TransferObject` class has been renamed to `Fil - ## [2.2.8](https://github.com/ionic-team/ionic-native/compare/v2.2.7...v2.2.8) (2016-12-01) @@ -1369,7 +1485,6 @@ renamed to `FileTransfer`. Also, `TransferObject` class has been renamed to `Fil - ## [2.2.7](https://github.com/ionic-team/ionic-native/compare/v2.2.5...v2.2.7) (2016-11-24) @@ -1396,7 +1511,6 @@ renamed to `FileTransfer`. Also, `TransferObject` class has been renamed to `Fil - ## [2.2.5](https://github.com/ionic-team/ionic-native/compare/v2.2.4...v2.2.5) (2016-10-27) @@ -1419,7 +1533,6 @@ renamed to `FileTransfer`. Also, `TransferObject` class has been renamed to `Fil - ## [2.2.4](https://github.com/ionic-team/ionic-native/compare/v2.2.3...v2.2.4) (2016-10-15) @@ -1436,7 +1549,6 @@ renamed to `FileTransfer`. Also, `TransferObject` class has been renamed to `Fil - ## [2.2.3](https://github.com/ionic-team/ionic-native/compare/v2.2.2...v2.2.3) (2016-10-14) @@ -1447,7 +1559,6 @@ renamed to `FileTransfer`. Also, `TransferObject` class has been renamed to `Fil - ## [2.2.2](https://github.com/ionic-team/ionic-native/compare/v2.2.1...v2.2.2) (2016-10-12) @@ -1463,7 +1574,6 @@ renamed to `FileTransfer`. Also, `TransferObject` class has been renamed to `Fil - ## [2.2.1](https://github.com/ionic-team/ionic-native/compare/v2.2.0...v2.2.1) (2016-10-12) @@ -1483,7 +1593,6 @@ renamed to `FileTransfer`. Also, `TransferObject` class has been renamed to `Fil - # [2.2.0](https://github.com/ionic-team/ionic-native/compare/v2.1.9...v2.2.0) (2016-10-11) @@ -1499,7 +1608,6 @@ renamed to `FileTransfer`. Also, `TransferObject` class has been renamed to `Fil - ## [2.1.9](https://github.com/ionic-team/ionic-native/compare/v2.1.7...v2.1.9) (2016-10-09) @@ -1512,7 +1620,6 @@ renamed to `FileTransfer`. Also, `TransferObject` class has been renamed to `Fil - ## [2.1.7](https://github.com/ionic-team/ionic-native/compare/v2.1.6...v2.1.7) (2016-10-07) @@ -1522,7 +1629,6 @@ renamed to `FileTransfer`. Also, `TransferObject` class has been renamed to `Fil - ## [2.1.6](https://github.com/ionic-team/ionic-native/compare/v2.1.3...v2.1.6) (2016-10-06) @@ -1533,7 +1639,6 @@ renamed to `FileTransfer`. Also, `TransferObject` class has been renamed to `Fil - ## [2.1.3](https://github.com/ionic-team/ionic-native/compare/v2.1.2...v2.1.3) (2016-10-06) @@ -1545,7 +1650,6 @@ renamed to `FileTransfer`. Also, `TransferObject` class has been renamed to `Fil - ## [2.1.2](https://github.com/ionic-team/ionic-native/compare/v2.1.0...v2.1.2) (2016-10-06) @@ -1560,7 +1664,6 @@ renamed to `FileTransfer`. Also, `TransferObject` class has been renamed to `Fil - # [2.1.0](https://github.com/ionic-team/ionic-native/compare/v2.0.3...v2.1.0) (2016-10-03) @@ -1590,7 +1693,6 @@ renamed to `FileTransfer`. Also, `TransferObject` class has been renamed to `Fil - ## [2.0.3](https://github.com/ionic-team/ionic-native/compare/v1.3.21...v2.0.3) (2016-09-24) @@ -1620,7 +1722,6 @@ renamed to `FileTransfer`. Also, `TransferObject` class has been renamed to `Fil - ## [1.3.21](https://github.com/ionic-team/ionic-native/compare/v1.3.20...v1.3.21) (2016-09-07) @@ -1652,7 +1753,6 @@ renamed to `FileTransfer`. Also, `TransferObject` class has been renamed to `Fil - ## [1.3.20](https://github.com/ionic-team/ionic-native/compare/v1.3.19...v1.3.20) (2016-08-27) @@ -1671,7 +1771,6 @@ renamed to `FileTransfer`. Also, `TransferObject` class has been renamed to `Fil - ## [1.3.19](https://github.com/ionic-team/ionic-native/compare/v1.3.18...v1.3.19) (2016-08-27) @@ -1693,7 +1792,6 @@ renamed to `FileTransfer`. Also, `TransferObject` class has been renamed to `Fil - ## [1.3.18](https://github.com/ionic-team/ionic-native/compare/v1.3.17...v1.3.18) (2016-08-26) @@ -1714,7 +1812,6 @@ renamed to `FileTransfer`. Also, `TransferObject` class has been renamed to `Fil - ## [1.3.17](https://github.com/ionic-team/ionic-native/compare/v1.3.16...v1.3.17) (2016-08-23) @@ -1734,7 +1831,6 @@ renamed to `FileTransfer`. Also, `TransferObject` class has been renamed to `Fil - ## [1.3.16](https://github.com/ionic-team/ionic-native/compare/v1.3.15...v1.3.16) (2016-08-15) @@ -1744,7 +1840,6 @@ renamed to `FileTransfer`. Also, `TransferObject` class has been renamed to `Fil - ## [1.3.15](https://github.com/ionic-team/ionic-native/compare/v1.3.14...v1.3.15) (2016-08-15) @@ -1755,7 +1850,6 @@ renamed to `FileTransfer`. Also, `TransferObject` class has been renamed to `Fil - ## [1.3.14](https://github.com/ionic-team/ionic-native/compare/v1.3.12...v1.3.14) (2016-08-15) @@ -1773,7 +1867,6 @@ renamed to `FileTransfer`. Also, `TransferObject` class has been renamed to `Fil - ## [1.3.12](https://github.com/ionic-team/ionic-native/compare/v1.3.11...v1.3.12) (2016-08-13) @@ -1783,7 +1876,6 @@ renamed to `FileTransfer`. Also, `TransferObject` class has been renamed to `Fil - ## [1.3.11](https://github.com/ionic-team/ionic-native/compare/v1.3.10...v1.3.11) (2016-08-11) @@ -1808,7 +1900,6 @@ renamed to `FileTransfer`. Also, `TransferObject` class has been renamed to `Fil - ## [1.3.10](https://github.com/ionic-team/ionic-native/compare/v1.3.9...v1.3.10) (2016-08-01) @@ -1827,7 +1918,6 @@ renamed to `FileTransfer`. Also, `TransferObject` class has been renamed to `Fil - ## [1.3.9](https://github.com/ionic-team/ionic-native/compare/v1.3.8...v1.3.9) (2016-07-23) @@ -1843,7 +1933,6 @@ renamed to `FileTransfer`. Also, `TransferObject` class has been renamed to `Fil - ## [1.3.8](https://github.com/ionic-team/ionic-native/compare/v1.3.7...v1.3.8) (2016-07-20) @@ -1862,7 +1951,6 @@ renamed to `FileTransfer`. Also, `TransferObject` class has been renamed to `Fil - ## [1.3.7](https://github.com/ionic-team/ionic-native/compare/v1.3.6...v1.3.7) (2016-07-18) @@ -1878,7 +1966,6 @@ renamed to `FileTransfer`. Also, `TransferObject` class has been renamed to `Fil - ## [1.3.6](https://github.com/ionic-team/ionic-native/compare/v1.3.5...v1.3.6) (2016-07-17) @@ -1895,7 +1982,6 @@ renamed to `FileTransfer`. Also, `TransferObject` class has been renamed to `Fil - ## [1.3.5](https://github.com/ionic-team/ionic-native/compare/v1.3.4...v1.3.5) (2016-07-17) @@ -1915,7 +2001,6 @@ renamed to `FileTransfer`. Also, `TransferObject` class has been renamed to `Fil - ## [1.3.4](https://github.com/ionic-team/ionic-native/compare/v1.3.3...v1.3.4) (2016-07-14) @@ -1930,7 +2015,6 @@ renamed to `FileTransfer`. Also, `TransferObject` class has been renamed to `Fil - ## [1.3.3](https://github.com/ionic-team/ionic-native/compare/v1.3.2...v1.3.3) (2016-07-11) @@ -1952,7 +2036,6 @@ renamed to `FileTransfer`. Also, `TransferObject` class has been renamed to `Fil - ## [1.3.2](https://github.com/ionic-team/ionic-native/compare/v1.3.1...v1.3.2) (2016-06-27) @@ -1962,7 +2045,6 @@ renamed to `FileTransfer`. Also, `TransferObject` class has been renamed to `Fil - ## [1.3.1](https://github.com/ionic-team/ionic-native/compare/v1.3.0...v1.3.1) (2016-06-26) @@ -1979,7 +2061,6 @@ renamed to `FileTransfer`. Also, `TransferObject` class has been renamed to `Fil - # [1.3.0](https://github.com/ionic-team/ionic-native/compare/v1.2.3...v1.3.0) (2016-06-13) @@ -2003,12 +2084,10 @@ renamed to `FileTransfer`. Also, `TransferObject` class has been renamed to `Fil - ## [1.2.3](https://github.com/ionic-team/ionic-native/compare/v1.2.2...v1.2.3) (2016-06-01) - ## [1.2.2](https://github.com/ionic-team/ionic-native/compare/v1.2.1...v1.2.2) (2016-05-20) @@ -2020,7 +2099,6 @@ renamed to `FileTransfer`. Also, `TransferObject` class has been renamed to `Fil - ## [1.2.1](https://github.com/ionic-team/ionic-native/compare/v1.2.0...v1.2.1) (2016-05-11) @@ -2035,7 +2113,6 @@ renamed to `FileTransfer`. Also, `TransferObject` class has been renamed to `Fil - # [1.2.0](https://github.com/ionic-team/ionic-native/compare/v1.1.0...v1.2.0) (2016-04-30) @@ -2077,7 +2154,6 @@ renamed to `FileTransfer`. Also, `TransferObject` class has been renamed to `Fil - # [1.1.0](https://github.com/ionic-team/ionic-native/compare/v1.0.9...v1.1.0) (2016-03-17) @@ -2139,7 +2215,6 @@ renamed to `FileTransfer`. Also, `TransferObject` class has been renamed to `Fil - ## [1.0.9](https://github.com/ionic-team/ionic-native/compare/8f27fc9...v1.0.9) (2016-02-18) diff --git a/package-lock.json b/package-lock.json index db6586c95..2f3b6a7cd 100644 --- a/package-lock.json +++ b/package-lock.json @@ -102,7 +102,7 @@ }, "@types/cordova": { "version": "0.0.34", - "resolved": "https://registry.npmjs.org/@types/cordova/-/cordova-0.0.34.tgz", + "resolved": "http://registry.npmjs.org/@types/cordova/-/cordova-0.0.34.tgz", "integrity": "sha1-6nrd907Ow9dimCegw54smt3HPQQ=", "dev": true }, @@ -496,7 +496,7 @@ }, "ansi-colors": { "version": "1.1.0", - "resolved": "https://registry.npmjs.org/ansi-colors/-/ansi-colors-1.1.0.tgz", + "resolved": "http://registry.npmjs.org/ansi-colors/-/ansi-colors-1.1.0.tgz", "integrity": "sha512-SFKX67auSNoVR38N3L+nvsPjOE0bybKTYbkf5tRvushrAPQ9V75huw0ZxBkKVeRU9kqH3d6HA4xTckbwZ4ixmA==", "dev": true, "requires": { @@ -685,7 +685,7 @@ }, "util": { "version": "0.10.3", - "resolved": "https://registry.npmjs.org/util/-/util-0.10.3.tgz", + "resolved": "http://registry.npmjs.org/util/-/util-0.10.3.tgz", "integrity": "sha1-evsa/lCAUkZInj23/g7TeTNqwPk=", "dev": true, "requires": { @@ -1149,7 +1149,7 @@ }, "browserify-aes": { "version": "1.2.0", - "resolved": "https://registry.npmjs.org/browserify-aes/-/browserify-aes-1.2.0.tgz", + "resolved": "http://registry.npmjs.org/browserify-aes/-/browserify-aes-1.2.0.tgz", "integrity": "sha512-+7CHXqGuspUn/Sl5aO7Ea0xWGAtETPXNSAjHo48JfLdPWcMng33Xe4znFvQweqc/uzk5zSOI3H52CYnjCfb5hA==", "dev": true, "requires": { @@ -1194,7 +1194,7 @@ }, "browserify-rsa": { "version": "4.0.1", - "resolved": "https://registry.npmjs.org/browserify-rsa/-/browserify-rsa-4.0.1.tgz", + "resolved": "http://registry.npmjs.org/browserify-rsa/-/browserify-rsa-4.0.1.tgz", "integrity": "sha1-IeCr+vbyApzy+vsTNWenAdQTVSQ=", "dev": true, "requires": { @@ -1384,7 +1384,7 @@ }, "canonical-path": { "version": "0.0.2", - "resolved": "https://registry.npmjs.org/canonical-path/-/canonical-path-0.0.2.tgz", + "resolved": "http://registry.npmjs.org/canonical-path/-/canonical-path-0.0.2.tgz", "integrity": "sha1-4x65N6jJPuKgHfGDl5RyGQKHRXQ=", "dev": true }, @@ -1425,7 +1425,7 @@ }, "chalk": { "version": "1.1.3", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz", + "resolved": "http://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz", "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=", "dev": true, "requires": { @@ -1655,7 +1655,7 @@ }, "colors": { "version": "1.0.3", - "resolved": "https://registry.npmjs.org/colors/-/colors-1.0.3.tgz", + "resolved": "http://registry.npmjs.org/colors/-/colors-1.0.3.tgz", "integrity": "sha1-BDP0TYCWgP3rYO0mDxsMJi6CpAs=", "dev": true }, @@ -1760,6 +1760,17 @@ "conventional-changelog-jscs": "^0.1.0", "conventional-changelog-jshint": "^2.0.0", "conventional-changelog-preset-loader": "^2.0.1" + }, + "dependencies": { + "conventional-changelog-jquery": { + "version": "0.1.0", + "resolved": "http://registry.npmjs.org/conventional-changelog-jquery/-/conventional-changelog-jquery-0.1.0.tgz", + "integrity": "sha1-Agg5cWLjhGmG5xJztsecW1+A9RA=", + "dev": true, + "requires": { + "q": "^1.4.1" + } + } } }, "conventional-changelog-angular": { @@ -2002,15 +2013,6 @@ "q": "^1.5.1" } }, - "conventional-changelog-jquery": { - "version": "0.1.0", - "resolved": "https://registry.npmjs.org/conventional-changelog-jquery/-/conventional-changelog-jquery-0.1.0.tgz", - "integrity": "sha1-Agg5cWLjhGmG5xJztsecW1+A9RA=", - "dev": true, - "requires": { - "q": "^1.4.1" - } - }, "conventional-changelog-jscs": { "version": "0.1.0", "resolved": "https://registry.npmjs.org/conventional-changelog-jscs/-/conventional-changelog-jscs-0.1.0.tgz", @@ -2427,7 +2429,7 @@ }, "create-hash": { "version": "1.2.0", - "resolved": "https://registry.npmjs.org/create-hash/-/create-hash-1.2.0.tgz", + "resolved": "http://registry.npmjs.org/create-hash/-/create-hash-1.2.0.tgz", "integrity": "sha512-z00bCGNHDG8mHAkP7CtT1qVu+bFQUPjYq/4Iv3C3kWjTFV10zIjfSoeqXo9Asws8gwSHDGj/hl2u4OGIjapeCg==", "dev": true, "requires": { @@ -2440,7 +2442,7 @@ }, "create-hmac": { "version": "1.1.7", - "resolved": "https://registry.npmjs.org/create-hmac/-/create-hmac-1.1.7.tgz", + "resolved": "http://registry.npmjs.org/create-hmac/-/create-hmac-1.1.7.tgz", "integrity": "sha512-MJG9liiZ+ogc4TzUwuvbER1JRdgvUFSB5+VR/g5h82fGaIRWMWddtKBHi7/sVhfjQZ6SehlyhvQYrcYkaUIpLg==", "dev": true, "requires": { @@ -2832,7 +2834,7 @@ "dependencies": { "typescript": { "version": "1.8.10", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-1.8.10.tgz", + "resolved": "http://registry.npmjs.org/typescript/-/typescript-1.8.10.tgz", "integrity": "sha1-tHXW4N/wv1DyluXKbvn7tccyDx4=", "dev": true } @@ -2863,7 +2865,7 @@ }, "diffie-hellman": { "version": "5.0.3", - "resolved": "https://registry.npmjs.org/diffie-hellman/-/diffie-hellman-5.0.3.tgz", + "resolved": "http://registry.npmjs.org/diffie-hellman/-/diffie-hellman-5.0.3.tgz", "integrity": "sha512-kqag/Nl+f3GwyK25fhUMYj81BUOrZ9IuJsjIcDE5icNM9FJHAVm3VcUDxdLPoQtTuUylWm6ZIknYJwwaPxsUzg==", "dev": true, "requires": { @@ -2874,7 +2876,7 @@ }, "doctrine": { "version": "0.7.2", - "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-0.7.2.tgz", + "resolved": "http://registry.npmjs.org/doctrine/-/doctrine-0.7.2.tgz", "integrity": "sha1-fLhgNZujvpDgQLJrcpzkv6ZUxSM=", "dev": true, "requires": { @@ -2908,7 +2910,7 @@ "dependencies": { "domelementtype": { "version": "1.1.3", - "resolved": "https://registry.npmjs.org/domelementtype/-/domelementtype-1.1.3.tgz", + "resolved": "http://registry.npmjs.org/domelementtype/-/domelementtype-1.1.3.tgz", "integrity": "sha1-vSh3PiZCiBrsUVRJJCmcXNgiGFs=", "dev": true } @@ -2922,7 +2924,7 @@ }, "domelementtype": { "version": "1.3.0", - "resolved": "https://registry.npmjs.org/domelementtype/-/domelementtype-1.3.0.tgz", + "resolved": "http://registry.npmjs.org/domelementtype/-/domelementtype-1.3.0.tgz", "integrity": "sha1-sXrtguirWeUt2cGbF1bg/BhyBMI=", "dev": true }, @@ -2989,7 +2991,7 @@ }, "readable-stream": { "version": "1.1.14", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-1.1.14.tgz", + "resolved": "http://registry.npmjs.org/readable-stream/-/readable-stream-1.1.14.tgz", "integrity": "sha1-fPTFTvZI44EwhMY23SB54WbAgdk=", "dev": true, "requires": { @@ -3001,7 +3003,7 @@ }, "string_decoder": { "version": "0.10.31", - "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-0.10.31.tgz", + "resolved": "http://registry.npmjs.org/string_decoder/-/string_decoder-0.10.31.tgz", "integrity": "sha1-YuIDvEF2bGwoyfyEMB2rHFMQ+pQ=", "dev": true } @@ -3179,7 +3181,7 @@ }, "espree": { "version": "2.2.5", - "resolved": "https://registry.npmjs.org/espree/-/espree-2.2.5.tgz", + "resolved": "http://registry.npmjs.org/espree/-/espree-2.2.5.tgz", "integrity": "sha1-32kbkxCIlAKuspzAZnCMVmkLhUs=", "dev": true }, @@ -3206,7 +3208,7 @@ }, "events": { "version": "1.1.1", - "resolved": "https://registry.npmjs.org/events/-/events-1.1.1.tgz", + "resolved": "http://registry.npmjs.org/events/-/events-1.1.1.tgz", "integrity": "sha1-nr23Y1rQmccNzEwqH1AEKI6L2SQ=", "dev": true }, @@ -3274,7 +3276,7 @@ }, "expand-range": { "version": "1.8.2", - "resolved": "https://registry.npmjs.org/expand-range/-/expand-range-1.8.2.tgz", + "resolved": "http://registry.npmjs.org/expand-range/-/expand-range-1.8.2.tgz", "integrity": "sha1-opnv/TNf4nIeuujiV+x5ZE/IUzc=", "dev": true, "requires": { @@ -5089,7 +5091,7 @@ }, "readable-stream": { "version": "1.0.34", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-1.0.34.tgz", + "resolved": "http://registry.npmjs.org/readable-stream/-/readable-stream-1.0.34.tgz", "integrity": "sha1-Elgg40vIQtLyqq+v5MKRbuMsFXw=", "dev": true, "requires": { @@ -5101,13 +5103,13 @@ }, "string_decoder": { "version": "0.10.31", - "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-0.10.31.tgz", + "resolved": "http://registry.npmjs.org/string_decoder/-/string_decoder-0.10.31.tgz", "integrity": "sha1-YuIDvEF2bGwoyfyEMB2rHFMQ+pQ=", "dev": true }, "through2": { "version": "0.6.5", - "resolved": "https://registry.npmjs.org/through2/-/through2-0.6.5.tgz", + "resolved": "http://registry.npmjs.org/through2/-/through2-0.6.5.tgz", "integrity": "sha1-QaucZ7KdVyCQcUEOHXp6lozTrUg=", "dev": true, "requires": { @@ -5119,7 +5121,7 @@ }, "glob-watcher": { "version": "0.0.6", - "resolved": "https://registry.npmjs.org/glob-watcher/-/glob-watcher-0.0.6.tgz", + "resolved": "http://registry.npmjs.org/glob-watcher/-/glob-watcher-0.0.6.tgz", "integrity": "sha1-uVtKjfdLOcgymLDAXJeLTZo7cQs=", "dev": true, "requires": { @@ -5187,7 +5189,7 @@ }, "graceful-fs": { "version": "1.2.3", - "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-1.2.3.tgz", + "resolved": "http://registry.npmjs.org/graceful-fs/-/graceful-fs-1.2.3.tgz", "integrity": "sha1-FaSAaldUfLLS2/J/QuiajDRRs2Q=", "dev": true }, @@ -5199,13 +5201,13 @@ }, "lodash": { "version": "1.0.2", - "resolved": "https://registry.npmjs.org/lodash/-/lodash-1.0.2.tgz", + "resolved": "http://registry.npmjs.org/lodash/-/lodash-1.0.2.tgz", "integrity": "sha1-j1dWDIO1n8JwvT1WG2kAQ0MOJVE=", "dev": true }, "lru-cache": { "version": "2.7.3", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-2.7.3.tgz", + "resolved": "http://registry.npmjs.org/lru-cache/-/lru-cache-2.7.3.tgz", "integrity": "sha1-bUUk6LlV+V1PW1iFHOId1y+06VI=", "dev": true }, @@ -5244,7 +5246,7 @@ }, "gulp": { "version": "3.9.1", - "resolved": "https://registry.npmjs.org/gulp/-/gulp-3.9.1.tgz", + "resolved": "http://registry.npmjs.org/gulp/-/gulp-3.9.1.tgz", "integrity": "sha1-VxzkWSjdQK9lFPxAEYZgFsE4RbQ=", "dev": true, "requires": { @@ -5265,7 +5267,7 @@ "dependencies": { "semver": { "version": "4.3.6", - "resolved": "https://registry.npmjs.org/semver/-/semver-4.3.6.tgz", + "resolved": "http://registry.npmjs.org/semver/-/semver-4.3.6.tgz", "integrity": "sha1-MAvG4OhjdPe6YQaLWx7NV/xlMto=", "dev": true } @@ -5325,7 +5327,7 @@ }, "chalk": { "version": "2.3.1", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.3.1.tgz", + "resolved": "http://registry.npmjs.org/chalk/-/chalk-2.3.1.tgz", "integrity": "sha512-QUU4ofkDoMIVO7hcx1iPTISs88wsO8jA92RQIm4JAwZvFGGAV2hSAA1NX7oVj2Ej2Q6NDTcRDjPTFrMCRZoJ6g==", "dev": true, "requires": { @@ -5882,7 +5884,7 @@ }, "is-builtin-module": { "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-builtin-module/-/is-builtin-module-1.0.0.tgz", + "resolved": "http://registry.npmjs.org/is-builtin-module/-/is-builtin-module-1.0.0.tgz", "integrity": "sha1-VAVy0096wxGfj3bDDLwbHgN6/74=", "dev": true, "requires": { @@ -6018,7 +6020,7 @@ }, "is-obj": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/is-obj/-/is-obj-1.0.1.tgz", + "resolved": "http://registry.npmjs.org/is-obj/-/is-obj-1.0.1.tgz", "integrity": "sha1-PkcprB9f3gJc19g6iW2rn09n2w8=", "dev": true }, @@ -7388,7 +7390,7 @@ }, "jsesc": { "version": "1.3.0", - "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-1.3.0.tgz", + "resolved": "http://registry.npmjs.org/jsesc/-/jsesc-1.3.0.tgz", "integrity": "sha1-RsP+yMGJKxKwgz25vHYiF226s0s=", "dev": true }, @@ -7418,7 +7420,7 @@ }, "json5": { "version": "0.5.1", - "resolved": "https://registry.npmjs.org/json5/-/json5-0.5.1.tgz", + "resolved": "http://registry.npmjs.org/json5/-/json5-0.5.1.tgz", "integrity": "sha1-Hq3nrMASA0rYTiOWdn6tn6VJWCE=", "dev": true }, @@ -8013,7 +8015,7 @@ }, "minimist": { "version": "1.2.0", - "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.0.tgz", + "resolved": "http://registry.npmjs.org/minimist/-/minimist-1.2.0.tgz", "integrity": "sha1-o1AIsg9BOD7sH7kU9M1d95omQoQ=", "dev": true }, @@ -8079,7 +8081,7 @@ }, "mkdirp": { "version": "0.5.1", - "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.1.tgz", + "resolved": "http://registry.npmjs.org/mkdirp/-/mkdirp-0.5.1.tgz", "integrity": "sha1-MAV0OOrGz3+MR2fzhkjWaX11yQM=", "dev": true, "requires": { @@ -8088,7 +8090,7 @@ "dependencies": { "minimist": { "version": "0.0.8", - "resolved": "https://registry.npmjs.org/minimist/-/minimist-0.0.8.tgz", + "resolved": "http://registry.npmjs.org/minimist/-/minimist-0.0.8.tgz", "integrity": "sha1-hX/Kv8M5fSYluCKCYuhqp6ARsF0=", "dev": true } @@ -8329,7 +8331,7 @@ }, "nunjucks": { "version": "2.5.2", - "resolved": "https://registry.npmjs.org/nunjucks/-/nunjucks-2.5.2.tgz", + "resolved": "http://registry.npmjs.org/nunjucks/-/nunjucks-2.5.2.tgz", "integrity": "sha1-6n00bnhbikh0Zmw8yp4YxXf7oiw=", "dev": true, "requires": { @@ -8542,7 +8544,7 @@ "dependencies": { "minimist": { "version": "0.0.10", - "resolved": "https://registry.npmjs.org/minimist/-/minimist-0.0.10.tgz", + "resolved": "http://registry.npmjs.org/minimist/-/minimist-0.0.10.tgz", "integrity": "sha1-3j+YVD2/lggr5IrRoMfNqDYwHc8=", "dev": true } @@ -8595,13 +8597,13 @@ }, "os-homedir": { "version": "1.0.2", - "resolved": "https://registry.npmjs.org/os-homedir/-/os-homedir-1.0.2.tgz", + "resolved": "http://registry.npmjs.org/os-homedir/-/os-homedir-1.0.2.tgz", "integrity": "sha1-/7xJiDNuDoM94MFox+8VISGqf7M=", "dev": true }, "os-locale": { "version": "1.4.0", - "resolved": "https://registry.npmjs.org/os-locale/-/os-locale-1.4.0.tgz", + "resolved": "http://registry.npmjs.org/os-locale/-/os-locale-1.4.0.tgz", "integrity": "sha1-IPnxeuKe00XoveWDsT0gCYA8FNk=", "dev": true, "requires": { @@ -8610,7 +8612,7 @@ }, "os-tmpdir": { "version": "1.0.2", - "resolved": "https://registry.npmjs.org/os-tmpdir/-/os-tmpdir-1.0.2.tgz", + "resolved": "http://registry.npmjs.org/os-tmpdir/-/os-tmpdir-1.0.2.tgz", "integrity": "sha1-u+Z0BseaqFxc/sdm/lc0VV36EnQ=", "dev": true }, @@ -8672,7 +8674,7 @@ }, "parse-asn1": { "version": "5.1.1", - "resolved": "https://registry.npmjs.org/parse-asn1/-/parse-asn1-5.1.1.tgz", + "resolved": "http://registry.npmjs.org/parse-asn1/-/parse-asn1-5.1.1.tgz", "integrity": "sha512-KPx7flKXg775zZpnp9SxJlz00gTd4BmJ2yJufSc44gMCRrRQ7NSzAcSJQfifuOLgW6bEi+ftrALtsgALeB2Adw==", "dev": true, "requires": { @@ -8779,7 +8781,7 @@ }, "path-is-absolute": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", + "resolved": "http://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", "integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=", "dev": true }, @@ -8921,7 +8923,7 @@ }, "pretty-hrtime": { "version": "1.0.3", - "resolved": "https://registry.npmjs.org/pretty-hrtime/-/pretty-hrtime-1.0.3.tgz", + "resolved": "http://registry.npmjs.org/pretty-hrtime/-/pretty-hrtime-1.0.3.tgz", "integrity": "sha1-t+PqQkNaTJsnWdmeDyAesZWALuE=", "dev": true }, @@ -9559,7 +9561,7 @@ }, "safe-regex": { "version": "1.1.0", - "resolved": "https://registry.npmjs.org/safe-regex/-/safe-regex-1.1.0.tgz", + "resolved": "http://registry.npmjs.org/safe-regex/-/safe-regex-1.1.0.tgz", "integrity": "sha1-QKNmnzsHfR6UPURinhV91IAjvy4=", "dev": true, "requires": { @@ -10512,7 +10514,7 @@ }, "sha.js": { "version": "2.4.11", - "resolved": "https://registry.npmjs.org/sha.js/-/sha.js-2.4.11.tgz", + "resolved": "http://registry.npmjs.org/sha.js/-/sha.js-2.4.11.tgz", "integrity": "sha512-QMEp5B7cftE7APOjk5Y6xgrbWu+WkLVQwk8JNjZ8nKRciZaByEW6MubieAiToS7+dwvrjGhH8jRXz3MVd0AYqQ==", "dev": true, "requires": { @@ -10804,7 +10806,7 @@ }, "spdx-license-list": { "version": "2.1.0", - "resolved": "https://registry.npmjs.org/spdx-license-list/-/spdx-license-list-2.1.0.tgz", + "resolved": "http://registry.npmjs.org/spdx-license-list/-/spdx-license-list-2.1.0.tgz", "integrity": "sha1-N4j/tcgLJK++goOTTp5mhOpqIY0=", "dev": true }, @@ -10928,7 +10930,7 @@ }, "stream-browserify": { "version": "2.0.1", - "resolved": "https://registry.npmjs.org/stream-browserify/-/stream-browserify-2.0.1.tgz", + "resolved": "http://registry.npmjs.org/stream-browserify/-/stream-browserify-2.0.1.tgz", "integrity": "sha1-ZiZu5fm9uZQKTkUUyvtDu3Hlyds=", "dev": true, "requires": { @@ -11075,7 +11077,7 @@ }, "strip-ansi": { "version": "3.0.1", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz", + "resolved": "http://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz", "integrity": "sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=", "dev": true, "requires": { @@ -11449,9 +11451,9 @@ } }, "text-extensions": { - "version": "1.7.0", - "resolved": "https://registry.npmjs.org/text-extensions/-/text-extensions-1.7.0.tgz", - "integrity": "sha512-AKXZeDq230UaSzaO5s3qQUZOaC7iKbzq0jOFL614R7d9R593HLqAOL0cYoqLdkNrjBSOdmoQI06yigq1TSBXAg==", + "version": "1.9.0", + "resolved": "https://registry.npmjs.org/text-extensions/-/text-extensions-1.9.0.tgz", + "integrity": "sha512-wiBrwC1EhBelW12Zy26JeOUkQ5mRu+5o8rpsJk5+2t+Y5vE7e842qtZDQ2g1NpX/29HdyFeJ4nSIhI47ENSxlQ==", "dev": true }, "text-hex": { @@ -11474,7 +11476,7 @@ }, "through": { "version": "2.3.8", - "resolved": "https://registry.npmjs.org/through/-/through-2.3.8.tgz", + "resolved": "http://registry.npmjs.org/through/-/through-2.3.8.tgz", "integrity": "sha1-DdTJ/6q8NXlgsbckEV1+Doai4fU=", "dev": true }, @@ -12213,7 +12215,7 @@ }, "uuid": { "version": "2.0.3", - "resolved": "https://registry.npmjs.org/uuid/-/uuid-2.0.3.tgz", + "resolved": "http://registry.npmjs.org/uuid/-/uuid-2.0.3.tgz", "integrity": "sha1-Z+LoY3lyFVMN/zGOW/nc6/1Hsho=", "dev": true }, @@ -12288,7 +12290,7 @@ }, "graceful-fs": { "version": "3.0.11", - "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-3.0.11.tgz", + "resolved": "http://registry.npmjs.org/graceful-fs/-/graceful-fs-3.0.11.tgz", "integrity": "sha1-dhPHeKGv6mLyXGMKCG1/Osu92Bg=", "dev": true, "requires": { @@ -12303,7 +12305,7 @@ }, "readable-stream": { "version": "1.0.34", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-1.0.34.tgz", + "resolved": "http://registry.npmjs.org/readable-stream/-/readable-stream-1.0.34.tgz", "integrity": "sha1-Elgg40vIQtLyqq+v5MKRbuMsFXw=", "dev": true, "requires": { @@ -12315,7 +12317,7 @@ }, "string_decoder": { "version": "0.10.31", - "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-0.10.31.tgz", + "resolved": "http://registry.npmjs.org/string_decoder/-/string_decoder-0.10.31.tgz", "integrity": "sha1-YuIDvEF2bGwoyfyEMB2rHFMQ+pQ=", "dev": true }, @@ -12331,7 +12333,7 @@ }, "through2": { "version": "0.6.5", - "resolved": "https://registry.npmjs.org/through2/-/through2-0.6.5.tgz", + "resolved": "http://registry.npmjs.org/through2/-/through2-0.6.5.tgz", "integrity": "sha1-QaucZ7KdVyCQcUEOHXp6lozTrUg=", "dev": true, "requires": { @@ -13915,7 +13917,7 @@ }, "wrap-ansi": { "version": "2.1.0", - "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-2.1.0.tgz", + "resolved": "http://registry.npmjs.org/wrap-ansi/-/wrap-ansi-2.1.0.tgz", "integrity": "sha1-2Pw9KE3QV5T+hJc8rs3Rz4JP3YU=", "dev": true, "requires": { diff --git a/src/@ionic-native/plugins/admob-plus/index.ts b/src/@ionic-native/plugins/admob-plus/index.ts new file mode 100644 index 000000000..c4a4f6ba6 --- /dev/null +++ b/src/@ionic-native/plugins/admob-plus/index.ts @@ -0,0 +1,94 @@ +import { Injectable } from '@angular/core'; +import { Cordova, IonicNativePlugin, Plugin } from '@ionic-native/core'; +import { Observable, fromEvent } from 'rxjs'; + +export type AdUnitIDOption = string | { + android: string; + ios: string; +}; + +/** + * @name AdMob Plus + * @description + * AdMob Plus is the successor of cordova-plugin-admob-free, which provides a cleaner API and build with modern tools. + */ +@Plugin({ + plugin: 'cordova-admob-plus', + pluginName: 'AdMob', + pluginRef: 'admob.banner', + repo: 'https://github.com/admob-plus/admob-plus', + platforms: ['Android', 'iOS'] +}) +export class Banner { + @Cordova({ otherPromise: true }) + hide(): Promise { + return Promise.resolve(); + } + + @Cordova({ otherPromise: true }) + show(opts: { id?: AdUnitIDOption }): Promise { + return Promise.resolve(); + } +} + +@Plugin({ + plugin: 'cordova-admob-plus', + pluginName: 'AdMob', + pluginRef: 'admob.interstitial', +}) +export class Interstitial { + @Cordova({ otherPromise: true }) + load(opts: { id?: AdUnitIDOption }): Promise { + return Promise.resolve(); + } + + @Cordova({ otherPromise: true }) + show(): Promise { + return Promise.resolve(); + } +} + +@Plugin({ + plugin: 'cordova-admob-plus', + pluginName: 'AdMob', + pluginRef: 'admob.rewardVideo', +}) +export class RewardVideo { + @Cordova({ otherPromise: true }) + load(opts: { id?: AdUnitIDOption }): Promise { + return Promise.resolve(); + } + + @Cordova({ otherPromise: true }) + show(): Promise { + return Promise.resolve(); + } +} + +@Plugin({ + platforms: ['Android', 'iOS'], + plugin: 'cordova-admob-plus', + pluginName: 'AdMob', + pluginRef: 'admob', + repo: 'https://github.com/admob-plus/admob-plus', +}) +@Injectable() +export class AdMob extends IonicNativePlugin { + banner = new Banner(); + interstitial = new Interstitial(); + rewardVideo = new RewardVideo(); + + @Cordova({ otherPromise: true }) + setAppMuted(value: boolean): Promise { + return Promise.resolve(); + } + + @Cordova({ otherPromise: true }) + setAppVolume(value: number): Promise { + return Promise.resolve(); + } + + on(event: string): Observable { + return fromEvent(document, event); + } +} diff --git a/src/@ionic-native/plugins/camera/index.ts b/src/@ionic-native/plugins/camera/index.ts index 42e4e85a2..3602bb360 100644 --- a/src/@ionic-native/plugins/camera/index.ts +++ b/src/@ionic-native/plugins/camera/index.ts @@ -128,6 +128,8 @@ export enum Direction { * * Requires the Cordova plugin: `cordova-plugin-camera`. For more info, please see the [Cordova Camera Plugin Docs](https://github.com/apache/cordova-plugin-camera). * + * [Warning] Since IOS 10 the camera requires permissions to be placed in your config.xml add 'You can take photos inside of the } Returns a Promise that resolves to updated file entry or rejects with an error. */ @CordovaCheck() diff --git a/src/@ionic-native/plugins/firebase-authentication/index.ts b/src/@ionic-native/plugins/firebase-authentication/index.ts new file mode 100644 index 000000000..c83eec10a --- /dev/null +++ b/src/@ionic-native/plugins/firebase-authentication/index.ts @@ -0,0 +1,189 @@ +import { Injectable } from '@angular/core'; +import { Cordova, IonicNativePlugin, Plugin } from '@ionic-native/core'; +import { Observable } from 'rxjs'; + +/** + * @name Firebase Authentication + * @description + * Cordova plugin for Firebase Authentication + * + * @usage + * ```typescript + * import { FirebaseAuthentication } from '@ionic-native/firebase-authentication/ngx'; + * + * + * constructor(private firebaseAuthentication: FirebaseAuthentication) { } + * + * ... + * + * + * this.firebaseAuthentication.createUserWithEmailAndPassword('test@gmail.com', '123') + * .then((res: any) => console.log(res)) + * .catch((error: any) => console.error(error)); + * + * ``` + */ +@Plugin({ + pluginName: 'FirebaseAuthentication', + plugin: 'cordova-plugin-firebase-authentication', + pluginRef: 'cordova.plugins.firebase.auth', + repo: 'https://github.com/chemerisuk/cordova-plugin-firebase-authentication', + install: 'ionic cordova plugin add cordova-plugin-firebase-authentication --variable FIREBASE_AUTH_VERSION=version', + installVariables: ['FIREBASE_AUTH_VERSION'], + platforms: ['Android', 'iOS'] +}) +@Injectable() +export class FirebaseAuthentication extends IonicNativePlugin { + /** + * Returns a JWT token used to identify the user to a Firebase service. + * @param forceRefresh {boolean} Force Refresh + * @return {Promise} Returns the id token + */ + @Cordova({ sync: true }) + getIdToken(forceRefresh: boolean): Promise { + return; + } + + /** + * Tries to create a new user account with the given email address and password. + * @param email Email + * @param password Password + */ + @Cordova({ sync: true }) + createUserWithEmailAndPassword( + email: string, + password: string + ): Promise { + return; + } + + /** + * Initiates email verification for the current user. + */ + @Cordova({ sync: true }) + sendEmailVerification(): Promise { + return; + } + + /** + * Triggers the Firebase Authentication backend to send a password-reset email to the given email address, + * which must correspond to an existing user of your app. + * @param email Email + */ + @Cordova({ sync: true }) + sendPasswordResetEmail(email: string): Promise { + return; + } + + /** + * Asynchronously signs in using an email and password. + * @param email Email + * @param password Password + */ + @Cordova({ sync: true }) + signInWithEmailAndPassword(email: string, password: string): Promise { + return; + } + + /** + * Starts the phone number verification process for the given phone number. + * NOTE: Android supports auto-verify and instant device verification. + * Therefore in that cases it doesn't make sense to ask for sms code. + * It's recommended to register onAuthStateChanged callback to be notified on auto sign-in. + * timeout [milliseconds] is the maximum amount of time you are willing to wait for SMS auto-retrieval + * to be completed by the library. Maximum allowed value is 2 minutes. Use 0 to disable SMS-auto-retrieval. + * If you specify a positive value less than 30 seconds, library will default to 30 seconds. + * @param phoneNumber Phone number + * @param timeout {number} Timeout + */ + @Cordova({ sync: true }) + verifyPhoneNumber(phoneNumber: string, timeout: number): Promise { + return; + } + + /** + * Asynchronously signs in using verificationId and 6-digit SMS code. + * @param verificationId Verification ID + * @param smsCode SMS code + */ + @Cordova({ sync: true }) + signInWithVerificationId( + verificationId: string, + smsCode: number + ): Promise { + return; + } + + /** + * Create and use temporary anonymous account to authenticate with Firebase. + */ + @Cordova({ sync: true }) + signInAnonymously(): Promise { + return; + } + + /** + * Uses Google's idToken and accessToken to sign-in into firebase account. In order to retrieve those tokens follow instructions for Android and iOS + * @param idToken ID Token + * @param accessToken Access Token + */ + @Cordova({ sync: true }) + signInWithGoogle(idToken: string, accessToken: string): Promise { + return; + } + + /** + * Uses Facebook's accessToken to sign-in into firebase account. In order to retrieve those tokens follow instructions for Android and iOS. + * @param accessToken Access Token + */ + @Cordova({ sync: true }) + signInWithFacebook(accessToken: string): Promise { + return; + } + + /** + * Uses Twitter's token and secret to sign-in into firebase account. In order to retrieve those tokens follow instructions for Android and iOS. + * @param token Token + * @param secret Secret + */ + @Cordova({ sync: true }) + signInWithTwitter(token: string, secret: string): Promise { + return; + } + + /** + * Registers a block as an auth state did change listener. To be invoked when: + * - The block is registered as a listener, + * - A user with a different UID from the current user has signed in, or + * - The current user has signed out. + */ + @Cordova({ observable: true, callbackOrder: 'reverse' }) + onAuthStateChanged(): Observable { + return; + } + + /** + * Set's the current user language code. The string used to set this property must be a language code that follows BCP 47. + * @param languageCode Language Code + */ + @Cordova({ sync: true }) + setLanguageCode(languageCode: string): Promise { + return; + } + + /** + * Sets languageCode to the app’s current language. + */ + @Cordova({ sync: true }) + useAppLanguage(): Promise { + return; + } + + /** + * Signs out the current user and clears it from the disk cache. + */ + @Cordova({ sync: true }) + signOut(): Promise { + return; + } +} diff --git a/src/@ionic-native/plugins/firebase-messaging/index.ts b/src/@ionic-native/plugins/firebase-messaging/index.ts index 283ff5fab..09dabf727 100644 --- a/src/@ionic-native/plugins/firebase-messaging/index.ts +++ b/src/@ionic-native/plugins/firebase-messaging/index.ts @@ -133,4 +133,14 @@ export class FirebaseMessaging extends IonicNativePlugin { setBadge(value: number): Promise { return; } + + /** + * Revoke the current FCM token. + * + * @returns {Promise} + */ + @Cordova({ sync: true }) + revokeToken(): Promise { + return; + } } diff --git a/src/@ionic-native/plugins/firebase/index.ts b/src/@ionic-native/plugins/firebase/index.ts index 24adb69de..d1028b16c 100644 --- a/src/@ionic-native/plugins/firebase/index.ts +++ b/src/@ionic-native/plugins/firebase/index.ts @@ -307,6 +307,17 @@ export class Firebase extends IonicNativePlugin { return; } + /** + * Allows the user to set User Identifier for crashlytics reporting + * https://firebase.google.com/docs/crashlytics/customize-crash-reports?authuser=0#set_user_ids + * @param {string} userId value to set the userId + * @returns {Promise} + */ + @Cordova() + setCrashlyticsUserId(userId: string): Promise { + return; + } + /** * Sends an SMS to the user with the SMS verification code and returns the Verification ID required to sign in using phone authentication * @param {string} phoneNumber The phone number, including '+' and country code diff --git a/src/@ionic-native/plugins/geolocation/index.ts b/src/@ionic-native/plugins/geolocation/index.ts index f5156cf9e..e7ab54028 100644 --- a/src/@ionic-native/plugins/geolocation/index.ts +++ b/src/@ionic-native/plugins/geolocation/index.ts @@ -114,7 +114,7 @@ export interface GeolocationOptions { * For iOS you have to add this configuration to your configuration.xml file * ```xml * - * We want your location! Best regards NSA + * We use your location for full functionality of certain app features. * * ``` * diff --git a/src/@ionic-native/plugins/last-cam/index.ts b/src/@ionic-native/plugins/last-cam/index.ts new file mode 100644 index 000000000..9b9af241c --- /dev/null +++ b/src/@ionic-native/plugins/last-cam/index.ts @@ -0,0 +1,137 @@ +import { Injectable } from '@angular/core'; +import { Cordova, IonicNativePlugin, Plugin } from '@ionic-native/core'; +import { Observable } from 'rxjs'; + +export interface LastCamStartupOptions { + /** The left edge in pixels, default 0 */ + x?: number; + + /** The top edge in pixels, default 0 */ + y?: number; + + /** The width in pixels, default window.screen.width */ + width?: number; + + /** The height in pixels, default window.screen.height */ + height?: number; + + /** Choose the camera to use 'front' or 'back', default 'front' */ + camera?: string; +} + +/** + * @name LastCam + * @description + * Last Cam is a Camera Preview plugin that allows you to take capture both Videos and images in a + * custom html preview of your choice. + * + * @interfaces + * LastCamStartupOptions + */ +@Plugin({ + pluginName: 'LastCam', + plugin: 'cordova-plugin-last-cam', + pluginRef: 'LastCam', + repo: 'https://github.com/bengejd/cordova-plugin-last-cam', + platforms: ['iOS'] +}) +@Injectable() +export class LastCam extends IonicNativePlugin { + /** + * Starts the camera preview instance. + * @param {LastCamStartupOptions} options + * @return {Promise} + */ + @Cordova({ + successIndex: 1, + errorIndex: 2 + }) + startCamera(options: LastCamStartupOptions): Promise { + return; + } + + /** + * Stops the camera preview instance. (iOS) + * @return {Promise} + */ + @Cordova() + stopCamera(): Promise { + return; + } + + /** + * Switch from the rear camera and front camera, if available. + * @return {Promise} + */ + @Cordova() + switchCamera(): Promise { + return; + } + + /** + * Switch the flash mode. + * @return {Promise} + */ + @Cordova() + switchFlash(): Promise { + return; + } + + /** + * Take the picture (base64) + * @return {Promise} + */ + @Cordova({ + successIndex: 0, + errorIndex: 1 + }) + takePicture(): Promise { + return; + } + + /** + * Start the video capture + * @return {Promise} + */ + @Cordova() + startVideoCapture(): Promise { + return; + } + + /** + * Stops the video capture + * @return {Promise} + */ + @Cordova({ + successIndex: 0, + errorIndex: 1 + }) + stopVideoCapture(): Promise { + return; + } + + /** + * Promise of the recordingTimer. + * @return {Promise} + */ + @Cordova({ + successIndex: 0, + errorIndex: 1 + }) + recordingTimer(): Promise { + return; + } + + /** + * Observable of the recordingTimer. + * @return {Observable} + */ + @Cordova({ + successIndex: 0, + errorIndex: 1, + observable: true + }) + watchRecordingTimer(): Observable { + return; + } +} diff --git a/src/@ionic-native/plugins/line-login/index.ts b/src/@ionic-native/plugins/line-login/index.ts new file mode 100644 index 000000000..bd56262f4 --- /dev/null +++ b/src/@ionic-native/plugins/line-login/index.ts @@ -0,0 +1,150 @@ +import { Injectable } from '@angular/core'; +import { Cordova, IonicNativePlugin, Plugin } from '@ionic-native/core'; + +export interface LineLoginParams { + /** + * Line Channel ID + */ + channel_id: string; +} + +export interface LineLoginProfile { + /** + * Line User ID + */ + userID: string; + + /** + * Line Profile Image URL + */ + pictureURL: string; + + /** + * Line Profile Name + */ + displayName: string; +} + +export interface LineLoginAccessToken { + /** + * Line Access Token + */ + accessToken: string; + + /** + * Line Access Token Expire Time + */ + expireTime: string; +} + +/** + * @name Line Login + * @description + * The function login, logs out, acquires, verifies, and refreshes the access token. The version of LineSDK you are using is as follows. + * + * @usage + * ```typescript + * import { LineLogin } from '@ionic-native/line-login/ngx'; + * + * + * constructor(private lineLogin: LineLogin) { } + * + * ... + * + * + * this.lineLogin.initialize({ channel_id: "xxxxxxxxxx" }) + * + * this.lineLogin.login() + * .then(result => console.log(result)) + * .catch(error => console.log(error)) + * + * ``` + * + * @interfaces + * LineLoginParams + * LineLoginProfile + * LineLoginAccessToken + * + */ +@Plugin({ + pluginName: 'LineLogin', + plugin: 'cordova-line-login-plugin', + pluginRef: 'lineLogin', + repo: 'https://github.com/nrikiji/cordova-line-login-plugin', + install: 'ionic cordova plugin add https://github.com/nrikiji/cordova-line-login-plugin.git --variable LINE_CHANNEL_ID="your_line_channel_id"', + installVariables: ['LINE_CHANNEL_ID'], + platforms: ['Android', 'iOS'] +}) +@Injectable() +export class LineLogin extends IonicNativePlugin { + /** + * Initialize + * @param param LineLoginParams + * @return {Promise} + */ + @Cordova() + initialize(param: LineLoginParams): Promise { + return; + } + + /** + * Login + * @return {Promise} + */ + @Cordova({ + successIndex: 1, + errorIndex: 2 + }) + login(): Promise { + return; + } + + /** + * Login with Web + * (iOS only) + * @return {Promise} + */ + @Cordova({ + successIndex: 1, + errorIndex: 2 + }) + loginWeb(): Promise { + return; + } + + /** + * Logout + * @return {Promise} + */ + @Cordova() + logout(): Promise { + return; + } + + /** + * Get Access Token + * @return {Promise} + */ + @Cordova() + getAccessToken(): Promise { + return; + } + + /** + * Verify AccessToken + * @return {Promise} + */ + @Cordova() + verifyAccessToken(): Promise { + return; + } + + /** + * Refresh Access Token + * @return {Promise} + */ + @Cordova() + refreshAccessToken(): Promise { + return; + } +} diff --git a/src/@ionic-native/plugins/network/index.ts b/src/@ionic-native/plugins/network/index.ts index c96561112..ec8059a03 100644 --- a/src/@ionic-native/plugins/network/index.ts +++ b/src/@ionic-native/plugins/network/index.ts @@ -10,6 +10,17 @@ import { Observable, merge } from 'rxjs'; declare const navigator: any; +export enum Connection { + UNKNOWN = 0, + ETHERNET, + WIFI, + CELL_2G, + CELL_3G , + CELL_4G, + CELL, + NONE +} + /** * @name Network * @description @@ -23,7 +34,7 @@ declare const navigator: any; * * ... * - * // watch network for a disconnect + * // watch network for a disconnection * let disconnectSubscription = this.network.onDisconnect().subscribe(() => { * console.log('network was disconnected :-('); * }); @@ -61,6 +72,21 @@ declare const navigator: any; }) @Injectable() export class Network extends IonicNativePlugin { + + /** + * Constants for possible connection types + */ + Connection = { + UNKNOWN: 'unknown', + ETHERNET: 'ethernet', + WIFI: 'wifi', + CELL_2G: '2g', + CELL_3G: '3g', + CELL_4G: '4g', + CELL: 'cellular', + NONE: 'none' + }; + /** * Connection type * @return {string} diff --git a/src/@ionic-native/plugins/nfc/index.ts b/src/@ionic-native/plugins/nfc/index.ts index 5d50bb6ba..f2d322aee 100644 --- a/src/@ionic-native/plugins/nfc/index.ts +++ b/src/@ionic-native/plugins/nfc/index.ts @@ -76,6 +76,15 @@ export interface NdefTag { */ @Injectable() export class NFC extends IonicNativePlugin { + FLAG_READER = { + NFC_A: 0, + NFC_B: 0x2, + NFC_F: 0x4, + NFC_V: 0x8, + NFC_BARCODE: 0x10, + SKIP_NDEF_CHECK: 0x80, + NO_PLATFORM_SOUNDS: 0x100, + }; /** * Starts the NFCNDEFReaderSession allowing iOS to scan NFC tags. * @param onSuccess diff --git a/src/@ionic-native/plugins/onesignal/index.ts b/src/@ionic-native/plugins/onesignal/index.ts index 916a794cf..249d04a23 100644 --- a/src/@ionic-native/plugins/onesignal/index.ts +++ b/src/@ionic-native/plugins/onesignal/index.ts @@ -334,19 +334,19 @@ export enum OSActionType { * * var filestocopy = [{ * "resources/android/icon/drawable-hdpi-icon.png": - * "platforms/android/res/drawable-hdpi/ic_stat_onesignal_default.png" + * "platforms/android/app/src/main/res/drawable-hdpi/ic_stat_onesignal_default.png" * }, { * "resources/android/icon/drawable-mdpi-icon.png": - * "platforms/android/res/drawable-mdpi/ic_stat_onesignal_default.png" + * "platforms/android/app/src/main/res/drawable-mdpi/ic_stat_onesignal_default.png" * }, { * "resources/android/icon/drawable-xhdpi-icon.png": - * "platforms/android/res/drawable-xhdpi/ic_stat_onesignal_default.png" + * "platforms/android/app/src/main/res/drawable-xhdpi/ic_stat_onesignal_default.png" * }, { * "resources/android/icon/drawable-xxhdpi-icon.png": - * "platforms/android/res/drawable-xxhdpi/ic_stat_onesignal_default.png" + * "platforms/android/app/src/main/res/drawable-xxhdpi/ic_stat_onesignal_default.png" * }, { * "resources/android/icon/drawable-xxxhdpi-icon.png": - * "platforms/android/res/drawable-xxxhdpi/ic_stat_onesignal_default.png" + * "platforms/android/app/src/main/res/drawable-xxxhdpi/ic_stat_onesignal_default.png" * } ]; * * module.exports = function(context) { diff --git a/src/@ionic-native/plugins/social-sharing/index.ts b/src/@ionic-native/plugins/social-sharing/index.ts index ef5bc07c4..f6c3b6d39 100644 --- a/src/@ionic-native/plugins/social-sharing/index.ts +++ b/src/@ionic-native/plugins/social-sharing/index.ts @@ -6,7 +6,7 @@ import { Cordova, IonicNativePlugin, Plugin } from '@ionic-native/core'; * @description * Share text, files, images, and links via social networks, sms, and email. * - * For Browser usage check out the Web Share API docs: https://github.com/EddyVerbruggen/SocialSharing-PhoneGap-Plugin#web-share-api + * For Browser usage check out the Web Share API docs: https://github.com/EddyVerbruggen/SocialSharing-PhoneGap-Plugin#5-web-share-api * * @usage * ```typescript diff --git a/src/@ionic-native/plugins/speechkit/index.ts b/src/@ionic-native/plugins/speechkit/index.ts index 677c80b8f..526af4c4b 100644 --- a/src/@ionic-native/plugins/speechkit/index.ts +++ b/src/@ionic-native/plugins/speechkit/index.ts @@ -13,7 +13,8 @@ import { Cordova, IonicNativePlugin, Plugin } from '@ionic-native/core'; * constructor(private speechkit: SpeechKit) { } * * - * this.speechkit.tts('Text to be read out loud', 'ENG-GBR').then( + * // find voice names that match language from: https://developer.nuance.com/public/index.php?task=supportedLanguages + * this.speechkit.tts('Text to be read out loud', 'ENG-GBR', 'Serena').then( * (msg) => { console.log(msg); }, * (err) => { console.log(err); } * ); @@ -36,7 +37,8 @@ export class SpeechKit extends IonicNativePlugin { @Cordova() tts( text: string, - language: string + language: string, + voice: string ): Promise { return; } /** diff --git a/src/@ionic-native/plugins/sqlite/index.ts b/src/@ionic-native/plugins/sqlite/index.ts index 2752cb6e3..5deba9eed 100644 --- a/src/@ionic-native/plugins/sqlite/index.ts +++ b/src/@ionic-native/plugins/sqlite/index.ts @@ -161,7 +161,7 @@ export class SQLiteObject { * .then((db: SQLiteObject) => { * * - * db.executeSql('create table danceMoves(name VARCHAR(32))', {}) + * db.executeSql('create table danceMoves(name VARCHAR(32))', []) * .then(() => console.log('Executed SQL')) * .catch(e => console.log(e)); * diff --git a/src/@ionic-native/plugins/taptic-engine/index.ts b/src/@ionic-native/plugins/taptic-engine/index.ts index c718035f9..27db61111 100644 --- a/src/@ionic-native/plugins/taptic-engine/index.ts +++ b/src/@ionic-native/plugins/taptic-engine/index.ts @@ -49,7 +49,9 @@ export class TapticEngine extends IonicNativePlugin { * @returns {Promise} Returns a promise that resolves on success and rejects on error */ @Cordova() - notification(options: { type: string }): Promise { + notification(options: { + type: 'success' | 'warning' | 'error'; + }): Promise { return; } @@ -60,7 +62,7 @@ export class TapticEngine extends IonicNativePlugin { * @returns {Promise} Returns a promise that resolves on success and rejects on error */ @Cordova() - impact(options: { style: string }): Promise { + impact(options: { style: 'light' | 'medium' | 'heavy' }): Promise { return; }