You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+13-62Lines changed: 13 additions & 62 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -112,9 +112,13 @@ instance, or the system browser.
112
112
-__hidden__: set to `yes` to create the browser and load the page, but not show it. The loadstop event fires when loading is complete. Omit or set to `no` (default) to have the browser open and load normally.
113
113
-__clearcache__: set to `yes` to have the browser's cookie cache cleared before the new window is opened
114
114
-__clearsessioncache__: set to `yes` to have the session cookie cache cleared before the new window is opened
115
-
-__closebuttoncaption__: set to a string to use as the close buttons caption instead of a X. Note that you need to localize this value yourself.
115
+
-__closebuttoncaption__: set to a string to use as the close button's caption instead of a X. Note that you need to localize this value yourself.
116
116
-__closebuttoncolor__: set to a valid hex color string, for example: `#00ff00`, and it will change the
117
117
close button color from default, regardless of being a text or default X. Only has effect if user has location set to `yes`.
118
+
-__footer__: set to `yes` to show a close button in the footer similar to the iOS __Done__ button.
119
+
The close button will appear the same as for the header hence use __closebuttoncaption__ and __closebuttoncolor__ to set its properties.
120
+
-__footercolor__: set to a valid hex color string, for example `#00ff00` or `#CC00ff00` (`#aarrggbb`) , and it will change the footer color from default.
121
+
Only has effect if user has __footer__ set to `yes`.
118
122
-__hardwareback__: set to `yes` to use the hardware back button to navigate backwards through the `InAppBrowser`'s history. If there is no previous page, the `InAppBrowser` will close. The default value is `yes`, so you must set it to `no` if you want the back button to simply close the InAppBrowser.
119
123
-__hidenavigationbuttons__: set to `yes` to hide the navigation buttons on the location toolbar, only has effect if user has location set to `yes`. The default value is `no`.
120
124
-__hideurlbar__: set to `yes` to hide the url bar on the location toolbar, only has effect if user has location set to `yes`. The default value is `no`.
@@ -155,66 +159,23 @@ instance, or the system browser.
155
159
156
160
### Supported Platforms
157
161
158
-
- Amazon Fire OS
159
162
- Android
160
-
- BlackBerry 10
161
163
- Browser
162
-
- Firefox OS
163
164
- iOS
164
165
- OSX
165
-
- Windows 8 and 8.1
166
-
- Windows Phone 7 and 8
166
+
- Windows
167
167
168
168
### Example
169
169
170
170
var ref = cordova.InAppBrowser.open('http://apache.org', '_blank', 'location=yes');
171
171
var ref2 = cordova.InAppBrowser.open(encodeURI('http://ja.m.wikipedia.org/wiki/ハングル'), '_blank', 'location=yes');
172
172
173
-
### Firefox OS Quirks
174
-
175
-
As plugin doesn't enforce any design there is a need to add some CSS rules if
176
-
opened with `target='_blank'`. The rules might look like these
177
-
178
-
```css
179
-
.inAppBrowserWrap {
180
-
background-color: rgba(0,0,0,0.75);
181
-
color: rgba(235,235,235,1.0);
182
-
}
183
-
.inAppBrowserWrapmenu {
184
-
overflow: auto;
185
-
list-style-type: none;
186
-
padding-left: 0;
187
-
}
188
-
.inAppBrowserWrapmenuli {
189
-
font-size: 25px;
190
-
height: 25px;
191
-
float: left;
192
-
margin: 010px;
193
-
padding: 3px10px;
194
-
text-decoration: none;
195
-
color: #ccc;
196
-
display: block;
197
-
background: rgba(30,30,30,0.50);
198
-
}
199
-
.inAppBrowserWrapmenuli.disabled {
200
-
color: #777;
201
-
}
202
-
```
203
-
204
173
### OSX Quirks
205
174
206
175
At the moment the only supported target in OSX is `_system`.
207
176
208
177
`_blank` and `_self` targets are not yet implemented and are ignored silently. Pull requests and patches to get these to work are greatly appreciated.
209
178
210
-
### Windows Quirks
211
-
212
-
Windows 8.0, 8.1 and Windows Phone 8.1 don't support remote urls to be opened in the Cordova WebView so remote urls are always showed in the system's web browser if opened with `target='_self'`.
213
-
214
-
On Windows 10 if the URL is NOT in the white list and is opened with `target='_self'` it will be showed in the system's web browser instead of InAppBrowser popup.
215
-
216
-
Similar to Firefox OS IAB window visual behaviour can be overridden via `inAppBrowserWrap`/`inAppBrowserWrapFullscreen` CSS classes
217
-
218
179
### Browser Quirks
219
180
220
181
- Plugin is implemented via iframe,
@@ -335,12 +296,11 @@ function executeScriptCallBack(params) {
335
296
336
297
### Supported Platforms
337
298
338
-
- Amazon Fire OS
339
299
- Android
340
300
- Browser
341
301
- iOS
342
-
- Windows 8 and 8.1
343
-
-Windows Phone 7 and 8
302
+
- Windows
303
+
-OSX
344
304
345
305
### Browser Quirks
346
306
@@ -371,12 +331,10 @@ The function is passed an `InAppBrowserEvent` object.
371
331
372
332
### Supported Platforms
373
333
374
-
- Amazon Fire OS
375
334
- Android
376
335
- Browser
377
336
- iOS
378
-
- Windows 8 and 8.1
379
-
- Windows Phone 7 and 8
337
+
- Windows
380
338
381
339
### Quick Example
382
340
@@ -395,13 +353,10 @@ The function is passed an `InAppBrowserEvent` object.
395
353
396
354
### Supported Platforms
397
355
398
-
- Amazon Fire OS
399
356
- Android
400
357
- Browser
401
-
- Firefox OS
402
358
- iOS
403
-
- Windows 8 and 8.1
404
-
- Windows Phone 7 and 8
359
+
- Windows
405
360
406
361
### Quick Example
407
362
@@ -418,11 +373,10 @@ The function is passed an `InAppBrowserEvent` object.
418
373
419
374
### Supported Platforms
420
375
421
-
- Amazon Fire OS
422
376
- Android
423
377
- Browser
424
378
- iOS
425
-
- Windows 8 and 8.1
379
+
- Windows
426
380
427
381
### Quick Example
428
382
@@ -440,10 +394,9 @@ The function is passed an `InAppBrowserEvent` object.
440
394
441
395
### Supported Platforms
442
396
443
-
- Amazon Fire OS
444
397
- Android
445
398
- iOS
446
-
- Windows 8 and 8.1
399
+
- Windows
447
400
448
401
### Quick Example
449
402
@@ -472,11 +425,10 @@ The function is passed an `InAppBrowserEvent` object.
472
425
473
426
### Supported Platforms
474
427
475
-
- Amazon Fire OS
476
428
- Android
477
429
- Browser
478
430
- iOS
479
-
- Windows 8 and 8.1
431
+
- Windows
480
432
481
433
### Quick Example
482
434
@@ -509,7 +461,6 @@ Due to [MSDN docs](https://msdn.microsoft.com/en-us/library/windows.ui.xaml.cont
Copy file name to clipboardExpand all lines: RELEASENOTES.md
+27Lines changed: 27 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,6 +20,33 @@
20
20
-->
21
21
# Release Notes
22
22
23
+
### 2.0.2 (Jan 24, 2018)
24
+
*[CB-13791](https://issues.apache.org/jira/browse/CB-13791) Add **Android** support for a footer close button
25
+
*[CB-13409](https://issues.apache.org/jira/browse/CB-13409) restore gitignore to default
26
+
*[CB-13409](https://issues.apache.org/jira/browse/CB-13409) restore gitignore to default
27
+
*[CB-13409](https://issues.apache.org/jira/browse/CB-13409) restore gitignore to default
28
+
*[CB-13409](https://issues.apache.org/jira/browse/CB-13409) restore gitignore to default
29
+
*[CB-13409](https://issues.apache.org/jira/browse/CB-13409) ignore idea folder
30
+
*[CB-13409](https://issues.apache.org/jira/browse/CB-13409) change hidetoolbarnavigationbuttons to hidenavigationbuttons in iso
31
+
*[CB-13409](https://issues.apache.org/jira/browse/CB-13409)**Android** works well now, all changes are now documented
32
+
*[CB-13409](https://issues.apache.org/jira/browse/CB-13409) Lets user adjust color of toolbar, hide navigation buttons and set custom text on close button
33
+
*[CB-13746](https://issues.apache.org/jira/browse/CB-13746) Add build-tools-26.0.2 to travis
34
+
35
+
### 2.0.1 (Dec 27, 2017)
36
+
*[CB-13699](https://issues.apache.org/jira/browse/CB-13699) Fix to allow 2.0.0 version install
*[CB-13473](https://issues.apache.org/jira/browse/CB-13473) (CI) Removed **Browser** builds from AppVeyor
43
+
*[CB-13472](https://issues.apache.org/jira/browse/CB-13472) (CI) Fixed Travis **Android** builds again
44
+
*[CB-13347](https://issues.apache.org/jira/browse/CB-13347) Enable thirdparty cookies on `>=Android 5.0` device
45
+
*[CB-12895](https://issues.apache.org/jira/browse/CB-12895) added `eslint` and removed `jshint`
46
+
*[CB-12975](https://issues.apache.org/jira/browse/CB-12975) (docs) Resort and reword `cordova.InAppBrowser.open``options` lists
47
+
*[CB-12586](https://issues.apache.org/jira/browse/CB-12586) (iOS) fix method `hide` doesn't work
48
+
*[CB-12847](https://issues.apache.org/jira/browse/CB-12847) added `bugs` entry to `package.json`.
49
+
23
50
### 1.7.1 (Apr 27, 2017)
24
51
*[CB-12622](https://issues.apache.org/jira/browse/CB-12622) Added **Android 6.0** build badges to `README`
25
52
*[CB-12266](https://issues.apache.org/jira/browse/CB-12266) (browser platform) loadstop event.url is now a string instead of an object, aligning it with the other platforms.
0 commit comments