Compare commits

..
Author SHA1 Message Date
Daniel 06634dc5f4 chore(): update changelog 2018-12-01 17:07:08 +01:00
Daniel 8879ffb789 5.0.0-beta.22 2018-12-01 17:06:42 +01:00
Daniel 649dca1ef4 chore: update deps
BREAKING CHANGE: Requires Angular 7.1 and TypeScript 3.1
2018-12-01 17:04:03 +01:00
Daniel 165c3cc211 Merge branch 'master' into v5 2018-12-01 16:55:01 +01:00
Simon Bang TerkildsenandDaniel Sogl 31e4058257 fix(local-notifications): update type of the every property (#2825) 2018-12-01 16:06:27 +01:00
Luka313andDaniel Sogl b9e9aa184e feat(downloader): add plugin (#2820)
* feat(downloader): add plugin

* Update index.ts
2018-12-01 15:48:11 +01:00
mhartington 220e22b659 docs(): add ngx import path 2018-10-10 16:13:45 -05:00
Perry GovierandDaniel Sogl ac78a1540c chore(tidy up): getting rid of redundant code to make TSDoc happy (#2747) 2018-09-27 08:05:08 +02:00
Daniel bdd1755f8b chore(): update changelog 2018-09-25 20:37:32 +02:00
Daniel 3ed39c06ed 5.0.0-beta.21 2018-09-25 20:37:24 +02:00
Daniel 89a5ca7ec5 merge master into v5 2018-09-25 20:29:32 +02:00
Daniel 0422521db6 chore(package): bump deps 2018-09-25 20:12:57 +02:00
Ken SodemannandGitHub 8d57df3e64 fix(keyboard): include the mode parameter in setResizeMode() 2018-09-25 10:12:24 -05:00
Ken SodemannandDaniel Sogl fbf7463724 fix(keyboard): use cordova-plugin-ionic-keyboard (#2743)
Previous was using the deprecated keyboard plugin.

Fixes #2306
2018-09-25 16:45:43 +02:00
somqandDaniel Sogl cbeb4139d9 fix(bluetooth-le): Removed a wrong cordova decorator param (#2733)
* fix(bluetooth-le): Removed a wrong cordova decorator param (v5)

* fix(bluetooth-le): Fixed wrong return encapsulation - removed 'result' prop - for methods read and subscribe
2018-09-25 16:44:42 +02:00
Tom SeldonandDaniel Sogl 457d47cc16 fix(secure-storage): add missing "getPromise" import (#2727) 2018-09-25 16:42:31 +02:00
Daniel 358474dcfd fix(build): fix macos mojave build errors 2018-09-25 11:06:10 +02:00
Daniel d6d9b54991 chore(package): cleanup deps 2018-09-25 11:04:22 +02:00
Daniel 93ff513bd8 chore(package): bump deps 2018-09-24 19:16:55 +02:00
Daniel d3af51915e Revert "chore(pacakge): bump deps"
This reverts commit 276c88dea1.
2018-09-24 19:14:04 +02:00
Daniel 276c88dea1 chore(pacakge): bump deps 2018-09-24 19:08:57 +02:00
Daniel 653f5a2969 fix(secure-storage): import getPromise 2018-09-24 19:07:06 +02:00
Daniel e661f2ece9 fix(screenshot): import getPromise 2018-09-24 19:06:55 +02:00
Daniel 15cd285ec6 fix(printer): import getPromise 2018-09-24 19:06:40 +02:00
Daniel SoglandGitHub 95b92623a6 fix(admob-free): fix duplicated class 2018-09-24 18:59:51 +02:00
Daniel 7aa5e00453 chore(): update changelog 2018-09-18 19:23:27 +02:00
Daniel 59fd0cc50d 5.0.0-beta.20 2018-09-18 19:23:22 +02:00
Max LynchandDaniel c433317051 fix(build): Fix TypeScript bug, wrong type exported for wrap fn 2018-09-18 19:23:00 +02:00
229 changed files with 2294 additions and 3393 deletions
+51 -114
View File
@@ -1,4 +1,53 @@
<a name="5.0.0-beta.19"></a>
# [5.0.0-beta.22](https://github.com/ionic-team/ionic-native/compare/v5.0.0-beta.21...v5.0.0-beta.22) (2018-12-01)
### Bug Fixes
* **local-notifications:** update type of the every property ([#2825](https://github.com/ionic-team/ionic-native/issues/2825)) ([31e4058](https://github.com/ionic-team/ionic-native/commit/31e4058))
### chore
* update deps ([649dca1](https://github.com/ionic-team/ionic-native/commit/649dca1))
### Features
* **downloader:** add plugin ([#2820](https://github.com/ionic-team/ionic-native/issues/2820)) ([b9e9aa1](https://github.com/ionic-team/ionic-native/commit/b9e9aa1))
### BREAKING CHANGES
* Requires Angular 7.1 and TypeScript 3.1
# [5.0.0-beta.21](https://github.com/ionic-team/ionic-native/compare/v5.0.0-beta.20...v5.0.0-beta.21) (2018-09-25)
### Bug Fixes
* **admob-free:** fix duplicated class ([95b9262](https://github.com/ionic-team/ionic-native/commit/95b9262))
* **bluetooth-le:** Removed a wrong cordova decorator param ([#2733](https://github.com/ionic-team/ionic-native/issues/2733)) ([cbeb413](https://github.com/ionic-team/ionic-native/commit/cbeb413))
* **build:** fix macos mojave build errors ([358474d](https://github.com/ionic-team/ionic-native/commit/358474d))
* **keyboard:** include the mode parameter in setResizeMode() ([8d57df3](https://github.com/ionic-team/ionic-native/commit/8d57df3))
* **keyboard:** use cordova-plugin-ionic-keyboard ([#2743](https://github.com/ionic-team/ionic-native/issues/2743)) ([fbf7463](https://github.com/ionic-team/ionic-native/commit/fbf7463)), closes [#2306](https://github.com/ionic-team/ionic-native/issues/2306)
* **printer:** import getPromise ([15cd285](https://github.com/ionic-team/ionic-native/commit/15cd285))
* **screenshot:** import getPromise ([e661f2e](https://github.com/ionic-team/ionic-native/commit/e661f2e))
* **secure-storage:** add missing "getPromise" import ([#2727](https://github.com/ionic-team/ionic-native/issues/2727)) ([457d47c](https://github.com/ionic-team/ionic-native/commit/457d47c))
* **secure-storage:** import getPromise ([653f5a2](https://github.com/ionic-team/ionic-native/commit/653f5a2))
# [5.0.0-beta.20](https://github.com/ionic-team/ionic-native/compare/v5.0.0-beta.19...v5.0.0-beta.20) (2018-09-18)
### Bug Fixes
* **build:** Fix TypeScript bug, wrong type exported for wrap fn ([c433317](https://github.com/ionic-team/ionic-native/commit/c433317))
# [5.0.0-beta.19](https://github.com/ionic-team/ionic-native/compare/v5.0.0-beta.18...v5.0.0-beta.19) (2018-09-18)
@@ -10,7 +59,6 @@
<a name="5.0.0-beta.18"></a>
# [5.0.0-beta.18](https://github.com/ionic-team/ionic-native/compare/v5.0.0-beta.14...v5.0.0-beta.18) (2018-09-15)
@@ -24,7 +72,6 @@
<a name="5.0.0-beta.14"></a>
# [5.0.0-beta.14](https://github.com/ionic-team/ionic-native/compare/v4.10.0...v5.0.0-beta.14) (2018-07-18)
@@ -42,7 +89,6 @@
<a name="4.9.2"></a>
## [4.9.2](https://github.com/ionic-team/ionic-native/compare/v4.9.1...v4.9.2) (2018-07-13)
@@ -53,7 +99,6 @@
<a name="4.9.1"></a>
## [4.9.1](https://github.com/ionic-team/ionic-native/compare/v5.0.0-beta.13...v4.9.1) (2018-07-09)
@@ -71,7 +116,6 @@
<a name="5.0.0-beta.13"></a>
# [5.0.0-beta.13](https://github.com/ionic-team/ionic-native/compare/v4.9.0...v5.0.0-beta.13) (2018-06-28)
@@ -92,7 +136,6 @@
<a name="5.0.0-beta.12"></a>
# [5.0.0-beta.12](https://github.com/ionic-team/ionic-native/compare/v4.8.0...v5.0.0-beta.12) (2018-06-23)
@@ -148,7 +191,6 @@
<a name="4.7.0"></a>
# [4.7.0](https://github.com/ionic-team/ionic-native/compare/v4.6.0...v4.7.0) (2018-04-09)
@@ -223,12 +265,10 @@
<a name="5.0.0-beta.4"></a>
# [5.0.0-beta.4](https://github.com/ionic-team/ionic-native/compare/v5.0.0-beta.3...v5.0.0-beta.4) (2017-12-29)
<a name="5.0.0-beta.3"></a>
# [5.0.0-beta.3](https://github.com/ionic-team/ionic-native/compare/v4.5.1...v5.0.0-beta.3) (2017-12-29)
@@ -243,7 +283,6 @@
<a name="4.5.1"></a>
## [4.5.1](https://github.com/ionic-team/ionic-native/compare/v5.0.0-beta.0...v4.5.1) (2017-12-12)
@@ -253,7 +292,6 @@
<a name="5.0.0-beta.0"></a>
# [5.0.0-beta.0](https://github.com/ionic-team/ionic-native/compare/v4.5.0...v5.0.0-beta.0) (2017-12-08)
@@ -293,17 +331,14 @@
<a name="4.4.2"></a>
## [4.4.2](https://github.com/ionic-team/ionic-native/compare/v4.4.1...v4.4.2) (2017-11-15)
<a name="4.4.1"></a>
## [4.4.1](https://github.com/ionic-team/ionic-native/compare/v4.4.0...v4.4.1) (2017-11-13)
<a name="4.4.0"></a>
# [4.4.0](https://github.com/ionic-team/ionic-native/compare/v4.3.3...v4.4.0) (2017-11-09)
@@ -314,7 +349,6 @@
<a name="4.3.3"></a>
## [4.3.3](https://github.com/ionic-team/ionic-native/compare/4.3.2...v4.3.3) (2017-11-01)
@@ -324,7 +358,6 @@
<a name="4.3.2"></a>
## [4.3.2](https://github.com/ionic-team/ionic-native/compare/4.3.1...4.3.2) (2017-10-17)
@@ -339,7 +372,6 @@
<a name="4.3.1"></a>
## [4.3.1](https://github.com/ionic-team/ionic-native/compare/v4.3.0...4.3.1) (2017-10-06)
@@ -357,7 +389,6 @@
<a name="4.3.0"></a>
# [4.3.0](https://github.com/ionic-team/ionic-native/compare/v4.2.1...v4.3.0) (2017-09-27)
@@ -390,7 +421,6 @@
<a name="4.2.0"></a>
# [4.2.0](https://github.com/ionic-team/ionic-native/compare/v4.1.0...v4.2.0) (2017-08-26)
@@ -417,7 +447,6 @@
<a name="4.1.0"></a>
# [4.1.0](https://github.com/ionic-team/ionic-native/compare/v4.0.1...v4.1.0) (2017-07-21)
@@ -435,7 +464,6 @@
<a name="4.0.1"></a>
## [4.0.1](https://github.com/ionic-team/ionic-native/compare/v4.0.0...v4.0.1) (2017-07-15)
@@ -453,7 +481,6 @@
<a name="4.0.0"></a>
# [4.0.0](https://github.com/ionic-team/ionic-native/compare/v3.14.0...v4.0.0) (2017-07-11)
@@ -496,7 +523,6 @@ renamed to `FileTransfer`. Also, `TransferObject` class has been renamed to `Fil
<a name="3.14.0"></a>
# [3.14.0](https://github.com/ionic-team/ionic-native/compare/v3.13.1...v3.14.0) (2017-07-07)
@@ -506,7 +532,6 @@ renamed to `FileTransfer`. Also, `TransferObject` class has been renamed to `Fil
<a name="3.13.1"></a>
## [3.13.1](https://github.com/ionic-team/ionic-native/compare/v3.13.0...v3.13.1) (2017-07-05)
@@ -522,7 +547,6 @@ renamed to `FileTransfer`. Also, `TransferObject` class has been renamed to `Fil
<a name="3.13.0"></a>
# [3.13.0](https://github.com/ionic-team/ionic-native/compare/v3.12.2...v3.13.0) (2017-07-03)
@@ -533,7 +557,6 @@ renamed to `FileTransfer`. Also, `TransferObject` class has been renamed to `Fil
<a name="3.12.2"></a>
## [3.12.2](https://github.com/ionic-team/ionic-native/compare/v3.12.1...v3.12.2) (2017-07-03)
@@ -554,7 +577,6 @@ renamed to `FileTransfer`. Also, `TransferObject` class has been renamed to `Fil
<a name="3.12.1"></a>
## [3.12.1](https://github.com/ionic-team/ionic-native/compare/v3.12.0...v3.12.1) (2017-06-03)
@@ -569,7 +591,6 @@ renamed to `FileTransfer`. Also, `TransferObject` class has been renamed to `Fil
<a name="3.12.0"></a>
# [3.12.0](https://github.com/ionic-team/ionic-native/compare/v3.11.0...v3.12.0) (2017-06-03)
@@ -581,7 +602,6 @@ renamed to `FileTransfer`. Also, `TransferObject` class has been renamed to `Fil
<a name="3.11.0"></a>
# [3.11.0](https://github.com/ionic-team/ionic-native/compare/v3.10.2...v3.11.0) (2017-06-01)
@@ -598,7 +618,6 @@ renamed to `FileTransfer`. Also, `TransferObject` class has been renamed to `Fil
<a name="3.10.2"></a>
## [3.10.2](https://github.com/ionic-team/ionic-native/compare/v3.10.1...v3.10.2) (2017-05-20)
@@ -608,7 +627,6 @@ renamed to `FileTransfer`. Also, `TransferObject` class has been renamed to `Fil
<a name="3.10.0"></a>
# [3.10.0](https://github.com/ionic-team/ionic-native/compare/v3.9.2...v3.10.0) (2017-05-19)
@@ -624,7 +642,6 @@ renamed to `FileTransfer`. Also, `TransferObject` class has been renamed to `Fil
<a name="3.9.2"></a>
## [3.9.2](https://github.com/ionic-team/ionic-native/compare/v3.9.1...v3.9.2) (2017-05-17)
@@ -635,7 +652,6 @@ renamed to `FileTransfer`. Also, `TransferObject` class has been renamed to `Fil
<a name="3.9.1"></a>
## [3.9.1](https://github.com/ionic-team/ionic-native/compare/v3.9.0...v3.9.1) (2017-05-17)
@@ -645,7 +661,6 @@ renamed to `FileTransfer`. Also, `TransferObject` class has been renamed to `Fil
<a name="3.9.0"></a>
# [3.9.0](https://github.com/ionic-team/ionic-native/compare/v3.8.1...v3.9.0) (2017-05-17)
@@ -669,7 +684,6 @@ renamed to `FileTransfer`. Also, `TransferObject` class has been renamed to `Fil
<a name="3.8.1"></a>
## [3.8.1](https://github.com/ionic-team/ionic-native/compare/v3.8.0...v3.8.1) (2017-05-16)
@@ -688,7 +702,6 @@ renamed to `FileTransfer`. Also, `TransferObject` class has been renamed to `Fil
<a name="3.8.0"></a>
# [3.8.0](https://github.com/ionic-team/ionic-native/compare/v3.7.0...v3.8.0) (2017-05-14)
@@ -707,7 +720,6 @@ renamed to `FileTransfer`. Also, `TransferObject` class has been renamed to `Fil
<a name="3.7.0"></a>
# [3.7.0](https://github.com/ionic-team/ionic-native/compare/v3.6.0...v3.7.0) (2017-05-09)
@@ -752,7 +764,6 @@ renamed to `FileTransfer`. Also, `TransferObject` class has been renamed to `Fil
<a name="3.6.0"></a>
# [3.6.0](https://github.com/ionic-team/ionic-native/compare/v3.5.0...v3.6.0) (2017-04-27)
@@ -768,7 +779,6 @@ renamed to `FileTransfer`. Also, `TransferObject` class has been renamed to `Fil
<a name="3.5.0"></a>
# [3.5.0](https://github.com/ionic-team/ionic-native/compare/v3.4.4...v3.5.0) (2017-04-18)
@@ -786,7 +796,6 @@ renamed to `FileTransfer`. Also, `TransferObject` class has been renamed to `Fil
<a name="3.4.4"></a>
## [3.4.4](https://github.com/ionic-team/ionic-native/compare/v3.4.3...v3.4.4) (2017-03-30)
@@ -796,7 +805,6 @@ renamed to `FileTransfer`. Also, `TransferObject` class has been renamed to `Fil
<a name="3.4.3"></a>
## [3.4.3](https://github.com/ionic-team/ionic-native/compare/v3.4.2...v3.4.3) (2017-03-29)
@@ -814,7 +822,6 @@ renamed to `FileTransfer`. Also, `TransferObject` class has been renamed to `Fil
<a name="3.4.1"></a>
## [3.4.1](https://github.com/ionic-team/ionic-native/compare/v3.4.0...v3.4.1) (2017-03-28)
@@ -826,7 +833,6 @@ renamed to `FileTransfer`. Also, `TransferObject` class has been renamed to `Fil
<a name="3.4.0"></a>
# [3.4.0](https://github.com/ionic-team/ionic-native/compare/v3.3.1...v3.4.0) (2017-03-28)
@@ -844,7 +850,6 @@ renamed to `FileTransfer`. Also, `TransferObject` class has been renamed to `Fil
<a name="3.3.1"></a>
## [3.3.1](https://github.com/ionic-team/ionic-native/compare/v3.3.0...v3.3.1) (2017-03-28)
@@ -864,7 +869,6 @@ renamed to `FileTransfer`. Also, `TransferObject` class has been renamed to `Fil
<a name="3.3.0"></a>
# [3.3.0](https://github.com/ionic-team/ionic-native/compare/v3.2.3...v3.3.0) (2017-03-27)
@@ -875,7 +879,6 @@ renamed to `FileTransfer`. Also, `TransferObject` class has been renamed to `Fil
<a name="3.2.3"></a>
## [3.2.3](https://github.com/ionic-team/ionic-native/compare/v3.2.2...v3.2.3) (2017-03-24)
@@ -886,12 +889,10 @@ renamed to `FileTransfer`. Also, `TransferObject` class has been renamed to `Fil
<a name="3.2.2"></a>
## [3.2.2](https://github.com/ionic-team/ionic-native/compare/v3.2.1...v3.2.2) (2017-03-23)
<a name="3.2.1"></a>
## [3.2.1](https://github.com/ionic-team/ionic-native/compare/v3.2.0...v3.2.1) (2017-03-23)
@@ -901,7 +902,6 @@ renamed to `FileTransfer`. Also, `TransferObject` class has been renamed to `Fil
<a name="3.2.0"></a>
# [3.2.0](https://github.com/ionic-team/ionic-native/compare/v3.1.1...v3.2.0) (2017-03-22)
@@ -916,7 +916,6 @@ renamed to `FileTransfer`. Also, `TransferObject` class has been renamed to `Fil
<a name="3.1.1"></a>
## [3.1.1](https://github.com/ionic-team/ionic-native/compare/v3.1.0...v3.1.1) (2017-03-21)
@@ -926,7 +925,6 @@ renamed to `FileTransfer`. Also, `TransferObject` class has been renamed to `Fil
<a name="3.1.0"></a>
# [3.1.0](https://github.com/ionic-team/ionic-native/compare/v2.9.0...v3.1.0) (2017-03-20)
@@ -936,7 +934,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)
@@ -992,7 +990,6 @@ renamed to `FileTransfer`. Also, `TransferObject` class has been renamed to `Fil
<a name="2.9.0"></a>
# [2.9.0](https://github.com/ionic-team/ionic-native/compare/v2.8.1...v2.9.0) (2017-03-18)
@@ -1007,7 +1004,6 @@ renamed to `FileTransfer`. Also, `TransferObject` class has been renamed to `Fil
<a name="2.8.1"></a>
## [2.8.1](https://github.com/ionic-team/ionic-native/compare/v2.8.0...v2.8.1) (2017-03-10)
@@ -1025,7 +1021,6 @@ renamed to `FileTransfer`. Also, `TransferObject` class has been renamed to `Fil
<a name="2.8.0"></a>
# [2.8.0](https://github.com/ionic-team/ionic-native/compare/v2.7.0...v2.8.0) (2017-03-04)
@@ -1042,7 +1037,6 @@ renamed to `FileTransfer`. Also, `TransferObject` class has been renamed to `Fil
<a name="2.7.0"></a>
# [2.7.0](https://github.com/ionic-team/ionic-native/compare/v2.6.0...v2.7.0) (2017-03-02)
@@ -1060,7 +1054,6 @@ renamed to `FileTransfer`. Also, `TransferObject` class has been renamed to `Fil
<a name="2.6.0"></a>
# [2.6.0](https://github.com/ionic-team/ionic-native/compare/v2.5.1...v2.6.0) (2017-03-02)
@@ -1100,7 +1093,6 @@ renamed to `FileTransfer`. Also, `TransferObject` class has been renamed to `Fil
<a name="2.5.1"></a>
## [2.5.1](https://github.com/ionic-team/ionic-native/compare/v2.5.0...v2.5.1) (2017-02-07)
@@ -1110,7 +1102,6 @@ renamed to `FileTransfer`. Also, `TransferObject` class has been renamed to `Fil
<a name="2.5.0"></a>
# [2.5.0](https://github.com/ionic-team/ionic-native/compare/v2.4.1...v2.5.0) (2017-02-07)
@@ -1129,7 +1120,6 @@ renamed to `FileTransfer`. Also, `TransferObject` class has been renamed to `Fil
<a name="2.4.1"></a>
## [2.4.1](https://github.com/ionic-team/ionic-native/compare/v2.4.0...v2.4.1) (2017-01-24)
@@ -1145,12 +1135,10 @@ renamed to `FileTransfer`. Also, `TransferObject` class has been renamed to `Fil
<a name="2.3.2"></a>
## [2.3.2](https://github.com/ionic-team/ionic-native/compare/v2.3.1...v2.3.2) (2017-01-24)
<a name="2.3.1"></a>
## [2.3.1](https://github.com/ionic-team/ionic-native/compare/v2.3.0...v2.3.1) (2017-01-24)
@@ -1171,7 +1159,6 @@ renamed to `FileTransfer`. Also, `TransferObject` class has been renamed to `Fil
<a name="2.3.0"></a>
# [2.3.0](https://github.com/ionic-team/ionic-native/compare/v2.2.17...v2.3.0) (2017-01-20)
@@ -1196,7 +1183,6 @@ renamed to `FileTransfer`. Also, `TransferObject` class has been renamed to `Fil
<a name="2.2.17"></a>
## [2.2.17](https://github.com/ionic-team/ionic-native/compare/v2.2.16...v2.2.17) (2017-01-20)
@@ -1207,7 +1193,6 @@ renamed to `FileTransfer`. Also, `TransferObject` class has been renamed to `Fil
<a name="2.2.16"></a>
## [2.2.16](https://github.com/ionic-team/ionic-native/compare/v2.2.15...v2.2.16) (2017-01-11)
@@ -1217,7 +1202,6 @@ renamed to `FileTransfer`. Also, `TransferObject` class has been renamed to `Fil
<a name="2.2.15"></a>
## [2.2.15](https://github.com/ionic-team/ionic-native/compare/v2.2.14...v2.2.15) (2017-01-11)
@@ -1229,7 +1213,6 @@ renamed to `FileTransfer`. Also, `TransferObject` class has been renamed to `Fil
<a name="2.2.14"></a>
## [2.2.14](https://github.com/ionic-team/ionic-native/compare/v2.2.13...v2.2.14) (2017-01-07)
@@ -1250,7 +1233,6 @@ renamed to `FileTransfer`. Also, `TransferObject` class has been renamed to `Fil
<a name="2.2.13"></a>
## [2.2.13](https://github.com/ionic-team/ionic-native/compare/v2.2.12...v2.2.13) (2016-12-27)
@@ -1271,7 +1253,6 @@ renamed to `FileTransfer`. Also, `TransferObject` class has been renamed to `Fil
<a name="2.2.12"></a>
## [2.2.12](https://github.com/ionic-team/ionic-native/compare/v2.2.11...v2.2.12) (2016-12-18)
@@ -1289,7 +1270,6 @@ renamed to `FileTransfer`. Also, `TransferObject` class has been renamed to `Fil
<a name="2.2.11"></a>
## [2.2.11](https://github.com/ionic-team/ionic-native/compare/v2.2.10...v2.2.11) (2016-12-06)
@@ -1305,7 +1285,6 @@ renamed to `FileTransfer`. Also, `TransferObject` class has been renamed to `Fil
<a name="2.2.10"></a>
## [2.2.10](https://github.com/ionic-team/ionic-native/compare/v2.2.8...v2.2.10) (2016-12-04)
@@ -1323,7 +1302,6 @@ renamed to `FileTransfer`. Also, `TransferObject` class has been renamed to `Fil
<a name="2.2.8"></a>
## [2.2.8](https://github.com/ionic-team/ionic-native/compare/v2.2.7...v2.2.8) (2016-12-01)
@@ -1341,7 +1319,6 @@ renamed to `FileTransfer`. Also, `TransferObject` class has been renamed to `Fil
<a name="2.2.7"></a>
## [2.2.7](https://github.com/ionic-team/ionic-native/compare/v2.2.5...v2.2.7) (2016-11-24)
@@ -1368,7 +1345,6 @@ renamed to `FileTransfer`. Also, `TransferObject` class has been renamed to `Fil
<a name="2.2.5"></a>
## [2.2.5](https://github.com/ionic-team/ionic-native/compare/v2.2.4...v2.2.5) (2016-10-27)
@@ -1391,7 +1367,6 @@ renamed to `FileTransfer`. Also, `TransferObject` class has been renamed to `Fil
<a name="2.2.4"></a>
## [2.2.4](https://github.com/ionic-team/ionic-native/compare/v2.2.3...v2.2.4) (2016-10-15)
@@ -1408,7 +1383,6 @@ renamed to `FileTransfer`. Also, `TransferObject` class has been renamed to `Fil
<a name="2.2.3"></a>
## [2.2.3](https://github.com/ionic-team/ionic-native/compare/v2.2.2...v2.2.3) (2016-10-14)
@@ -1419,7 +1393,6 @@ renamed to `FileTransfer`. Also, `TransferObject` class has been renamed to `Fil
<a name="2.2.2"></a>
## [2.2.2](https://github.com/ionic-team/ionic-native/compare/v2.2.1...v2.2.2) (2016-10-12)
@@ -1435,7 +1408,6 @@ renamed to `FileTransfer`. Also, `TransferObject` class has been renamed to `Fil
<a name="2.2.1"></a>
## [2.2.1](https://github.com/ionic-team/ionic-native/compare/v2.2.0...v2.2.1) (2016-10-12)
@@ -1455,7 +1427,6 @@ renamed to `FileTransfer`. Also, `TransferObject` class has been renamed to `Fil
<a name="2.2.0"></a>
# [2.2.0](https://github.com/ionic-team/ionic-native/compare/v2.1.9...v2.2.0) (2016-10-11)
@@ -1471,7 +1442,6 @@ renamed to `FileTransfer`. Also, `TransferObject` class has been renamed to `Fil
<a name="2.1.9"></a>
## [2.1.9](https://github.com/ionic-team/ionic-native/compare/v2.1.7...v2.1.9) (2016-10-09)
@@ -1484,7 +1454,6 @@ renamed to `FileTransfer`. Also, `TransferObject` class has been renamed to `Fil
<a name="2.1.7"></a>
## [2.1.7](https://github.com/ionic-team/ionic-native/compare/v2.1.6...v2.1.7) (2016-10-07)
@@ -1494,7 +1463,6 @@ renamed to `FileTransfer`. Also, `TransferObject` class has been renamed to `Fil
<a name="2.1.6"></a>
## [2.1.6](https://github.com/ionic-team/ionic-native/compare/v2.1.3...v2.1.6) (2016-10-06)
@@ -1505,7 +1473,6 @@ renamed to `FileTransfer`. Also, `TransferObject` class has been renamed to `Fil
<a name="2.1.3"></a>
## [2.1.3](https://github.com/ionic-team/ionic-native/compare/v2.1.2...v2.1.3) (2016-10-06)
@@ -1517,7 +1484,6 @@ renamed to `FileTransfer`. Also, `TransferObject` class has been renamed to `Fil
<a name="2.1.2"></a>
## [2.1.2](https://github.com/ionic-team/ionic-native/compare/v2.1.0...v2.1.2) (2016-10-06)
@@ -1532,7 +1498,6 @@ renamed to `FileTransfer`. Also, `TransferObject` class has been renamed to `Fil
<a name="2.1.0"></a>
# [2.1.0](https://github.com/ionic-team/ionic-native/compare/v2.0.3...v2.1.0) (2016-10-03)
@@ -1562,7 +1527,6 @@ renamed to `FileTransfer`. Also, `TransferObject` class has been renamed to `Fil
<a name="2.0.3"></a>
## [2.0.3](https://github.com/ionic-team/ionic-native/compare/v1.3.21...v2.0.3) (2016-09-24)
@@ -1592,7 +1556,6 @@ renamed to `FileTransfer`. Also, `TransferObject` class has been renamed to `Fil
<a name="1.3.21"></a>
## [1.3.21](https://github.com/ionic-team/ionic-native/compare/v1.3.20...v1.3.21) (2016-09-07)
@@ -1624,7 +1587,6 @@ renamed to `FileTransfer`. Also, `TransferObject` class has been renamed to `Fil
<a name="1.3.20"></a>
## [1.3.20](https://github.com/ionic-team/ionic-native/compare/v1.3.19...v1.3.20) (2016-08-27)
@@ -1643,7 +1605,6 @@ renamed to `FileTransfer`. Also, `TransferObject` class has been renamed to `Fil
<a name="1.3.19"></a>
## [1.3.19](https://github.com/ionic-team/ionic-native/compare/v1.3.18...v1.3.19) (2016-08-27)
@@ -1665,7 +1626,6 @@ renamed to `FileTransfer`. Also, `TransferObject` class has been renamed to `Fil
<a name="1.3.18"></a>
## [1.3.18](https://github.com/ionic-team/ionic-native/compare/v1.3.17...v1.3.18) (2016-08-26)
@@ -1686,7 +1646,6 @@ renamed to `FileTransfer`. Also, `TransferObject` class has been renamed to `Fil
<a name="1.3.17"></a>
## [1.3.17](https://github.com/ionic-team/ionic-native/compare/v1.3.16...v1.3.17) (2016-08-23)
@@ -1706,7 +1665,6 @@ renamed to `FileTransfer`. Also, `TransferObject` class has been renamed to `Fil
<a name="1.3.16"></a>
## [1.3.16](https://github.com/ionic-team/ionic-native/compare/v1.3.15...v1.3.16) (2016-08-15)
@@ -1716,7 +1674,6 @@ renamed to `FileTransfer`. Also, `TransferObject` class has been renamed to `Fil
<a name="1.3.15"></a>
## [1.3.15](https://github.com/ionic-team/ionic-native/compare/v1.3.14...v1.3.15) (2016-08-15)
@@ -1727,7 +1684,6 @@ renamed to `FileTransfer`. Also, `TransferObject` class has been renamed to `Fil
<a name="1.3.14"></a>
## [1.3.14](https://github.com/ionic-team/ionic-native/compare/v1.3.12...v1.3.14) (2016-08-15)
@@ -1745,7 +1701,6 @@ renamed to `FileTransfer`. Also, `TransferObject` class has been renamed to `Fil
<a name="1.3.12"></a>
## [1.3.12](https://github.com/ionic-team/ionic-native/compare/v1.3.11...v1.3.12) (2016-08-13)
@@ -1755,7 +1710,6 @@ renamed to `FileTransfer`. Also, `TransferObject` class has been renamed to `Fil
<a name="1.3.11"></a>
## [1.3.11](https://github.com/ionic-team/ionic-native/compare/v1.3.10...v1.3.11) (2016-08-11)
@@ -1780,7 +1734,6 @@ renamed to `FileTransfer`. Also, `TransferObject` class has been renamed to `Fil
<a name="1.3.10"></a>
## [1.3.10](https://github.com/ionic-team/ionic-native/compare/v1.3.9...v1.3.10) (2016-08-01)
@@ -1799,7 +1752,6 @@ renamed to `FileTransfer`. Also, `TransferObject` class has been renamed to `Fil
<a name="1.3.9"></a>
## [1.3.9](https://github.com/ionic-team/ionic-native/compare/v1.3.8...v1.3.9) (2016-07-23)
@@ -1815,7 +1767,6 @@ renamed to `FileTransfer`. Also, `TransferObject` class has been renamed to `Fil
<a name="1.3.8"></a>
## [1.3.8](https://github.com/ionic-team/ionic-native/compare/v1.3.7...v1.3.8) (2016-07-20)
@@ -1834,7 +1785,6 @@ renamed to `FileTransfer`. Also, `TransferObject` class has been renamed to `Fil
<a name="1.3.7"></a>
## [1.3.7](https://github.com/ionic-team/ionic-native/compare/v1.3.6...v1.3.7) (2016-07-18)
@@ -1850,7 +1800,6 @@ renamed to `FileTransfer`. Also, `TransferObject` class has been renamed to `Fil
<a name="1.3.6"></a>
## [1.3.6](https://github.com/ionic-team/ionic-native/compare/v1.3.5...v1.3.6) (2016-07-17)
@@ -1867,7 +1816,6 @@ renamed to `FileTransfer`. Also, `TransferObject` class has been renamed to `Fil
<a name="1.3.5"></a>
## [1.3.5](https://github.com/ionic-team/ionic-native/compare/v1.3.4...v1.3.5) (2016-07-17)
@@ -1887,7 +1835,6 @@ renamed to `FileTransfer`. Also, `TransferObject` class has been renamed to `Fil
<a name="1.3.4"></a>
## [1.3.4](https://github.com/ionic-team/ionic-native/compare/v1.3.3...v1.3.4) (2016-07-14)
@@ -1902,7 +1849,6 @@ renamed to `FileTransfer`. Also, `TransferObject` class has been renamed to `Fil
<a name="1.3.3"></a>
## [1.3.3](https://github.com/ionic-team/ionic-native/compare/v1.3.2...v1.3.3) (2016-07-11)
@@ -1924,7 +1870,6 @@ renamed to `FileTransfer`. Also, `TransferObject` class has been renamed to `Fil
<a name="1.3.2"></a>
## [1.3.2](https://github.com/ionic-team/ionic-native/compare/v1.3.1...v1.3.2) (2016-06-27)
@@ -1934,7 +1879,6 @@ renamed to `FileTransfer`. Also, `TransferObject` class has been renamed to `Fil
<a name="1.3.1"></a>
## [1.3.1](https://github.com/ionic-team/ionic-native/compare/v1.3.0...v1.3.1) (2016-06-26)
@@ -1951,7 +1895,6 @@ renamed to `FileTransfer`. Also, `TransferObject` class has been renamed to `Fil
<a name="1.3.0"></a>
# [1.3.0](https://github.com/ionic-team/ionic-native/compare/v1.2.3...v1.3.0) (2016-06-13)
@@ -1975,12 +1918,10 @@ renamed to `FileTransfer`. Also, `TransferObject` class has been renamed to `Fil
<a name="1.2.3"></a>
## [1.2.3](https://github.com/ionic-team/ionic-native/compare/v1.2.2...v1.2.3) (2016-06-01)
<a name="1.2.2"></a>
## [1.2.2](https://github.com/ionic-team/ionic-native/compare/v1.2.1...v1.2.2) (2016-05-20)
@@ -1992,7 +1933,6 @@ renamed to `FileTransfer`. Also, `TransferObject` class has been renamed to `Fil
<a name="1.2.1"></a>
## [1.2.1](https://github.com/ionic-team/ionic-native/compare/v1.2.0...v1.2.1) (2016-05-11)
@@ -2007,7 +1947,6 @@ renamed to `FileTransfer`. Also, `TransferObject` class has been renamed to `Fil
<a name="1.2.0"></a>
# [1.2.0](https://github.com/ionic-team/ionic-native/compare/v1.1.0...v1.2.0) (2016-04-30)
@@ -2049,7 +1988,6 @@ renamed to `FileTransfer`. Also, `TransferObject` class has been renamed to `Fil
<a name="1.1.0"></a>
# [1.1.0](https://github.com/ionic-team/ionic-native/compare/v1.0.9...v1.1.0) (2016-03-17)
@@ -2111,7 +2049,6 @@ renamed to `FileTransfer`. Also, `TransferObject` class has been renamed to `Fil
<a name="1.0.9"></a>
## [1.0.9](https://github.com/ionic-team/ionic-native/compare/8f27fc9...v1.0.9) (2016-02-18)
+705 -2786
View File
File diff suppressed because it is too large Load Diff
+19 -22
View File
@@ -1,6 +1,6 @@
{
"name": "ionic-native",
"version": "5.0.0-beta.19",
"version": "5.0.0-beta.22",
"description": "Native plugin wrappers for Cordova and Ionic with TypeScript, ES6+, Promise and Observable support",
"homepage": "https://ionicframework.com/",
"author": "Ionic Team <hi@ionic.io> (https://ionic.io)",
@@ -22,25 +22,24 @@
"shipit": "npm run build && npm run readmes && npm run npmpub"
},
"devDependencies": {
"@angular/common": "^6.1.7",
"@angular/compiler": "^6.1.7",
"@angular/compiler-cli": "^6.1.7",
"@angular/core": "^6.1.7",
"@angular/common": "^7.1.1",
"@angular/compiler": "^7.1.1",
"@angular/compiler-cli": "^7.1.1",
"@angular/core": "^7.1.1",
"@types/cordova": "0.0.34",
"@types/fs-extra": "^5.0.4",
"@types/jest": "^23.3.2",
"@types/lodash": "^4.14.116",
"@types/node": "^9.6.31",
"@types/jest": "^23.3.10",
"@types/lodash": "^4.14.118",
"@types/node": "^10.12.11",
"@types/rimraf": "^2.0.2",
"@types/webpack": "^4.4.11",
"@types/webpack": "^4.4.20",
"ajv": "^6.6.1",
"async-promise-queue": "^1.0.4",
"canonical-path": "0.0.2",
"conventional-changelog-cli": "^2.0.5",
"cpr": "^3.0.1",
"conventional-changelog-cli": "^2.0.11",
"cz-conventional-changelog": "^2.1.0",
"dgeni": "^0.4.10",
"dgeni-packages": "0.16.10",
"fs-extra": "^7.0.0",
"fs-extra": "^7.0.1",
"gulp": "3.9.1",
"gulp-rename": "^1.4.0",
"gulp-replace": "^1.0.0",
@@ -48,21 +47,19 @@
"jest": "^23.6.0",
"lodash": "^4.17.11",
"minimist": "1.2.0",
"nodemon": "^1.18.4",
"natives": "^1.1.6",
"rimraf": "^2.6.2",
"rxjs": "^6.3.2",
"rxjs-tslint-rules": "^4.8.0",
"string-replace-webpack-plugin": "^0.1.3",
"ts-jest": "^23.1.4",
"rxjs": "^6.3.3",
"ts-jest": "^23.10.5",
"ts-node": "^7.0.1",
"tslint": "^5.11.0",
"tslint-ionic-rules": "0.0.19",
"typescript": "2.9.2",
"tslint-ionic-rules": "0.0.20",
"typescript": "3.1.6",
"uglifyjs-webpack-plugin": "^2.0.1",
"unminified-webpack-plugin": "^2.0.0",
"webpack": "^4.19.1",
"webpack": "^4.26.1",
"winston": "^3.1.0",
"zone.js": "latest"
"zone.js": "^0.8.26"
},
"jest": {
"transform": {
+5 -1
View File
@@ -412,6 +412,10 @@ export function cordovaWarn(pluginName: string, method?: string): void {
}
}
// Fixes a bug in TypeScript 2.9.2 where the ...args is being converted into args: {} and
// causing compilation issues
export type WrapFn = (...args: any[]) => any;
/**
* @private
*/
@@ -419,7 +423,7 @@ export const wrap = (
pluginObj: any,
methodName: string,
opts: CordovaOptions = {}
) => {
): WrapFn => {
return (...args: any[]) => {
if (opts.sync) {
// Sync doesn't wrap the plugin with a promise or observable, it returns the result as-is
+1 -1
View File
@@ -268,7 +268,7 @@ export interface DataCaptureResult {
*
* @usage
* ```typescript
* import { AbbyyRTR } from '@ionic-native/abbyy-rtr';
* import { AbbyyRTR } from '@ionic-native/abbyy-rtr/ngx';
*
*
* constructor(private abbyyRTR: AbbyyRTR) { }
@@ -62,7 +62,7 @@ export interface ActionSheetOptions {
*
* @usage
* ```typescript
* import { ActionSheet, ActionSheetOptions } from '@ionic-native/action-sheet';
* import { ActionSheet, ActionSheetOptions } from '@ionic-native/action-sheet/ngx';
*
* constructor(private actionSheet: ActionSheet) { }
*
+1 -102
View File
@@ -72,7 +72,7 @@ export interface AdMobFreeRewardVideoConfig {
*
* @usage
* ```typescript
* import { AdMobFree, AdMobFreeBannerConfig } from '@ionic-native/admob-free';
* import { AdMobFree, AdMobFreeBannerConfig } from '@ionic-native/admob-free/ngx';
*
*
* constructor(private admobFree: AdMobFree) { }
@@ -319,104 +319,3 @@ export class AdMobFreeRewardVideo extends IonicNativePlugin {
return;
}
}
/**
* @name AdMob Free
* @description
*
* @usage
* ```typescript
* import { AdMobFree, AdMobFreeBannerConfig } from '@ionic-native/admob-free';
*
*
* constructor(private admobFree: AdMobFree) { }
*
*
* ...
*
*
* const bannerConfig: AdMobFreeBannerConfig = {
* // add your config here
* // for the sake of this example we will just use the test config
* isTesting: true,
* autoShow: true
* }
* this.admobFree.banner.config(bannerConfig);
*
* this.admobFree.banner.prepare()
* .then(() => {
* // banner Ad is ready
* // if we set autoShow to false, then we will need to call the show method here
* })
* .catch(e => console.log(e));
*
*
* ```
* @interfaces
* AdMobFreeBannerConfig
* AdMobFreeInterstitialConfig
* AdMobFreeRewardVideoConfig
* @classes
* AdMobFreeBanner
* AdMobFreeInterstitial
* AdMobFreeRewardVideo
*/
@Plugin({
pluginName: 'AdMobFree',
plugin: 'cordova-plugin-admob-free',
pluginRef: 'admob',
repo: 'https://github.com/ratson/cordova-plugin-admob-free',
platforms: ['Android', 'iOS']
})
@Injectable()
export class AdMobFree extends IonicNativePlugin {
/**
* Convenience object to get event names
* @type {Object}
*/
events: any = {
BANNER_LOAD: 'admob.banner.events.LOAD',
BANNER_LOAD_FAIL: 'admob.banner.events.LOAD_FAIL',
BANNER_OPEN: 'admob.banner.events.OPEN',
BANNER_CLOSE: 'admob.banner.events.CLOSE',
BANNER_EXIT_APP: 'admob.banner.events.EXIT_APP',
INTERSTITIAL_LOAD: 'admob.interstitial.events.LOAD',
INTERSTITIAL_LOAD_FAIL: 'admob.interstitial.events.LOAD_FAIL',
INTERSTITIAL_OPEN: 'admob.interstitial.events.OPEN',
INTERSTITIAL_CLOSE: 'admob.interstitial.events.CLOSE',
INTERSTITIAL_EXIT_APP: 'admob.interstitial.events.EXIT_APP',
REWARD_VIDEO_LOAD: 'admob.rewardvideo.events.LOAD',
REWARD_VIDEO_LOAD_FAIL: 'admob.rewardvideo.events.LOAD_FAIL',
REWARD_VIDEO_OPEN: 'admob.rewardvideo.events.OPEN',
REWARD_VIDEO_CLOSE: 'admob.rewardvideo.events.CLOSE',
REWARD_VIDEO_EXIT_APP: 'admob.rewardvideo.events.EXIT_APP',
REWARD_VIDEO_START: 'admob.rewardvideo.events.START',
REWARD_VIDEO_REWARD: 'admob.rewardvideo.events.REWARD'
};
/**
* Returns the AdMobFreeBanner object
* @type {AdMobFreeBanner}
*/
banner: AdMobFreeBanner = new AdMobFreeBanner();
/**
* Returns the AdMobFreeInterstitial object
* @type {AdMobFreeInterstitial}
*/
interstitial: AdMobFreeInterstitial = new AdMobFreeInterstitial();
/**
* Returns the AdMobFreeRewardVideo object
* @type {AdMobFreeRewardVideo}
*/
rewardVideo: AdMobFreeRewardVideo = new AdMobFreeRewardVideo();
/**
* Watch an event
* @param event {string} event name
* @return {Observable<any>}
*/
on(event: string): Observable<any> {
return fromEvent(document, event);
}
}
@@ -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<any> {
return Promise.resolve();
}
@Cordova({ otherPromise: true })
show(opts: { id?: AdUnitIDOption }): Promise<any> {
return Promise.resolve();
}
}
@Plugin({
plugin: 'cordova-admob-plus',
pluginName: 'AdMob',
pluginRef: 'admob.interstitial',
})
export class Interstitial {
@Cordova({ otherPromise: true })
load(opts: { id?: AdUnitIDOption }): Promise<any> {
return Promise.resolve();
}
@Cordova({ otherPromise: true })
show(): Promise<any> {
return Promise.resolve();
}
}
@Plugin({
plugin: 'cordova-admob-plus',
pluginName: 'AdMob',
pluginRef: 'admob.rewardVideo',
})
export class RewardVideo {
@Cordova({ otherPromise: true })
load(opts: { id?: AdUnitIDOption }): Promise<any> {
return Promise.resolve();
}
@Cordova({ otherPromise: true })
show(): Promise<any> {
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<any> {
return Promise.resolve();
}
@Cordova({ otherPromise: true })
setAppVolume(value: number): Promise<any> {
return Promise.resolve();
}
on(event: string): Observable<any> {
return fromEvent(document, event);
}
}
+2 -2
View File
@@ -106,8 +106,8 @@ export interface AdExtras {
* IMPORTANT NOTICE: this plugin takes a percentage out of your earnings if you profit more than $1,000. Read more about this on the plugin's repo. For a completely free alternative, see [AdMobPro Free](../admob-free).
* @usage
* ```typescript
* import { AdMobPro } from '@ionic-native/admob-pro';
* import { Platform } from 'ionic-angular';
* import { AdMobPro } from '@ionic-native/admob-pro/ngx';
* import { Platform } from '@ionic/angular';
*
* constructor(private admob: AdMobPro, private platform: Platform ) { }
*
+1 -1
View File
@@ -10,7 +10,7 @@ import { Cordova, IonicNativePlugin, Plugin } from '@ionic-native/core';
*
* @usage
* ```typescript
* import { AES256 } from '@ionic-native/aes-256';
* import { AES256 } from '@ionic-native/aes-256/ngx';
*
* private secureKey: string;
* private secureIV: string;
+1 -1
View File
@@ -10,7 +10,7 @@ import { Cordova, IonicNativePlugin, Plugin } from '@ionic-native/core';
*
* @usage
* ```typescript
* import { Alipay } from '@ionic-native/alipay';
* import { Alipay } from '@ionic-native/alipay/ngx';
*
* constructor(private alipay: Alipay) {
*
@@ -158,7 +158,7 @@ export interface AndroidExoPlayerControllerConfig {
*
* @usage
* ```typescript
* import { AndroidExoPlayer } from '@ionic-native/android-exoplayer';
* import { AndroidExoPlayer } from '@ionic-native/android-exoplayer/ngx';
*
* constructor(private androidExoPlayer: AndroidExoPlayer) { }
*
@@ -110,7 +110,7 @@ export interface AFADeleteOptions {
* This plugin will open a native dialog fragment prompting the user to authenticate using their fingerprint. If the device has a secure lockscreen (pattern, PIN, or password), the user may opt to authenticate using that method as a backup.
* @usage
* ```typescript
* import { AndroidFingerprintAuth } from '@ionic-native/android-fingerprint-auth';
* import { AndroidFingerprintAuth } from '@ionic-native/android-fingerprint-auth/ngx';
*
* constructor(private androidFingerprintAuth: AndroidFingerprintAuth) { }
*
@@ -36,7 +36,7 @@ export enum AndroidSystemUiFlags {
* In Android 4.4+, however, you can now enter true full screen, fully interactive immersive mode. In this mode, your app will remain in true full screen until you choose otherwise; users can swipe down from the top of the screen to temporarily display the system UI.
* @usage
* ```typescript
* import { AndroidFullScreen } from '@ionic-native/android-full-screen';
* import { AndroidFullScreen } from '@ionic-native/android-full-screen/ngx';
*
* constructor(private androidFullScreen: AndroidFullScreen) { }
*
@@ -10,7 +10,7 @@ import { Cordova, IonicNativePlugin, Plugin } from '@ionic-native/core';
*
* @usage
* ```
* import { AndroidPermissions } from '@ionic-native/android-permissions';
* import { AndroidPermissions } from '@ionic-native/android-permissions/ngx';
*
*
* constructor(private androidPermissions: AndroidPermissions) { }
@@ -10,7 +10,7 @@ import { Cordova, IonicNativePlugin, Plugin } from '@ionic-native/core';
*
* @usage
* ```typescript
* import { AppAvailability } from '@ionic-native/app-availability';
* import { AppAvailability } from '@ionic-native/app-availability/ngx';
* import { Platform } from 'ionic-angular';
*
* constructor(private appAvailability: AppAvailability, private platform: Platform) { }
@@ -17,7 +17,7 @@ export interface StringMap {
*
* @usage
* ```typescript
* import { AppCenterAnalytics } from '@ionic-native/app-center-analytics';
* import { AppCenterAnalytics } from '@ionic-native/app-center-analytics/ngx';
*
*
* constructor(private appCenterAnalytics: AppCenterAnalytics) { }
@@ -40,7 +40,7 @@ export interface AppCenterCrashReportDevice {
*
* @usage
* ```typescript
* import { AppCenterCrashes } from '@ionic-native/app-center-crashes';
* import { AppCenterCrashes } from '@ionic-native/app-center-crashes/ngx';
*
*
* constructor(private AppCenterCrashes: AppCenterCrashes) { }
@@ -10,7 +10,7 @@ import { Observable } from 'rxjs';
*
* @usage
* ```typescript
* import { AppCenterPush } from '@ionic-native/app-center-push';
* import { AppCenterPush } from '@ionic-native/app-center-push/ngx';
*
*
* constructor(private appCenterPush: AppCenterPush) { }
@@ -8,8 +8,8 @@ import { Injectable } from '@angular/core';
*
* @usage
* ```typescript
* import { Platfrom } from 'ionic-angular';
* import { AppMinimize } from '@ionic-native/app-minimize';
* import { Platfrom } from '@ionic/angular';
* import { AppMinimize } from '@ionic-native/app-minimize/ngx';
*
*
* constructor(private platform: Platform, private appMinimize: AppMinimize) { }
@@ -9,7 +9,7 @@ import { Injectable } from '@angular/core';
*
* @usage
* ```typescript
* import { AppPreferences } from '@ionic-native/app-preferences';
* import { AppPreferences } from '@ionic-native/app-preferences/ngx';
*
* constructor(private appPreferences: AppPreferences) { }
*
+1 -1
View File
@@ -134,7 +134,7 @@ export interface AppUrls {
*
* @usage
* ```typescript
* import { AppRate } from '@ionic-native/app-rate';
* import { AppRate } from '@ionic-native/app-rate/ngx';
*
* constructor(private appRate: AppRate) { }
*
@@ -26,7 +26,7 @@ export interface AppUpdateOptions {
* Then use the following code:
*
* ```typescript
* import { AppUpdate } from '@ionic-native/app-update';
* import { AppUpdate } from '@ionic-native/app-update/ngx';
*
* constructor(private appUpdate: AppUpdate) {
*
@@ -11,7 +11,7 @@ import { Cordova, IonicNativePlugin, Plugin } from '@ionic-native/core';
*
* @usage
* ```typescript
* import { AppVersion } from '@ionic-native/app-version';
* import { AppVersion } from '@ionic-native/app-version/ngx';
*
* constructor(private appVersion: AppVersion) { }
*
+1 -1
View File
@@ -100,7 +100,7 @@ export interface ISelectedShippingContact {
*
* @usage
* ```typescript
* import { ApplePay } from '@ionic-native/apple-pay';
* import { ApplePay } from '@ionic-native/apple-pay/ngx';
*
*
* constructor(private applePay: ApplePay) { }
@@ -0,0 +1,116 @@
import { Injectable } from '@angular/core';
import { Cordova, IonicNativePlugin, Plugin } from '@ionic-native/core';
export interface EncryptedCardData {
activationData: string;
encryptedPassData: string;
wrappedKey: string;
}
export interface CardData {
cardholderName: string;
primaryAccountNumberSuffix: string;
localizedDescription?: string;
paymentNetwork: string;
}
/**
* @name Apple Wallet
* @description
* A Cordova plugin that enables users from Add Payment Cards to their Apple Wallet.
*
* @usage
* ```typescript
* import { AppleWallet } from '@ionic-native/apple-wallet/ngx';
*
*
* constructor(private appleWallet: AppleWallet) { }
*
* ...
*
*
* this.appleWallet.available()
* .then((res) => {
* // res is a boolean value, either true or false
* console.log("Is Apple Wallet available? ", res);
* })
* .catch((message) => {
* console.error("ERROR AVAILBLE>> ", message);
* });
*
* ...
*
* let data: cardData = {
* cardholderName: 'Test User',
* primaryAccountNumberSuffix: '1234',
* localizedDescription: 'Description of payment card',
* paymentNetwork: 'VISA'
* }
*
* this.appleWallet.startAddPaymentPass(data: cardData)
* .then((res) => {
* console.log("startAddPaymentPass success response ", res);
* })
* .catch((err) => {
* console.error("startAddPaymentPass ERROR response", err);
* });
*
* ...
*
* let data: encryptedCardData = {
* activationData: 'encoded Base64 activationData from your server',
* encryptedPassData: 'encoded Base64 encryptedPassData from your server',
* wrappedKey: 'encoded Base64 wrappedKey from your server',
* }
*
* this.appleWallet.encryptedCardData(data: encryptedCardData)
* .then((res) => {
* console.log("completeAddCardToAppleWallet success response ", res);
* })
* .catch((err) => {
* console.error("completeAddCardToAppleWallet ERROR response", err);
* });
*
* ```
* @Interfaces
* EncryptedCardData
* CardData
*/
@Plugin({
pluginName: 'AppleWallet',
plugin: 'cordova-apple-wallet',
pluginRef: 'AppleWallet',
repo: 'https://github.com/tomavic/cordova-apple-wallet',
platforms: ['iOS']
})
@Injectable()
export class AppleWallet extends IonicNativePlugin {
/**
* Detects if the current device supports Apple Wallet
* @return {Promise<boolean>} Returns a promise
*/
@Cordova()
available(): Promise<boolean> {
return;
}
/**
* Simple call with the configuration data needed to instantiate a new PKAddPaymentPassViewController object.
* @param {cardData} data
* @return {Promise<any>} Returns a promise
*/
@Cordova()
startAddPaymentPass(data: CardData): Promise<any> {
return;
}
/**
* Simple call contains the card data needed to add a card to Apple Pay.
* @param {encryptedCardData} data
* @return {Promise<any>} Returns a promise
*/
@Cordova()
completeAddPaymentPass(data: EncryptedCardData): Promise<any> {
return;
}
}
+1 -1
View File
@@ -9,7 +9,7 @@ import { Observable } from 'rxjs';
*
* @usage
* ```typescript
* import { Appodeal } from '@ionic-native/appodeal';
* import { Appodeal } from '@ionic-native/appodeal/ngx';
*
* constructor(private appodeal: Appodeal) {
*
+1 -1
View File
@@ -52,7 +52,7 @@ export interface AppsflyerInviteOptions {
*
* @usage
* ```typescript
* import { Appsflyer } from '@ionic-native/appsflyer';
* import { Appsflyer } from '@ionic-native/appsflyer/ngx';
*
*
* constructor(private appsflyer: Appsflyer) { }
+1 -1
View File
@@ -9,7 +9,7 @@ import { Cordova, IonicNativePlugin, Plugin } from '@ionic-native/core';
*
* @usage
* ```typescript
* import { Autostart } from '@ionic-native/autostart';
* import { Autostart } from '@ionic-native/autostart/ngx';
*
*
* constructor(private autostart: Autostart) { }
@@ -20,7 +20,7 @@ export interface BackgroundFetchConfig {
* @usage
*
* ```typescript
* import { BackgroundFetch, BackgroundFetchConfig } from '@ionic-native/background-fetch';
* import { BackgroundFetch, BackgroundFetchConfig } from '@ionic-native/background-fetch/ngx';
*
*
* constructor(private backgroundFetch: BackgroundFetch) {
@@ -262,7 +262,7 @@ export interface BackgroundGeolocationConfig {
* BackgroundGeolocation must be called within app.ts and or before Geolocation. Otherwise the platform will not ask you for background tracking permission.
*
* ```typescript
* import { BackgroundGeolocation, BackgroundGeolocationConfig, BackgroundGeolocationResponse } from '@ionic-native/background-geolocation';
* import { BackgroundGeolocation, BackgroundGeolocationConfig, BackgroundGeolocationResponse } from '@ionic-native/background-geolocation/ngx';
*
* constructor(private backgroundGeolocation: BackgroundGeolocation) { }
*
@@ -57,7 +57,7 @@ export interface BackgroundModeConfiguration {
* Requires Cordova plugin: cordova-plugin-background-mode. For more info about plugin, visit: https://github.com/katzer/cordova-plugin-background-mode
* @usage
* ```typescript
* import { BackgroundMode } from '@ionic-native/background-mode';
* import { BackgroundMode } from '@ionic-native/background-mode/ngx';
*
* constructor(private backgroundMode: BackgroundMode) { }
*
+1 -1
View File
@@ -10,7 +10,7 @@ import { Cordova, IonicNativePlugin, Plugin } from '@ionic-native/core';
*
* @usage
* ```typescript
* import { Backlight } from '@ionic-native/backlight';
* import { Backlight } from '@ionic-native/backlight/ngx';
*
* constructor(private backlight: Backlight) { }
*
+1 -1
View File
@@ -10,7 +10,7 @@ import { Cordova, IonicNativePlugin, Plugin } from '@ionic-native/core';
*
* @usage
* ```typescript
* import { Badge } from '@ionic-native/badge';
* import { Badge } from '@ionic-native/badge/ngx';
*
* constructor(private badge: Badge) { }
*
@@ -84,7 +84,7 @@ export interface BarcodeScanResult {
*
* @usage
* ```typescript
* import { BarcodeScanner } from '@ionic-native/barcode-scanner';
* import { BarcodeScanner } from '@ionic-native/barcode-scanner/ngx';
*
* constructor(private barcodeScanner: BarcodeScanner) { }
*
@@ -16,7 +16,7 @@ export interface Base64ToGalleryOptions {
* @description This plugin allows you to save base64 data as a png image into the device
* @usage
* ```typescript
* import { Base64ToGallery } from '@ionic-native/base64-to-gallery';
* import { Base64ToGallery } from '@ionic-native/base64-to-gallery/ngx';
*
* constructor(private base64ToGallery: Base64ToGallery) { }
*
+1 -1
View File
@@ -9,7 +9,7 @@ import { Cordova, IonicNativePlugin, Plugin } from '@ionic-native/core';
*
* @usage
* ```typescript
* import { Base64 } from '@ionic-native/base64';
* import { Base64 } from '@ionic-native/base64/ngx';
*
* constructor(private base64: Base64) { }
*
@@ -21,7 +21,7 @@ export interface BatteryStatusResponse {
*
* @usage
* ```typescript
* import { BatteryStatus } from '@ionic-native/battery-status';
* import { BatteryStatus } from '@ionic-native/battery-status/ngx';
*
* constructor(private batteryStatus: BatteryStatus) { }
*
+1 -1
View File
@@ -28,7 +28,7 @@ export interface BLEScanOptions {
*
* ```typescript
*
* import { BLE } from '@ionic-native/ble';
* import { BLE } from '@ionic-native/ble/ngx';
*
* constructor(private ble: BLE) { }
*
+1 -1
View File
@@ -38,7 +38,7 @@ export interface BlinkUpWPSOptions {
*
* @usage
* ```typescript
* import { BlinkUp } from '@ionic-native/blinkup';
* import { BlinkUp } from '@ionic-native/blinkup/ngx';
*
* const options = <BlinkUpWifiOptions>{
* apiKey: 'API_KEY',
@@ -397,7 +397,7 @@ export interface AdapterInfo {
*
* @usage
* ```typescript
* import { BluetoothLE } from '@ionic-native/bluetooth-le';
* import { BluetoothLE } from '@ionic-native/bluetooth-le/ngx';
*
*
* constructor(public bluetoothle: BluetoothLE, public plt: Platform) {
@@ -466,7 +466,7 @@ export class BluetoothLE extends IonicNativePlugin {
* Currently the discoverable state does not have any relevance because there is no "setDiscoverable" functionality in place. That may change in the future.
* @returns {Promise<AdapterInfo>}
*/
@Cordova({ callbackOrder: 'reverse', observable: true })
@Cordova({ callbackOrder: 'reverse' })
getAdapterInfo(): Promise<AdapterInfo> {
return;
}
@@ -668,7 +668,7 @@ export class BluetoothLE extends IonicNativePlugin {
* @returns {Promise<OperationResult>}
*/
@Cordova({ callbackOrder: 'reverse' })
read(params: DescriptorParams): Promise<{ result: OperationResult }> {
read(params: DescriptorParams): Promise<OperationResult> {
return;
}
@@ -678,10 +678,10 @@ export class BluetoothLE extends IonicNativePlugin {
* Once a subscription is no longer needed, execute unsubscribe in a similar fashion.
* The Client Configuration descriptor will automatically be written to enable notification/indication based on the characteristic's properties.
* @param {DescriptorParams} params
* @returns {(Observable<{ result: OperationResult }>)}
* @returns {Observable<OperationResult>}
*/
@Cordova({ callbackOrder: 'reverse', observable: true })
subscribe(params: DescriptorParams): Observable<{ result: OperationResult }> {
subscribe(params: DescriptorParams): Observable<OperationResult> {
return;
}
@@ -7,7 +7,7 @@ import { Observable } from 'rxjs';
* @description This plugin enables serial communication over Bluetooth. It was written for communicating between Android or iOS and an Arduino (not Android to Android or iOS to iOS).
* @usage
* ```typescript
* import { BluetoothSerial } from '@ionic-native/bluetooth-serial';
* import { BluetoothSerial } from '@ionic-native/bluetooth-serial/ngx';
*
* constructor(private bluetoothSerial: BluetoothSerial) { }
*
+1 -1
View File
@@ -148,7 +148,7 @@ export interface PaymentUIResult {
*
* @usage
* ```typescript
* import { Braintree, ApplePayOptions, PaymentUIOptions } from '@ionic-native/braintree';
* import { Braintree, ApplePayOptions, PaymentUIOptions } from '@ionic-native/braintree/ngx';
*
* constructor(private braintree: Braintree) { }
*
+1 -1
View File
@@ -60,7 +60,7 @@ export interface BranchUniversalObject {
*
* @usage
* ```
* import { BranchIo } from '@ionic-native/branch-io';
* import { BranchIo } from '@ionic-native/branch-io/ngx';
*
*
* constructor(private branch: BranchIo) { }
@@ -10,7 +10,7 @@ import { Cordova, IonicNativePlugin, Plugin } from '@ionic-native/core';
*
* @usage
* ```typescript
* import { Brightness } from '@ionic-native/brightness';
* import { Brightness } from '@ionic-native/brightness/ngx';
*
* constructor(private brightness: Brightness) { }
*
@@ -9,7 +9,7 @@ import { Observable } from 'rxjs';
*
* @usage
* ```typescript
* import { Broadcaster } from '@ionic-native/broadcaster';
* import { Broadcaster } from '@ionic-native/broadcaster/ngx';
*
* constructor(private broadcaster: Broadcaster) { }
*
@@ -8,7 +8,7 @@ import { Cordova, IonicNativePlugin, Plugin } from '@ionic-native/core';
*
* @usage
* ```typescript
* import { BrowserTab } from '@ionic-native/browser-tab';
* import { BrowserTab } from '@ionic-native/browser-tab/ngx';
*
* constructor(private browserTab: BrowserTab) {
*
+1 -1
View File
@@ -66,7 +66,7 @@ export interface NameOrOptions {
*
* @usage
* ```typescript
* import { Calendar } from '@ionic-native/calendar';
* import { Calendar } from '@ionic-native/calendar/ngx';
*
* constructor(private calendar: Calendar) { }
*
@@ -19,7 +19,7 @@ export interface CallDirectoryLog {
*
* @usage
* ```typescript
* import { CallDirectory } from '@ionic-native/call-directory';
* import { CallDirectory } from '@ionic-native/call-directory/ngx';
*
*
* constructor(private callDirectory: CallDirectory) { }
+1 -1
View File
@@ -14,7 +14,7 @@ export interface CallLogObject {
*
* @usage
* ```typescript
* import { CallLog } from '@ionic-native/call-log';
* import { CallLog } from '@ionic-native/call-log/ngx';
*
*
* constructor(private callLog: CallLog) { }
@@ -9,7 +9,7 @@ import { Cordova, IonicNativePlugin, Plugin } from '@ionic-native/core';
*
* @usage
* ```typescript
* import { CallNumber } from '@ionic-native/call-number';
* import { CallNumber } from '@ionic-native/call-number/ngx';
*
* constructor(private callNumber: CallNumber) { }
*
@@ -63,7 +63,7 @@ export interface CameraPreviewPictureOptions {
*
* @usage
* ```typescript
* import { CameraPreview, CameraPreviewPictureOptions, CameraPreviewOptions, CameraPreviewDimensions } from '@ionic-native/camera-preview';
* import { CameraPreview, CameraPreviewPictureOptions, CameraPreviewOptions, CameraPreviewDimensions } from '@ionic-native/camera-preview/ngx';
*
* constructor(private cameraPreview: CameraPreview) { }
*
+3 -1
View File
@@ -128,9 +128,11 @@ 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 '<config-file parent="NSCameraUsageDescription" platform="ios" target="*-Info.plist"><string>You can take photos</string></config-file> inside of the <platform name='ios> section
*
* @usage
* ```typescript
* import { Camera, CameraOptions } from '@ionic-native/camera';
* import { Camera, CameraOptions } from '@ionic-native/camera/ngx';
*
* constructor(private camera: Camera) { }
*
+2 -2
View File
@@ -60,7 +60,7 @@ export interface CardIOOptions {
/**
* Changes the color of the guide overlay on the camera. The color is provided in hexadecimal format (e.g. `#FFFFFF`)
*/
guideColor?: string;
guideColor?: string | number;
/**
* The user will not be prompted to confirm their card number after processing.
@@ -141,7 +141,7 @@ export interface CardIOResponse {
* <string>To scan credit cards.</string>
* ```
* ```typescript
* import { CardIO } from '@ionic-native/card-io';
* import { CardIO } from '@ionic-native/card-io/ngx';
*
* constructor(private cardIO: CardIO) { }
*
+1 -1
View File
@@ -28,7 +28,7 @@ export interface ChooserResult {
*
* @usage
* ```typescript
* import { Chooser } from '@ionic-native/chooser';
* import { Chooser } from '@ionic-native/chooser/ngx';
*
*
* constructor(private chooser: Chooser) { }
+1 -1
View File
@@ -136,7 +136,7 @@ export interface CCKQuantityItem {
*
* @usage
* ```typescript
* import { ClassKit, CCKContext, CCKBinaryItem, CCKQuantityItem, CCKScoreItem, CCKContextTopic, CCKContextType, CCKBinaryType } from '@ionic-native/class-kit';
* import { ClassKit, CCKContext, CCKBinaryItem, CCKQuantityItem, CCKScoreItem, CCKContextTopic, CCKContextType, CCKBinaryType } from '@ionic-native/class-kit/ngx';
*
* // Init contexts defined in XML file 'CCK-contexts.xml'
* constructor( ..., private classKit: ClassKit) {
+1 -1
View File
@@ -10,7 +10,7 @@ declare var clevertap: any;
*
* @usage
* ```typescript
* import { CleverTap } from '@ionic-native/clevertap';
* import { CleverTap } from '@ionic-native/clevertap/ngx';
*
* constructor(private clevertap: CleverTap) { }
*
+1 -1
View File
@@ -8,7 +8,7 @@ import { Cordova, IonicNativePlugin, Plugin } from '@ionic-native/core';
*
* @usage
* ```typescript
* import { Clipboard } from '@ionic-native/clipboard';
* import { Clipboard } from '@ionic-native/clipboard/ngx';
*
* constructor(private clipboard: Clipboard) { }
*
@@ -8,7 +8,7 @@ import { Cordova, IonicNativePlugin, Plugin } from '@ionic-native/core';
*
* @usage
* ```typescript
* import { CloudSettings } from '@ionic-native/cloud-settings';
* import { CloudSettings } from '@ionic-native/cloud-settings/ngx';
*
*
* constructor(private cloudSettings: CloudSettings) { }
+1 -1
View File
@@ -464,7 +464,7 @@ export interface DownloadProgress {
*
* @usage
* ```typescript
* import { CodePush } from '@ionic-native/code-push';
* import { CodePush } from '@ionic-native/code-push/ngx';
*
* constructor(private codePush: CodePush) { }
*
+4 -1
View File
@@ -45,6 +45,9 @@ export interface IContactProperties {
/** A globally unique identifier. */
id?: string;
/** A globally unique identifier on Android. */
rawId?: string;
/** The name of this Contact, suitable for display to end users. */
displayName?: string;
@@ -310,7 +313,7 @@ export class ContactFindOptions implements IContactFindOptions {
* @usage
*
* ```typescript
* import { Contacts, Contact, ContactField, ContactName } from '@ionic-native/contacts';
* import { Contacts, Contact, ContactField, ContactName } from '@ionic-native/contacts/ngx';
*
* constructor(private contacts: Contacts) { }
*
@@ -8,7 +8,7 @@ import { Cordova, IonicNativePlugin, Plugin } from '@ionic-native/core';
*
* @usage
* ```typescript
* import { CouchbaseLite } from '@ionic-native/couchbase-lite';
* import { CouchbaseLite } from '@ionic-native/couchbase-lite/ngx';
* import { Http } from '@angular/http';
* import { Observable } from 'rxjs'
* constructor(private couchbase: CouchbaseLite, private platform:Platform,private _http:Http) {
+1 -1
View File
@@ -12,7 +12,7 @@ export interface CropOptions {
* @description Crops images
* @usage
* ```typescript
* import { Crop } from '@ionic-native/crop';
* import { Crop } from '@ionic-native/crop/ngx';
*
* constructor(private crop: Crop) { }
*
@@ -125,7 +125,7 @@ export interface DatePickerOptions {
*
* @usage
* ```typescript
* import { DatePicker } from '@ionic-native/date-picker';
* import { DatePicker } from '@ionic-native/date-picker/ngx';
*
* constructor(private datePicker: DatePicker) { }
*
+1 -1
View File
@@ -7,7 +7,7 @@ import { Observable } from 'rxjs';
* @description This plugin defines a global DBMeter object, which permits to get the decibel values from the microphone.
* @usage
* ```typescript
* import { DBMeter } from '@ionic-native/db-meter';
* import { DBMeter } from '@ionic-native/db-meter/ngx';
*
* constructor(private dbMeter: DBMeter) { }
*
+1 -1
View File
@@ -35,7 +35,7 @@ export interface DeeplinkOptions {
*
* @usage
* ```typescript
* import { Deeplinks } from '@ionic-native/deeplinks';
* import { Deeplinks } from '@ionic-native/deeplinks/ngx';
*
* constructor(private deeplinks: Deeplinks) { }
*
@@ -19,7 +19,7 @@ export interface AndroidAccount {
*
* @usage
* ```typescript
* import { DeviceAccounts } from '@ionic-native/device-accounts';
* import { DeviceAccounts } from '@ionic-native/device-accounts/ngx';
*
* constructor(private deviceAccounts: DeviceAccounts) { }
*
@@ -17,7 +17,7 @@ export interface DeviceFeedbackStatus {
*
* @usage
* ```typescript
* import { DeviceFeedback } from '@ionic-native/device-feedback';
* import { DeviceFeedback } from '@ionic-native/device-feedback/ngx';
*
* constructor(private deviceFeedback: DeviceFeedback) { }
*
@@ -38,7 +38,7 @@ export interface DeviceMotionAccelerometerOptions {
*
* @usage
* ```typescript
* import { DeviceMotion, DeviceMotionAccelerationData } from '@ionic-native/device-motion';
* import { DeviceMotion, DeviceMotionAccelerationData } from '@ionic-native/device-motion/ngx';
*
* constructor(private deviceMotion: DeviceMotion) { }
*
@@ -44,7 +44,7 @@ export interface DeviceOrientationCompassOptions {
* @usage
* ```typescript
* // DeviceOrientationCompassHeading is an interface for compass
* import { DeviceOrientation, DeviceOrientationCompassHeading } from '@ionic-native/device-orientation';
* import { DeviceOrientation, DeviceOrientationCompassHeading } from '@ionic-native/device-orientation/ngx';
*
* constructor(private deviceOrientation: DeviceOrientation) { }
*
+1 -1
View File
@@ -10,7 +10,7 @@ declare const window: any;
*
* @usage
* ```typescript
* import { Device } from '@ionic-native/device';
* import { Device } from '@ionic-native/device/ngx';
*
* constructor(private device: Device) { }
*
@@ -8,7 +8,7 @@ import { Cordova, CordovaProperty, IonicNativePlugin, Plugin } from '@ionic-nati
*
* @usage
* ```typescript
* import { Diagnostic } from '@ionic-native/diagnostic';
* import { Diagnostic } from '@ionic-native/diagnostic/ngx';
*
* constructor(private diagnostic: Diagnostic) { }
*
+1 -1
View File
@@ -22,7 +22,7 @@ export interface DialogsPromptCallback {
*
* @usage
* ```typescript
* import { Dialogs } from '@ionic-native/dialogs';
* import { Dialogs } from '@ionic-native/dialogs/ngx';
*
* constructor(private dialogs: Dialogs) { }
*
+1 -1
View File
@@ -7,7 +7,7 @@ import { Injectable } from '@angular/core';
*
* @usage
* ```typescript
* import { DNS } from '@ionic-native/dns';
* import { DNS } from '@ionic-native/dns/ngx';
*
*
* constructor(private dns: DNS) { }
@@ -10,7 +10,7 @@ import { Cordova, IonicNativePlugin, Plugin } from '@ionic-native/core';
*
* @usage
* ```typescript
* import { DocumentPicker } from '@ionic-native/document-picker';
* import { DocumentPicker } from '@ionic-native/document-picker/ngx';
*
* constructor(private docPicker: DocumentPicker) { }
*
@@ -36,7 +36,7 @@ export interface DocumentViewerOptions {
*
* @usage
* ```typescript
* import { DocumentViewer } from '@ionic-native/document-viewer';
* import { DocumentViewer } from '@ionic-native/document-viewer/ngx';
*
*
* constructor(private document: DocumentViewer) { }
@@ -0,0 +1,124 @@
import { Injectable } from '@angular/core';
import { Cordova, IonicNativePlugin, Plugin } from '@ionic-native/core';
export enum NotificationVisibility {
Visible = 0,
VisibleNotifyCompleted = 1,
VisibilityHidden = 2,
VisibleNotifyOnlyCompletion = 3
}
export interface DownloadHttpHeader {
header: string;
value: string;
}
export interface DestinationDirectory {
dirType: string;
subPath: string;
}
export interface DownloadRequest {
/**
* Location of the resource to download
*/
uri: string;
/**
* Set the title of this download, to be displayed in notifications (if enabled).
* If no title is given, a default one will be assigned based on the download filename, once the download starts.
*/
title?: string;
/**
* Set a description of this download, to be displayed in notifications (if enabled)
*/
description?: string;
/**
* Set the MIME content type of this download. This will override the content type declared in the server's response.
*/
mimeType?: string;
/**
* Set whether this download should be displayed in the system's Downloads UI. True by default.
*/
visibleInDownloadsUi?: boolean;
/**
* Control whether a system notification is posted by the download manager while this download is running or when it is completed.
*/
notificationVisibility?: NotificationVisibility;
/**
* Set the local destination for the downloaded file to a path within the application's external files directory
*/
destinationInExternalFilesDir?: DestinationDirectory;
/**
* Set the local destination for the downloaded file to a path within the public external storage directory
*/
destinationInExternalPublicDir?: DestinationDirectory;
/**
* Set the local destination for the downloaded file.
* Must be a file URI to a path on external storage, and the calling application must have the WRITE_EXTERNAL_STORAGE permission.
*/
destinationUri?: string;
/**
* Add an HTTP header to be included with the download request. The header will be added to the end of the list.
*/
headers?: DownloadHttpHeader[];
}
/**
* @name Downloader
* @description
* This plugin is designed to support downloading files using Android DownloadManager.
*
*
* @usage
* ```typescript
* import { Downloader } from '@ionic-native/downloader/ngx';
*
*
* constructor(private downloader: Downloader) { }
*
* ...
*
* var request: DownloadRequest = {
* uri: YOUR_URI,
* title: 'MyDownload',
* description: '',
* mimeType: '',
* visibleInDownloadsUi: true,
* notificationVisibility: NotificationVisibility.VisibleNotifyCompleted,
* destinationInExternalFilesDir: {
* dirType: 'Downloads',
* subPath: 'MyFile.apk'
* }
* };
*
*
* this.downloader.download(request)
* .then((location: string) => console.log('File downloaded at:'+location))
* .catch((error: any) => console.error(error));
*
* ```
* @interfaces
* NotificationVisibility
* Header
* DestinationDirectory
* DownloadHttpHeader
*/
@Plugin({
pluginName: 'Downloader',
plugin: 'integrator-cordova-plugin-downloader',
pluginRef: 'cordova.plugins.Downloader',
repo: 'https://github.com/Luka313/integrator-cordova-plugin-downloader.git',
platforms: ['Android']
})
@Injectable()
export class Downloader extends IonicNativePlugin {
/**
* Starts a new download and returns location of the downloaded file on completion
* @param request {DownloadRequest}
*/
@Cordova()
download(request: DownloadRequest): Promise<string> {
return;
}
}
@@ -63,7 +63,7 @@ export interface EmailComposerOptions {
*
* @usage
* ```typescript
* import { EmailComposer } from '@ionic-native/email-composer';
* import { EmailComposer } from '@ionic-native/email-composer/ngx';
*
* constructor(private emailComposer: EmailComposer) { }
*
@@ -22,7 +22,7 @@ export interface EstimoteBeaconRegion {
*
* @usage
* ```typescript
* import { EstimoteBeacons } from '@ionic-native/estimote-beacons';
* import { EstimoteBeacons } from '@ionic-native/estimote-beacons/ngx';
*
* constructor(private eb: EstimoteBeacons) { }
*
@@ -12,7 +12,7 @@ import { CordovaProperty, IonicNativePlugin, Plugin } from '@ionic-native/core';
*
* @usage
* ```typescript
* import { ExtendedDeviceInformation } from '@ionic-native/extended-device-information';
* import { ExtendedDeviceInformation } from '@ionic-native/extended-device-information/ngx';
*
*
* constructor(private extendedDeviceInformation: ExtendedDeviceInformation) { }
+2 -2
View File
@@ -14,7 +14,7 @@ export interface Attributes {
*
* @usage
* ```typescript
* import { Crashlytics } from '@ionic-native/fabric';
* import { Crashlytics } from '@ionic-native/fabric/ngx';
*
*
* constructor(private crashlytics: Crashlytics) { }
@@ -142,7 +142,7 @@ export class Crashlytics extends IonicNativePlugin {
*
* @usage
* ```typescript
* import { Answers } from '@ionic-native/fabric';
* import { Answers } from '@ionic-native/fabric/ngx';
*
*
* constructor(private answers: Answers) { }
+1 -1
View File
@@ -89,7 +89,7 @@ export interface FacebookLoginResponse {
*
* @usage
* ```typescript
* import { Facebook, FacebookLoginResponse } from '@ionic-native/facebook';
* import { Facebook, FacebookLoginResponse } from '@ionic-native/facebook/ngx';
*
* constructor(private fb: Facebook) { }
*
+1 -1
View File
@@ -23,7 +23,7 @@ export interface NotificationData {
*
* @usage
* ```typescript
* import { FCM } from '@ionic-native/fcm';
* import { FCM } from '@ionic-native/fcm/ngx';
*
* constructor(private fcm: FCM) {}
*
@@ -9,7 +9,7 @@ import { Cordova, IonicNativePlugin, Plugin } from '@ionic-native/core';
*
* @usage
* ```typescript
* import { FileChooser } from '@ionic-native/file-chooser';
* import { FileChooser } from '@ionic-native/file-chooser/ngx';
*
* constructor(private fileChooser: FileChooser) { }
*
@@ -8,7 +8,7 @@ import { Cordova, IonicNativePlugin, Plugin } from '@ionic-native/core';
*
* @usage
* ```typescript
* import { FileEncryption } from '@ionic-native/file-encryption';
* import { FileEncryption } from '@ionic-native/file-encryption/ngx';
*
*
* constructor(private fileEncryption: FileEncryption) { }
@@ -8,7 +8,7 @@ import { Cordova, IonicNativePlugin, Plugin } from '@ionic-native/core';
*
* @usage
* ```typescript
* import { FileOpener } from '@ionic-native/file-opener';
* import { FileOpener } from '@ionic-native/file-opener/ngx';
*
* constructor(private fileOpener: FileOpener) { }
*
+1 -1
View File
@@ -11,7 +11,7 @@ declare const window: any;
*
* @usage
* ```typescript
* import { FilePath } from '@ionic-native/file-path';
* import { FilePath } from '@ionic-native/file-path/ngx';
*
* constructor(private filePath: FilePath) { }
*
@@ -16,7 +16,7 @@ export interface IOSFilePickerPosition {
*
* @usage
* ```typescript
* import { IOSFilePicker } from '@ionic-native/file-picker';
* import { IOSFilePicker } from '@ionic-native/file-picker/ngx';
*
* constructor(private filePicker: IOSFilePicker) { }
*
@@ -118,7 +118,7 @@ export interface FileTransferError {
*
* @usage
* ```typescript
* import { FileTransfer, FileUploadOptions, FileTransferObject } from '@ionic-native/file-transfer';
* import { FileTransfer, FileUploadOptions, FileTransferObject } from '@ionic-native/file-transfer/ngx';
* import { File } from '@ionic-native/file';
*
* constructor(private transfer: FileTransfer, private file: File) { }
+2 -42
View File
@@ -678,7 +678,7 @@ declare const window: Window;
*
* Example:
* ```
* import { File } from '@ionic-native/file';
* import { File } from '@ionic-native/file/ngx';
*
* constructor(private file: File) { }
*
@@ -1091,7 +1091,7 @@ export class File extends IonicNativePlugin {
* @param {string} path Base FileSystem. Please refer to the iOS and Android filesystem above
* @param {string} fileName path relative to base path
* @param {string | Blob | ArrayBuffer} text content, blob or ArrayBuffer to write
* @param {IWriteOptions} options replace file if set to true. See WriteOptions for more information.
* @param {IWriteOptions} whether to replace/append to an existing file. See IWriteOptions for more information.
* @returns {Promise<any>} Returns a Promise that resolves to updated file entry or rejects with an error.
*/
@CordovaCheck()
@@ -1217,46 +1217,6 @@ export class File extends IonicNativePlugin {
return this.readFile<ArrayBuffer>(path, file, 'ArrayBuffer');
}
private readFile<T>(
path: string,
file: string,
readAs: 'ArrayBuffer' | 'BinaryString' | 'DataURL' | 'Text'
): Promise<T> {
if (/^\//.test(file)) {
const err = new FileError(5);
err.message = 'file-name cannot start with /';
return Promise.reject<any>(err);
}
return this.resolveDirectoryUrl(path)
.then((directoryEntry: DirectoryEntry) => {
return this.getFile(directoryEntry, file, { create: false });
})
.then((fileEntry: FileEntry) => {
const reader = new FileReader();
return new Promise<T>((resolve, reject) => {
reader.onloadend = () => {
if (reader.result !== undefined || reader.result !== null) {
resolve((reader.result as any) as T);
} else if (reader.error !== undefined || reader.error !== null) {
reject(reader.error);
} else {
reject({ code: null, message: 'READER_ONLOADEND_ERR' });
}
};
fileEntry.file(
file => {
reader[`readAs${readAs}`].call(reader, file);
},
error => {
reject(error);
}
);
});
});
}
/**
* Move a file to a given path.
*
@@ -36,7 +36,7 @@ export interface FingerprintOptions {
*
* @usage
* ```typescript
* import { FingerprintAIO } from '@ionic-native/fingerprint-aio';
* import { FingerprintAIO } from '@ionic-native/fingerprint-aio/ngx';
*
* constructor(private faio: FingerprintAIO) { }
*
@@ -13,7 +13,7 @@ import { Cordova, IonicNativePlugin, Plugin } from '@ionic-native/core';
*
* @usage
* ```typescript
* import { FirebaseAnalytics } from '@ionic-native/firebase-analytics';
* import { FirebaseAnalytics } from '@ionic-native/firebase-analytics/ngx';
*
*
* constructor(private firebaseAnalytics: FirebaseAnalytics) { }
@@ -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<any>} Returns the id token
*/
@Cordova({ sync: true })
getIdToken(forceRefresh: boolean): Promise<any> {
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<any> {
return;
}
/**
* Initiates email verification for the current user.
*/
@Cordova({ sync: true })
sendEmailVerification(): Promise<any> {
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<any> {
return;
}
/**
* Asynchronously signs in using an email and password.
* @param email Email
* @param password Password
*/
@Cordova({ sync: true })
signInWithEmailAndPassword(email: string, password: string): Promise<any> {
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<any> {
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<any> {
return;
}
/**
* Create and use temporary anonymous account to authenticate with Firebase.
*/
@Cordova({ sync: true })
signInAnonymously(): Promise<any> {
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<any> {
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<any> {
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<any> {
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<any> {
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<any> {
return;
}
/**
* Sets languageCode to the apps current language.
*/
@Cordova({ sync: true })
useAppLanguage(): Promise<any> {
return;
}
/**
* Signs out the current user and clears it from the disk cache.
*/
@Cordova({ sync: true })
signOut(): Promise<any> {
return;
}
}
@@ -9,7 +9,7 @@ import { Cordova, IonicNativePlugin, Plugin } from '@ionic-native/core';
*
* @usage
* ```typescript
* import { FirebaseConfig } from '@ionic-native/firebase-config';
* import { FirebaseConfig } from '@ionic-native/firebase-config/ngx';
*
*
* constructor(private firebaseConfig: FirebaseConfig) { }
@@ -32,7 +32,7 @@ export interface IDynamicLink {
* ```
* @usage
* ```typescript
* import { FirebaseDynamicLinks } from '@ionic-native/firebase-dynamic-links';
* import { FirebaseDynamicLinks } from '@ionic-native/firebase-dynamic-links/ngx';
*
*
* constructor(private firebaseDynamicLinks: FirebaseDynamicLinks) { }
@@ -15,7 +15,7 @@ export interface IFirebaseMessage {
*
* @usage
* ```typescript
* import { FirebaseMessaging } from '@ionic-native/firebase-messaging';
* import { FirebaseMessaging } from '@ionic-native/firebase-messaging/ngx';
*
*
* constructor(private firebaseMessaging: FirebaseMessaging) { }
@@ -133,4 +133,14 @@ export class FirebaseMessaging extends IonicNativePlugin {
setBadge(value: number): Promise<null> {
return;
}
/**
* Revoke the current FCM token.
*
* @returns {Promise<null>}
*/
@Cordova({ sync: true })
revokeToken(): Promise<null> {
return;
}
}
+12 -1
View File
@@ -9,7 +9,7 @@ import { Observable } from 'rxjs';
*
* @usage
* ```typescript
* import { Firebase } from '@ionic-native/firebase';
* import { Firebase } from '@ionic-native/firebase/ngx';
*
* constructor(private firebase: Firebase) { }
*
@@ -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<any>}
*/
@Cordova()
setCrashlyticsUserId(userId: string): Promise<any> {
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
@@ -9,7 +9,7 @@ import { Cordova, IonicNativePlugin, Plugin } from '@ionic-native/core';
*
* @usage
* ```typescript
* import { Flashlight } from '@ionic-native/flashlight';
* import { Flashlight } from '@ionic-native/flashlight/ngx';
*
* constructor(private flashlight: Flashlight) { }
*
@@ -188,7 +188,7 @@ export class FlurryAnalyticsObject {
*
* @usage
* ```typescript
* import { FlurryAnalytics, FlurryAnalyticsObject, FlurryAnalyticsOptions } from '@ionic-native/flurry-analytics';
* import { FlurryAnalytics, FlurryAnalyticsObject, FlurryAnalyticsOptions } from '@ionic-native/flurry-analytics/ngx';
*
* constructor(private flurryAnalytics: FlurryAnalytics) { }
*
+1 -1
View File
@@ -9,7 +9,7 @@ import { Observable } from 'rxjs';
*
* @usage
* ```typescript
* import { FTP } from '@ionic-native/ftp';
* import { FTP } from '@ionic-native/ftp/ngx';
*
*
* constructor(private fTP: FTP) { }

Some files were not shown because too many files have changed in this diff Show More