cronapp-cordova-plugin-ionic-webview 4.4.0-RC.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/.npmrc ADDED
@@ -0,0 +1 @@
1
+ package-lock=false
package/CHANGELOG.md ADDED
@@ -0,0 +1,278 @@
1
+ # # [5.0.3](https://github.com/ionic-team/cronapp-cordova-plugin-ionic-webview/compare/master...magellandevs:cronapp-cordova-plugin-ionic-webview:master) (2026-05-22)
2
+
3
+ ### Bug Fixes
4
+
5
+ * **ios:** add statusBarBackground on webview
6
+
7
+ # [5.0.1](https://github.com/ionic-team/cronapp-cordova-plugin-ionic-webview/compare/v5.0.0...v5.0.1) (2023-08-29)
8
+
9
+ ### Features
10
+
11
+ * **ios:** iOS 16.4 Webkit inspection enabled correctly https://github.com/ionic-team/cronapp-cordova-plugin-ionic-webview/pull/677
12
+
13
+ # [5.0.0](https://github.com/ionic-team/cronapp-cordova-plugin-ionic-webview/compare/v4.2.1...v5.0.0) (2020-05-27)
14
+
15
+
16
+ ### Features
17
+
18
+ * **android:** remove RequiresApi annotation and drop support for API 19 ([#540](https://github.com/ionic-team/cronapp-cordova-plugin-ionic-webview/issues/540)) ([17d2ada](https://github.com/ionic-team/cronapp-cordova-plugin-ionic-webview/commit/17d2ada038cbd6548ed14887b1b7a0cbc98f1d83))
19
+ * **ios:** remove normalizeURL function ([#576](https://github.com/ionic-team/cronapp-cordova-plugin-ionic-webview/issues/576)) ([d5bdbaa](https://github.com/ionic-team/cronapp-cordova-plugin-ionic-webview/commit/d5bdbaaf128bdd49cebe50fff52fbcf226998e7d))
20
+ * **ios:** remove wkRewriteURL function ([#577](https://github.com/ionic-team/cronapp-cordova-plugin-ionic-webview/issues/577)) ([02c18ea](https://github.com/ionic-team/cronapp-cordova-plugin-ionic-webview/commit/02c18ea359e344ab904733b8dc582ceb4e25d581))
21
+
22
+
23
+ ### BREAKING CHANGES
24
+
25
+ * **ios:** wkRewriteURL was deprecated and has been removed, use
26
+ window.Ionic.WebView.convertFileSrc instead
27
+ * **ios:** normalizeURL was deprecated and has been removed, use
28
+ window.Ionic.WebView.convertFileSrc instead
29
+ * **android:** Drop Android 4.4 support (SDK API level 19). Min required is 21.
30
+
31
+ ## [4.2.1](https://github.com/ionic-team/cronapp-cordova-plugin-ionic-webview/compare/v4.2.0...v4.2.1) (2020-04-28)
32
+
33
+
34
+ ### Bug Fixes
35
+
36
+ * **ios:** release userAgentLock for IAB compat ([#558](https://github.com/ionic-team/cronapp-cordova-plugin-ionic-webview/issues/558)) ([4c027f3](https://github.com/ionic-team/cronapp-cordova-plugin-ionic-webview/commit/4c027f3e1dadf790b1d699936b90b670b401db9e)), closes [#551](https://github.com/ionic-team/cronapp-cordova-plugin-ionic-webview/issues/551)
37
+
38
+ # [4.2.0](https://github.com/ionic-team/cronapp-cordova-plugin-ionic-webview/compare/v4.1.3...v4.2.0) (2020-04-14)
39
+
40
+
41
+ ### Bug Fixes
42
+
43
+ * **ionassethandler.m:** fix startPath is getting null ([#463](https://github.com/ionic-team/cronapp-cordova-plugin-ionic-webview/issues/463)) ([0bf16f1](https://github.com/ionic-team/cronapp-cordova-plugin-ionic-webview/commit/0bf16f1b73b853f40781c5de83964457cc4493d5))
44
+ * **ios:** avoid app scrolling to top on keyboard hide ([#533](https://github.com/ionic-team/cronapp-cordova-plugin-ionic-webview/issues/533)) ([7974eb4](https://github.com/ionic-team/cronapp-cordova-plugin-ionic-webview/commit/7974eb4160f5e83cf4b3e98905beba1f874464a6))
45
+ * **ios:** Replace deprecated APIs ([#539](https://github.com/ionic-team/cronapp-cordova-plugin-ionic-webview/issues/539)) ([27b9021](https://github.com/ionic-team/cronapp-cordova-plugin-ionic-webview/commit/27b9021d5d76b3e6dc6bfc83ab46b98cd301e694))
46
+
47
+
48
+ ### Features
49
+
50
+ * **android:** proxy service worker requests through local server ([#452](https://github.com/ionic-team/cronapp-cordova-plugin-ionic-webview/issues/452)) ([c672175](https://github.com/ionic-team/cronapp-cordova-plugin-ionic-webview/commit/c672175b7527d64b077f7715b2ff145325524add))
51
+ * **ios:** implement custom userAgent handling ([#537](https://github.com/ionic-team/cronapp-cordova-plugin-ionic-webview/issues/537)) ([8587114](https://github.com/ionic-team/cronapp-cordova-plugin-ionic-webview/commit/85871147ba8e5b23b693e518bf5ea800cccce8cc))
52
+
53
+ ## [4.1.3](https://github.com/ionic-team/cronapp-cordova-plugin-ionic-webview/compare/v4.1.2...v4.1.3) (2019-10-30)
54
+
55
+
56
+ ### Bug Fixes
57
+
58
+ * **android:** return proper mimeType for .mjs files ([#455](https://github.com/ionic-team/cronapp-cordova-plugin-ionic-webview/issues/455)) ([173a313](https://github.com/ionic-team/cronapp-cordova-plugin-ionic-webview/commit/173a313))
59
+ * **ios:** mitigate media memory usage ([#459](https://github.com/ionic-team/cronapp-cordova-plugin-ionic-webview/issues/459)) ([cbd526d](https://github.com/ionic-team/cronapp-cordova-plugin-ionic-webview/commit/cbd526d))
60
+ * **ios:** remove itms-services private scheme ([#464](https://github.com/ionic-team/cronapp-cordova-plugin-ionic-webview/issues/464)) ([d7d2600](https://github.com/ionic-team/cronapp-cordova-plugin-ionic-webview/commit/d7d2600))
61
+
62
+ ## [4.1.2](https://github.com/ionic-team/cronapp-cordova-plugin-ionic-webview/compare/v4.1.1...v4.1.2) (2019-09-25)
63
+
64
+
65
+ ### Bug Fixes
66
+
67
+ * **android:** allow schemes that start by https ([#437](https://github.com/ionic-team/cronapp-cordova-plugin-ionic-webview/issues/437)) ([fab9d1f](https://github.com/ionic-team/cronapp-cordova-plugin-ionic-webview/commit/fab9d1f))
68
+ * **Android:** return proper mimeType for wasm files ([0eb8a37](https://github.com/ionic-team/cronapp-cordova-plugin-ionic-webview/commit/0eb8a37))
69
+ * **ios:** make programmatically focus work on iOS 13 ([#438](https://github.com/ionic-team/cronapp-cordova-plugin-ionic-webview/issues/438)) ([7a514b0](https://github.com/ionic-team/cronapp-cordova-plugin-ionic-webview/commit/7a514b0)), closes [#435](https://github.com/ionic-team/cronapp-cordova-plugin-ionic-webview/issues/435)
70
+
71
+ ## [4.1.1](https://github.com/ionic-team/cronapp-cordova-plugin-ionic-webview/compare/v4.1.0...v4.1.1) (2019-06-26)
72
+
73
+
74
+ ### Bug Fixes
75
+
76
+ * **ios:** show error message when app fails to load ([#382](https://github.com/ionic-team/cronapp-cordova-plugin-ionic-webview/issues/382)) ([cb1f026](https://github.com/ionic-team/cronapp-cordova-plugin-ionic-webview/commit/cb1f026))
77
+
78
+ # [4.1.0](https://github.com/ionic-team/cronapp-cordova-plugin-ionic-webview/compare/v4.0.1...v4.1.0) (2019-06-10)
79
+
80
+
81
+ ### Features
82
+
83
+ * **ios:** Add WKSuspendInBackground preference ([#356](https://github.com/ionic-team/cronapp-cordova-plugin-ionic-webview/issues/356)) ([3613602](https://github.com/ionic-team/cronapp-cordova-plugin-ionic-webview/commit/3613602))
84
+
85
+ ## [4.0.1](https://github.com/ionic-team/cronapp-cordova-plugin-ionic-webview/compare/v4.0.0...v4.0.1) (2019-03-26)
86
+
87
+
88
+ ### Bug Fixes
89
+
90
+ * **ios:** Fix autofocus on iOS 12.2 ([#334](https://github.com/ionic-team/cronapp-cordova-plugin-ionic-webview/issues/334)) ([cb4c491](https://github.com/ionic-team/cronapp-cordova-plugin-ionic-webview/commit/cb4c491)), closes [#330](https://github.com/ionic-team/cronapp-cordova-plugin-ionic-webview/issues/330)
91
+ * account port on resolving uri path ([#321](https://github.com/ionic-team/cronapp-cordova-plugin-ionic-webview/issues/321)) ([fdfe8aa](https://github.com/ionic-team/cronapp-cordova-plugin-ionic-webview/commit/fdfe8aa))
92
+
93
+ # [4.0.0](https://github.com/ionic-team/cronapp-cordova-plugin-ionic-webview/compare/v3.1.2...v4.0.0) (2019-02-18)
94
+
95
+
96
+ ### Features
97
+
98
+ * **ios:** Make iOS app Scheme configurable with a preference ([#307](https://github.com/ionic-team/cronapp-cordova-plugin-ionic-webview/issues/307)) ([d52d37e](https://github.com/ionic-team/cronapp-cordova-plugin-ionic-webview/commit/d52d37e)), closes [#282](https://github.com/ionic-team/cronapp-cordova-plugin-ionic-webview/issues/282)
99
+ * **ios:** Remove WKSuspendInBackground preference ([#309](https://github.com/ionic-team/cronapp-cordova-plugin-ionic-webview/issues/309)) ([73b6659](https://github.com/ionic-team/cronapp-cordova-plugin-ionic-webview/commit/73b6659)), closes [#286](https://github.com/ionic-team/cronapp-cordova-plugin-ionic-webview/issues/286)
100
+
101
+
102
+ ### BREAKING CHANGES
103
+
104
+ * **ios:** Remove the WKSuspendInBackground preference, so app relying on that prefere will
105
+ not behave as expected
106
+
107
+ ## [3.1.2](https://github.com/ionic-team/cronapp-cordova-plugin-ionic-webview/compare/v3.1.1...v3.1.2) (2019-02-04)
108
+
109
+
110
+ ### Bug Fixes
111
+
112
+ * **Android:** Handle Range Requests for proper media file handling ([#298](https://github.com/ionic-team/cronapp-cordova-plugin-ionic-webview/issues/298)) ([6f18248](https://github.com/ionic-team/cronapp-cordova-plugin-ionic-webview/commit/6f18248)), closes [#248](https://github.com/ionic-team/cronapp-cordova-plugin-ionic-webview/issues/248) [#205](https://github.com/ionic-team/cronapp-cordova-plugin-ionic-webview/issues/205) [#141](https://github.com/ionic-team/cronapp-cordova-plugin-ionic-webview/issues/141)
113
+
114
+ ## [3.1.1](https://github.com/ionic-team/cronapp-cordova-plugin-ionic-webview/compare/v3.1.0...v3.1.1) (2019-01-18)
115
+
116
+
117
+ ### Bug Fixes
118
+
119
+ * **ios:** Remove unused code ([#281](https://github.com/ionic-team/cronapp-cordova-plugin-ionic-webview/issues/281)) ([fc7ea27](https://github.com/ionic-team/cronapp-cordova-plugin-ionic-webview/commit/fc7ea27))
120
+
121
+ # [3.1.0](https://github.com/ionic-team/cronapp-cordova-plugin-ionic-webview/compare/v3.0.0...v3.1.0) (2019-01-17)
122
+
123
+
124
+ ### Bug Fixes
125
+
126
+ * **ios:** Fix video playback of files with uppercase extension ([#264](https://github.com/ionic-team/cronapp-cordova-plugin-ionic-webview/issues/264)) ([2c4b225](https://github.com/ionic-team/cronapp-cordova-plugin-ionic-webview/commit/2c4b225)), closes [#260](https://github.com/ionic-team/cronapp-cordova-plugin-ionic-webview/issues/260)
127
+ * Set engines to require Cordova CLI 7.1.0 or newer ([#276](https://github.com/ionic-team/cronapp-cordova-plugin-ionic-webview/issues/276)) ([40f42e1](https://github.com/ionic-team/cronapp-cordova-plugin-ionic-webview/commit/40f42e1)), closes [#263](https://github.com/ionic-team/cronapp-cordova-plugin-ionic-webview/issues/263)
128
+ * Use a single scheme for all files ([#270](https://github.com/ionic-team/cronapp-cordova-plugin-ionic-webview/issues/270)) ([3d1bcdd](https://github.com/ionic-team/cronapp-cordova-plugin-ionic-webview/commit/3d1bcdd)), closes [#258](https://github.com/ionic-team/cronapp-cordova-plugin-ionic-webview/issues/258)
129
+
130
+
131
+ ### Features
132
+
133
+ * **Android:** Make app Scheme configurable with a preference ([#274](https://github.com/ionic-team/cronapp-cordova-plugin-ionic-webview/issues/274)) ([18d9f2c](https://github.com/ionic-team/cronapp-cordova-plugin-ionic-webview/commit/18d9f2c)), closes [#269](https://github.com/ionic-team/cronapp-cordova-plugin-ionic-webview/issues/269) [#255](https://github.com/ionic-team/cronapp-cordova-plugin-ionic-webview/issues/255)
134
+
135
+ # [3.0.0](https://github.com/ionic-team/cronapp-cordova-plugin-ionic-webview/compare/v2.3.1...v3.0.0) (2019-01-03)
136
+
137
+
138
+ ### Bug Fixes
139
+
140
+ * **iOS:** Remove unused code ([#247](https://github.com/ionic-team/cronapp-cordova-plugin-ionic-webview/issues/247)) ([bceb17a](https://github.com/ionic-team/cronapp-cordova-plugin-ionic-webview/commit/bceb17a))
141
+
142
+
143
+ ### Features
144
+
145
+ * Allows configuration of Mixed Content Mode ([#240](https://github.com/ionic-team/cronapp-cordova-plugin-ionic-webview/issues/240)) ([486d412](https://github.com/ionic-team/cronapp-cordova-plugin-ionic-webview/commit/486d412)), closes [#231](https://github.com/ionic-team/cronapp-cordova-plugin-ionic-webview/issues/231)
146
+ * **Android:** Implement ionic-file and ionic-content urls ([#242](https://github.com/ionic-team/cronapp-cordova-plugin-ionic-webview/issues/242)) ([8ef0c30](https://github.com/ionic-team/cronapp-cordova-plugin-ionic-webview/commit/8ef0c30)), closes [#204](https://github.com/ionic-team/cronapp-cordova-plugin-ionic-webview/issues/204) [#183](https://github.com/ionic-team/cronapp-cordova-plugin-ionic-webview/issues/183)
147
+ * **iOS:** Remove GCDWebServer ([#244](https://github.com/ionic-team/cronapp-cordova-plugin-ionic-webview/issues/244)) ([0dee0cf](https://github.com/ionic-team/cronapp-cordova-plugin-ionic-webview/commit/0dee0cf))
148
+ * **WebViewLocalServer.java:** return 404 error code when a local file is not found ([#217](https://github.com/ionic-team/cronapp-cordova-plugin-ionic-webview/issues/217)) ([f7a551e](https://github.com/ionic-team/cronapp-cordova-plugin-ionic-webview/commit/f7a551e)), closes [#216](https://github.com/ionic-team/cronapp-cordova-plugin-ionic-webview/issues/216)
149
+
150
+
151
+ ### BREAKING CHANGES
152
+
153
+ * **iOS:** Sets deployment-target to 11, so will only work on iOS 11+
154
+
155
+ * Address changes
156
+ * changes the default from 1 (never) to 0 (always)
157
+ * **WebViewLocalServer.java:** Until now, the Android part of the plugin was returning a 200 http code even though
158
+ the requested file didn't exist. This behavior was inconsistent with the historical behavior of the
159
+ iOS webView. This change makes them both work in the same manner but introduces a breaking change
160
+ for the current Android users that are expecting a 200 http code no matter what and are testing the
161
+ not found error just by checking if the body is null.
162
+
163
+ ## [2.3.1](https://github.com/ionic-team/cronapp-cordova-plugin-ionic-webview/compare/v2.3.0...v2.3.1) (2018-12-06)
164
+
165
+
166
+ ### Bug Fixes
167
+
168
+ * Handle convertFileSrc when using ionic:// scheme ([#236](https://github.com/ionic-team/cronapp-cordova-plugin-ionic-webview/issues/236)) ([89ce899](https://github.com/ionic-team/cronapp-cordova-plugin-ionic-webview/commit/89ce899))
169
+
170
+ # [2.3.0](https://github.com/ionic-team/cronapp-cordova-plugin-ionic-webview/compare/v2.2.5...v2.3.0) (2018-12-05)
171
+
172
+
173
+ ### Features
174
+
175
+ * **ios:** Add URLSchemeHandler for iOS 11+ ([#221](https://github.com/ionic-team/cronapp-cordova-plugin-ionic-webview/issues/221)) ([4a973f4](https://github.com/ionic-team/cronapp-cordova-plugin-ionic-webview/commit/4a973f4))
176
+
177
+ ## [2.2.5](https://github.com/ionic-team/cronapp-cordova-plugin-ionic-webview/compare/v2.2.4...v2.2.5) (2018-11-20)
178
+
179
+
180
+ ### Bug Fixes
181
+
182
+ * Add option for Dark keyboard appearance ([#44](https://github.com/ionic-team/cronapp-cordova-plugin-ionic-webview/issues/44)) ([6c0fe56](https://github.com/ionic-team/cronapp-cordova-plugin-ionic-webview/commit/6c0fe56))
183
+
184
+ ## [2.2.4](https://github.com/ionic-team/cronapp-cordova-plugin-ionic-webview/compare/v2.2.3...v2.2.4) (2018-11-20)
185
+
186
+
187
+ ### Bug Fixes
188
+
189
+ * fix keyboard displacement bug in iOS 12 WKWebView ([#201](https://github.com/ionic-team/cronapp-cordova-plugin-ionic-webview/issues/201)) ([a670568](https://github.com/ionic-team/cronapp-cordova-plugin-ionic-webview/commit/a670568))
190
+
191
+ ## [2.2.3](https://github.com/ionic-team/cronapp-cordova-plugin-ionic-webview/compare/v2.2.2...v2.2.3) (2018-11-09)
192
+
193
+
194
+ ### Bug Fixes
195
+
196
+ * Remove main and fix description ([d52db66](https://github.com/ionic-team/cronapp-cordova-plugin-ionic-webview/commit/d52db66))
197
+
198
+ ## [2.2.2](https://github.com/ionic-team/cronapp-cordova-plugin-ionic-webview/compare/v2.2.1...v2.2.2) (2018-11-09)
199
+
200
+ ### Bug Fixes
201
+
202
+ * Add more server checks before loading urls or reloading ([#211](https://github.com/ionic-team/cronapp-cordova-plugin-ionic-webview/issues/211)) ([60eff2f](https://github.com/ionic-team/cronapp-cordova-plugin-ionic-webview/commit/60eff2f))
203
+
204
+ ## [2.2.1](https://github.com/ionic-team/cronapp-cordova-plugin-ionic-webview/compare/v2.2.0...v2.2.1) (2018-11-07)
205
+
206
+
207
+ ### Bug Fixes
208
+
209
+ * Show error page if server is not running ([#207](https://github.com/ionic-team/cronapp-cordova-plugin-ionic-webview/issues/207)) ([6a2e07e](https://github.com/ionic-team/cronapp-cordova-plugin-ionic-webview/commit/6a2e07e))
210
+
211
+ <a name="2.2.0"></a>
212
+ ### 2.2.0 (2018-10-04)
213
+
214
+ * Fix issue where two apps running on the same port could conflict with each other ([#169](https://github.com/ionic-team/cronapp-cordova-plugin-ionic-webview/issues/165) & [#186](https://github.com/ionic-team/cronapp-cordova-plugin-ionic-webview/pull/186))
215
+ * Add kitkat support (API 19) ([#144](https://github.com/ionic-team/cronapp-cordova-plugin-ionic-webview/pull/144)) [@leo6104](https://github.com/leo6104)
216
+ * Fix issue where local server was being used if launch URL is external ([#169](https://github.com/ionic-team/cronapp-cordova-plugin-ionic-webview/pull/169))
217
+
218
+ <a name="2.1.4"></a>
219
+ ### 2.1.4 (2018-09-13)
220
+
221
+ * Allow Ionic Deploy `DisableDeploy` preference to disable loading of deploy updates ([#172](https://github.com/ionic-team/cronapp-cordova-plugin-ionic-webview/pull/172))
222
+
223
+ <a name="2.1.3"></a>
224
+ ### 2.1.3 (2018-09-06)
225
+
226
+ * Make server path relative ([#164](https://github.com/ionic-team/cronapp-cordova-plugin-ionic-webview/pull/164))
227
+
228
+ <a name="2.1.2"></a>
229
+ ### 2.1.2 (2018-09-05)
230
+
231
+ * Return 404 response when file doesn't exist ([#162](https://github.com/ionic-team/cronapp-cordova-plugin-ionic-webview/pull/162))
232
+ * Load local assets if the app is a freshly installed binary ([#155](https://github.com/ionic-team/cronapp-cordova-plugin-ionic-webview/pull/155))
233
+ * Reset stored server path on new binary ([#161](https://github.com/ionic-team/cronapp-cordova-plugin-ionic-webview/pull/161))
234
+
235
+ <a name="2.1.1"></a>
236
+ ### 2.1.1 (2018-09-04)
237
+
238
+ * Allow range requests for local files ([#154](https://github.com/ionic-team/cronapp-cordova-plugin-ionic-webview/pull/154))
239
+
240
+ <a name="2.1.0"></a>
241
+ ### 2.1.0 (2018-08-23)
242
+
243
+ * Add support for `cordova-android` 6 ([#150](https://github.com/ionic-team/cronapp-cordova-plugin-ionic-webview/pull/150))
244
+
245
+ <a name="2.0.3"></a>
246
+ ### 2.0.3 (2018-08-14)
247
+
248
+ * Fix nil reference by setting up the server URL before routes are set up. ([#135](https://github.com/ionic-team/cronapp-cordova-plugin-ionic-webview/pull/135)) [@matejkramny](https://github.com/matejkramny)
249
+ * Resolve issue when app is launched in background. ([#124](https://github.com/ionic-team/cronapp-cordova-plugin-ionic-webview/pull/124)) [@ghenry22](https://github.com/ghenry22)
250
+
251
+ <a name="2.0.2"></a>
252
+ ### 2.0.2 (2018-07-30)
253
+
254
+ * Immediately load new server base path upon setting it. ([#132](https://github.com/ionic-team/cronapp-cordova-plugin-ionic-webview/pull/132))
255
+
256
+ <a name="2.0.1"></a>
257
+ ### 2.0.1 (2018-07-25)
258
+
259
+ * Avoid "not modified" response on iOS by always overriding last modified date. ([#127](https://github.com/ionic-team/cronapp-cordova-plugin-ionic-webview/pull/127))
260
+
261
+ <a name="2.0.0"></a>
262
+ ### 2.0.0 (2018-07-23)
263
+
264
+ * **BREAKING**: HTTP server now runs for iOS **and** Android, instead of just iOS. The server is configured the same for both platforms.
265
+ * **BREAKING**: HTTP server now loads the app from a base href of `/`. The app URL behaves like `http://localhost:8080/index.html` instead of `http://localhost:8080/Users/.../index.html`.
266
+ * **BREAKING**: HTTP server is configured to run in HTML5 routing mode (push state) by default.
267
+ * **BREAKING**: File access through the Web View must be served by the HTTP server to avoid security errors in the Web View. Loading files via `file://` is not allowed by the Web View. The HTTP server will serve files via the `_file_` prefix, e.g. `http://localhost:8080/_file_/Users/.../file.png`.
268
+ * `window.Ionic.normalizeURL()` has been deprecated. Use `window.Ionic.WebView.convertFileSrc()`.
269
+ * iOS update HTTP server to latest upstream version (GCDwebserve 3.4.2)
270
+ * iOS update HTTP server to restart sockets with error state when resuming from background
271
+ * iOS enable HTTP server to continue running in background if the webview is running.
272
+ * iOS enable Webview to continue running in background. Requires background mode capability enabled in xcode + valid use case as per app store requirements. If your app is not performing valid background tasks it will still be suspended by the OS as usual. As long as valid background tasks are running the webview will continue to function as expected.
273
+ * iOS add config.xml options:
274
+ * WKSuspendInBackground - defaults to true, if set to false then the webview and HTTP server will continue to run when the app is in the background or screen is locked
275
+ * WKPort - defaults to 8080, define the port that the HTTP server will listen on
276
+ * WKBind - defaults to localhost, if set to 127.0.0.1 then this IP will be used instead of the localhost hostname for the HTTP server
277
+
278
+ See [Github releases](https://github.com/ionic-team/cronapp-cordova-plugin-ionic-webview/releases) for earlier changes.
@@ -0,0 +1,32 @@
1
+ # Contributing
2
+
3
+ :mega: **Support/Questions?**: Please see our [Support Page](https://ionicframework.com/support) for general support questions. The issues on GitHub should be reserved for bug reports and feature requests.
4
+
5
+ ### Bug Reports
6
+
7
+ Please create an issue describing the bug in detail.
8
+
9
+ ### Feature Requests
10
+
11
+ Please create an issue!
12
+
13
+ ## Developing
14
+
15
+ Please familiarize yourself with [Cordova plugin development](https://cordova.apache.org/docs/en/latest/guide/hybrid/plugins/).
16
+
17
+ You can use `cordova plugin add` with a local directory to copy and compile plugin changes into a test project.
18
+
19
+ ### Workflow
20
+
21
+ This repo uses [semantic-release](https://github.com/semantic-release/semantic-release), so it's important to follow a strict workflow to ensure properly automated releases.
22
+
23
+ * Work off of `master` branch (create new branch or fork)
24
+ * Make changes
25
+ * Use `npm run cz` (or `git cz` if [commitizen](https://github.com/commitizen/cz-cli) is installed globally) to make commits
26
+ * Create a pull request
27
+ * Pull requests will be approved and squashed into the `master` branch
28
+ * Try to make pull requests with a single objective (don't have multiple features in one PR, don't mix fixes and features in one PR, etc.)
29
+
30
+ ### Publishing
31
+
32
+ Releases are automated in CI using [semantic-release](https://github.com/semantic-release/semantic-release) when the `stable` branch is pushed to Github. Rebase `master` with `stable`. Commits in `master` should be appropriately formatted from the PR workflow (see [Workflow](#workflow)).
package/LICENSE ADDED
@@ -0,0 +1,202 @@
1
+
2
+ Apache License
3
+ Version 2.0, January 2004
4
+ http://www.apache.org/licenses/
5
+
6
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
7
+
8
+ 1. Definitions.
9
+
10
+ "License" shall mean the terms and conditions for use, reproduction,
11
+ and distribution as defined by Sections 1 through 9 of this document.
12
+
13
+ "Licensor" shall mean the copyright owner or entity authorized by
14
+ the copyright owner that is granting the License.
15
+
16
+ "Legal Entity" shall mean the union of the acting entity and all
17
+ other entities that control, are controlled by, or are under common
18
+ control with that entity. For the purposes of this definition,
19
+ "control" means (i) the power, direct or indirect, to cause the
20
+ direction or management of such entity, whether by contract or
21
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
22
+ outstanding shares, or (iii) beneficial ownership of such entity.
23
+
24
+ "You" (or "Your") shall mean an individual or Legal Entity
25
+ exercising permissions granted by this License.
26
+
27
+ "Source" form shall mean the preferred form for making modifications,
28
+ including but not limited to software source code, documentation
29
+ source, and configuration files.
30
+
31
+ "Object" form shall mean any form resulting from mechanical
32
+ transformation or translation of a Source form, including but
33
+ not limited to compiled object code, generated documentation,
34
+ and conversions to other media types.
35
+
36
+ "Work" shall mean the work of authorship, whether in Source or
37
+ Object form, made available under the License, as indicated by a
38
+ copyright notice that is included in or attached to the work
39
+ (an example is provided in the Appendix below).
40
+
41
+ "Derivative Works" shall mean any work, whether in Source or Object
42
+ form, that is based on (or derived from) the Work and for which the
43
+ editorial revisions, annotations, elaborations, or other modifications
44
+ represent, as a whole, an original work of authorship. For the purposes
45
+ of this License, Derivative Works shall not include works that remain
46
+ separable from, or merely link (or bind by name) to the interfaces of,
47
+ the Work and Derivative Works thereof.
48
+
49
+ "Contribution" shall mean any work of authorship, including
50
+ the original version of the Work and any modifications or additions
51
+ to that Work or Derivative Works thereof, that is intentionally
52
+ submitted to Licensor for inclusion in the Work by the copyright owner
53
+ or by an individual or Legal Entity authorized to submit on behalf of
54
+ the copyright owner. For the purposes of this definition, "submitted"
55
+ means any form of electronic, verbal, or written communication sent
56
+ to the Licensor or its representatives, including but not limited to
57
+ communication on electronic mailing lists, source code control systems,
58
+ and issue tracking systems that are managed by, or on behalf of, the
59
+ Licensor for the purpose of discussing and improving the Work, but
60
+ excluding communication that is conspicuously marked or otherwise
61
+ designated in writing by the copyright owner as "Not a Contribution."
62
+
63
+ "Contributor" shall mean Licensor and any individual or Legal Entity
64
+ on behalf of whom a Contribution has been received by Licensor and
65
+ subsequently incorporated within the Work.
66
+
67
+ 2. Grant of Copyright License. Subject to the terms and conditions of
68
+ this License, each Contributor hereby grants to You a perpetual,
69
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
70
+ copyright license to reproduce, prepare Derivative Works of,
71
+ publicly display, publicly perform, sublicense, and distribute the
72
+ Work and such Derivative Works in Source or Object form.
73
+
74
+ 3. Grant of Patent License. Subject to the terms and conditions of
75
+ this License, each Contributor hereby grants to You a perpetual,
76
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
77
+ (except as stated in this section) patent license to make, have made,
78
+ use, offer to sell, sell, import, and otherwise transfer the Work,
79
+ where such license applies only to those patent claims licensable
80
+ by such Contributor that are necessarily infringed by their
81
+ Contribution(s) alone or by combination of their Contribution(s)
82
+ with the Work to which such Contribution(s) was submitted. If You
83
+ institute patent litigation against any entity (including a
84
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
85
+ or a Contribution incorporated within the Work constitutes direct
86
+ or contributory patent infringement, then any patent licenses
87
+ granted to You under this License for that Work shall terminate
88
+ as of the date such litigation is filed.
89
+
90
+ 4. Redistribution. You may reproduce and distribute copies of the
91
+ Work or Derivative Works thereof in any medium, with or without
92
+ modifications, and in Source or Object form, provided that You
93
+ meet the following conditions:
94
+
95
+ (a) You must give any other recipients of the Work or
96
+ Derivative Works a copy of this License; and
97
+
98
+ (b) You must cause any modified files to carry prominent notices
99
+ stating that You changed the files; and
100
+
101
+ (c) You must retain, in the Source form of any Derivative Works
102
+ that You distribute, all copyright, patent, trademark, and
103
+ attribution notices from the Source form of the Work,
104
+ excluding those notices that do not pertain to any part of
105
+ the Derivative Works; and
106
+
107
+ (d) If the Work includes a "NOTICE" text file as part of its
108
+ distribution, then any Derivative Works that You distribute must
109
+ include a readable copy of the attribution notices contained
110
+ within such NOTICE file, excluding those notices that do not
111
+ pertain to any part of the Derivative Works, in at least one
112
+ of the following places: within a NOTICE text file distributed
113
+ as part of the Derivative Works; within the Source form or
114
+ documentation, if provided along with the Derivative Works; or,
115
+ within a display generated by the Derivative Works, if and
116
+ wherever such third-party notices normally appear. The contents
117
+ of the NOTICE file are for informational purposes only and
118
+ do not modify the License. You may add Your own attribution
119
+ notices within Derivative Works that You distribute, alongside
120
+ or as an addendum to the NOTICE text from the Work, provided
121
+ that such additional attribution notices cannot be construed
122
+ as modifying the License.
123
+
124
+ You may add Your own copyright statement to Your modifications and
125
+ may provide additional or different license terms and conditions
126
+ for use, reproduction, or distribution of Your modifications, or
127
+ for any such Derivative Works as a whole, provided Your use,
128
+ reproduction, and distribution of the Work otherwise complies with
129
+ the conditions stated in this License.
130
+
131
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
132
+ any Contribution intentionally submitted for inclusion in the Work
133
+ by You to the Licensor shall be under the terms and conditions of
134
+ this License, without any additional terms or conditions.
135
+ Notwithstanding the above, nothing herein shall supersede or modify
136
+ the terms of any separate license agreement you may have executed
137
+ with Licensor regarding such Contributions.
138
+
139
+ 6. Trademarks. This License does not grant permission to use the trade
140
+ names, trademarks, service marks, or product names of the Licensor,
141
+ except as required for reasonable and customary use in describing the
142
+ origin of the Work and reproducing the content of the NOTICE file.
143
+
144
+ 7. Disclaimer of Warranty. Unless required by applicable law or
145
+ agreed to in writing, Licensor provides the Work (and each
146
+ Contributor provides its Contributions) on an "AS IS" BASIS,
147
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
148
+ implied, including, without limitation, any warranties or conditions
149
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
150
+ PARTICULAR PURPOSE. You are solely responsible for determining the
151
+ appropriateness of using or redistributing the Work and assume any
152
+ risks associated with Your exercise of permissions under this License.
153
+
154
+ 8. Limitation of Liability. In no event and under no legal theory,
155
+ whether in tort (including negligence), contract, or otherwise,
156
+ unless required by applicable law (such as deliberate and grossly
157
+ negligent acts) or agreed to in writing, shall any Contributor be
158
+ liable to You for damages, including any direct, indirect, special,
159
+ incidental, or consequential damages of any character arising as a
160
+ result of this License or out of the use or inability to use the
161
+ Work (including but not limited to damages for loss of goodwill,
162
+ work stoppage, computer failure or malfunction, or any and all
163
+ other commercial damages or losses), even if such Contributor
164
+ has been advised of the possibility of such damages.
165
+
166
+ 9. Accepting Warranty or Additional Liability. While redistributing
167
+ the Work or Derivative Works thereof, You may choose to offer,
168
+ and charge a fee for, acceptance of support, warranty, indemnity,
169
+ or other liability obligations and/or rights consistent with this
170
+ License. However, in accepting such obligations, You may act only
171
+ on Your own behalf and on Your sole responsibility, not on behalf
172
+ of any other Contributor, and only if You agree to indemnify,
173
+ defend, and hold each Contributor harmless for any liability
174
+ incurred by, or claims asserted against, such Contributor by reason
175
+ of your accepting any such warranty or additional liability.
176
+
177
+ END OF TERMS AND CONDITIONS
178
+
179
+ APPENDIX: How to apply the Apache License to your work.
180
+
181
+ To apply the Apache License to your work, attach the following
182
+ boilerplate notice, with the fields enclosed by brackets "[]"
183
+ replaced with your own identifying information. (Don't include
184
+ the brackets!) The text should be enclosed in the appropriate
185
+ comment syntax for the file format. We also recommend that a
186
+ file or class name and description of purpose be included on the
187
+ same "printed page" as the copyright notice for easier
188
+ identification within third-party archives.
189
+
190
+ Copyright [yyyy] [name of copyright owner]
191
+
192
+ Licensed under the Apache License, Version 2.0 (the "License");
193
+ you may not use this file except in compliance with the License.
194
+ You may obtain a copy of the License at
195
+
196
+ http://www.apache.org/licenses/LICENSE-2.0
197
+
198
+ Unless required by applicable law or agreed to in writing, software
199
+ distributed under the License is distributed on an "AS IS" BASIS,
200
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
201
+ See the License for the specific language governing permissions and
202
+ limitations under the License.