Skip to content

Commit 4b3c0f1

Browse files
authored
fix!: remove deprecated platforms windows & osx (apache#1030)
1 parent 44ead0f commit 4b3c0f1

File tree

7 files changed

+19
-628
lines changed

7 files changed

+19
-628
lines changed

README.md

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -149,20 +149,12 @@ instance, or the system browser.
149149
- __toolbarposition__: Set to `top` or `bottom` (default is `bottom`). Causes the toolbar to be at the top or bottom of the window.
150150
- __hidespinner__: Set to `yes` or `no` to change the visibility of the loading indicator (defaults to `no`).
151151

152-
Windows supports these additional options:
153-
154-
- __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.
155-
- __hardwareback__: works the same way as on Android platform.
156-
- __fullscreen__: set to `yes` to create the browser control without a border around it. Please note that if __location=no__ is also specified, there will be no control presented to user to close IAB window.
157-
158152

159153
### Supported Platforms
160154

161155
- Android
162156
- Browser
163157
- iOS
164-
- OSX
165-
- Windows
166158

167159
### Example
168160

@@ -364,17 +356,11 @@ function downloadListener(params){
364356
- Android
365357
- Browser
366358
- iOS
367-
- Windows
368-
- OSX
369359

370360
### Browser Quirks
371361

372362
`loadstart`, `loaderror`, `message` events are not fired.
373363

374-
### Windows Quirks
375-
376-
`message` event is not fired.
377-
378364
### Quick Example
379365

380366
var ref = cordova.InAppBrowser.open('https://apache.org', '_blank', 'location=yes');
@@ -405,7 +391,6 @@ The function is passed an `InAppBrowserEvent` object.
405391
- Android
406392
- Browser
407393
- iOS
408-
- Windows
409394

410395
### Quick Example
411396

@@ -427,7 +412,6 @@ The function is passed an `InAppBrowserEvent` object.
427412
- Android
428413
- Browser
429414
- iOS
430-
- Windows
431415

432416
### Quick Example
433417

@@ -447,7 +431,6 @@ The function is passed an `InAppBrowserEvent` object.
447431
- Android
448432
- Browser
449433
- iOS
450-
- Windows
451434

452435
### Quick Example
453436

@@ -467,7 +450,6 @@ The function is passed an `InAppBrowserEvent` object.
467450

468451
- Android
469452
- iOS
470-
- Windows
471453

472454
### Quick Example
473455

@@ -499,7 +481,6 @@ The function is passed an `InAppBrowserEvent` object.
499481
- Android
500482
- Browser
501483
- iOS
502-
- Windows
503484

504485
### Quick Example
505486

@@ -512,10 +493,6 @@ The function is passed an `InAppBrowserEvent` object.
512493

513494
- only __code__ key is supported.
514495

515-
### Windows Quirks
516-
517-
Due to [MSDN docs](https://msdn.microsoft.com/en-us/library/windows.ui.xaml.controls.webview.invokescriptasync.aspx) the invoked script can return only string values, otherwise the parameter, passed to __callback__ will be `[null]`.
518-
519496
## InAppBrowser.insertCSS
520497

521498
> Injects CSS into the `InAppBrowser` window. (Only available when the target is set to `'_blank'`)
@@ -534,7 +511,6 @@ Due to [MSDN docs](https://msdn.microsoft.com/en-us/library/windows.ui.xaml.cont
534511

535512
- Android
536513
- iOS
537-
- Windows
538514

539515
### Quick Example
540516

package.json

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,7 @@
88
"platforms": [
99
"android",
1010
"browser",
11-
"ios",
12-
"osx",
13-
"windows"
11+
"ios"
1412
]
1513
},
1614
"repository": "github:apache/cordova-plugin-inappbrowser",
@@ -24,9 +22,7 @@
2422
"ecosystem:cordova",
2523
"cordova-android",
2624
"cordova-browser",
27-
"cordova-ios",
28-
"cordova-osx",
29-
"cordova-windows"
25+
"cordova-ios"
3026
],
3127
"scripts": {
3228
"test": "npm run lint",

plugin.xml

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -91,32 +91,6 @@
9191
<framework src="CoreGraphics.framework" />
9292
</platform>
9393

94-
<!-- osx -->
95-
<platform name="osx">
96-
<js-module src="www/inappbrowser.js" name="inappbrowser">
97-
<clobbers target="cordova.InAppBrowser.open" />
98-
</js-module>
99-
<config-file target="config.xml" parent="/*">
100-
<feature name="InAppBrowser">
101-
<param name="osx-package" value="CDVInAppBrowser" />
102-
</feature>
103-
</config-file>
104-
105-
<header-file src="src/osx/CDVInAppBrowser.h" />
106-
<source-file src="src/osx/CDVInAppBrowser.m" />
107-
</platform>
108-
109-
<!-- windows -->
110-
<platform name="windows">
111-
<js-module src="www/inappbrowser.js" name="inappbrowser">
112-
<clobbers target="cordova.InAppBrowser.open" />
113-
</js-module>
114-
<js-module src="src/windows/InAppBrowserProxy.js" name="InAppBrowserProxy">
115-
<runs />
116-
</js-module>
117-
<asset src="www/inappbrowser.css" target="css/inappbrowser.css" />
118-
</platform>
119-
12094
<!-- browser -->
12195
<platform name="browser">
12296
<js-module src="www/inappbrowser.js" name="inappbrowser">

src/osx/CDVInAppBrowser.h

Lines changed: 0 additions & 30 deletions
This file was deleted.

src/osx/CDVInAppBrowser.m

Lines changed: 0 additions & 89 deletions
This file was deleted.

0 commit comments

Comments
 (0)