Skip to content

Commit a606af9

Browse files
Merge pull request #143 from maverickmishra/master
CB-13677: Remove deprecated platforms
2 parents 36c4382 + 2ae821c commit a606af9

File tree

7 files changed

+5
-244
lines changed

7 files changed

+5
-244
lines changed

README.md

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,8 @@ Report issues with this plugin on the [Apache Cordova issue tracker][Apache Cord
4141

4242
## Supported Platforms
4343

44-
- Amazon Fire OS
4544
- Android
46-
- BlackBerry 10
4745
- iOS
48-
- Windows Phone 7 and 8
4946
- Windows (`cordova-windows` version >= 4.4.0 is required)
5047
- Browser
5148

@@ -353,12 +350,6 @@ projectRoot
353350
<splash src="res/screen/windows/splashscreenphone.png" width="1152" height="1920"/>
354351
</platform>-->
355352

356-
<platform name="blackberry10">
357-
<!-- Add a rim:splash element for each resolution and locale you wish -->
358-
<!-- http://developer.blackberry.com/html5/documentation/rim_splash_element.html -->
359-
<rim:splash src="res/screen/blackberry/splashscreen.png"/>
360-
</platform>
361-
362353
<preference name="SplashScreenDelay" value="10000" />
363354
```
364355

@@ -499,7 +490,7 @@ navigator.splashscreen.hide();
499490
```
500491

501492

502-
### BlackBerry 10, WP8, iOS Quirk
493+
### iOS Quirk
503494

504495
The `config.xml` file's `AutoHideSplashScreen` setting must be
505496
`false`. To delay hiding the splash screen for two seconds, add a

package.json

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,16 @@
11
{
22
"name": "cordova-plugin-splashscreen",
3-
"version": "4.1.1-dev",
3+
"version": "5.0.0-dev",
44
"description": "Cordova Splashscreen Plugin",
55
"types": "./types/index.d.ts",
66
"cordova": {
77
"id": "cordova-plugin-splashscreen",
88
"platforms": [
99
"android",
10-
"amazon-fireos",
1110
"ubuntu",
1211
"ios",
13-
"blackberry10",
14-
"wp8",
15-
"windows8",
1612
"windows",
17-
"tizen"
13+
"browser"
1814
]
1915
},
2016
"repository": {
@@ -29,14 +25,8 @@
2925
"splashscreen",
3026
"ecosystem:cordova",
3127
"cordova-android",
32-
"cordova-amazon-fireos",
33-
"cordova-ubuntu",
3428
"cordova-ios",
35-
"cordova-blackberry10",
36-
"cordova-wp8",
37-
"cordova-windows8",
38-
"cordova-windows",
39-
"cordova-tizen"
29+
"cordova-windows"
4030
],
4131
"scripts": {
4232
"test": "npm run jshint",

plugin.xml

Lines changed: 1 addition & 54 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
2222
id="cordova-plugin-splashscreen"
23-
version="4.1.1-dev">
23+
version="5.0.0-dev">
2424
<name>Splashscreen</name>
2525
<description>Cordova Splashscreen Plugin</description>
2626
<license>Apache 2.0</license>
@@ -49,23 +49,6 @@
4949
<source-file src="src/android/SplashScreen.java" target-dir="src/org/apache/cordova/splashscreen" />
5050
</platform>
5151

52-
<!-- amazon-fireos -->
53-
<platform name="amazon-fireos">
54-
<config-file target="res/xml/config.xml" parent="/*">
55-
<feature name="SplashScreen">
56-
<param name="android-package" value="org.apache.cordova.splashscreen.SplashScreen"/>
57-
</feature>
58-
</config-file>
59-
60-
<source-file src="src/android/SplashScreen.java" target-dir="src/org/apache/cordova/splashscreen" />
61-
</platform>
62-
63-
<!-- ubuntu -->
64-
<platform name="ubuntu">
65-
<header-file src="src/ubuntu/splashscreen.h" />
66-
<source-file src="src/ubuntu/splashscreen.cpp" />
67-
</platform>
68-
6952
<!-- ios -->
7053
<platform name="ios">
7154
<config-file target="config.xml" parent="/*">
@@ -83,49 +66,13 @@
8366
<framework src="CoreGraphics.framework" />
8467
</platform>
8568

86-
<!-- blackberry10 -->
87-
<platform name="blackberry10">
88-
<source-file src="src/blackberry10/index.js" target-dir="SplashScreen" />
89-
<config-file target="www/config.xml" parent="/widget">
90-
<feature name="SplashScreen" value="SplashScreen"/>
91-
</config-file>
92-
</platform>
93-
94-
<!-- wp8 -->
95-
<platform name="wp8">
96-
<config-file target="config.xml" parent="/*">
97-
<feature name="SplashScreen">
98-
<param name="wp-package" value="SplashScreen"/>
99-
<param name="onload" value="true"/>
100-
</feature>
101-
</config-file>
102-
103-
<source-file src="src/wp/SplashScreen.cs" />
104-
<source-file src="src/wp/ResolutionHelper.cs" />
105-
106-
</platform>
107-
108-
<!-- windows8 -->
109-
<platform name="windows8">
110-
<js-module src="www/windows/SplashScreenProxy.js" name="SplashScreenProxy">
111-
<runs />
112-
</js-module>
113-
</platform>
114-
11569
<!-- windows -->
11670
<platform name="windows">
11771
<js-module src="www/windows/SplashScreenProxy.js" name="SplashScreenProxy">
11872
<runs />
11973
</js-module>
12074
</platform>
12175

122-
<!-- tizen -->
123-
<platform name="tizen">
124-
<js-module src="src/tizen/SplashScreenProxy.js" name="SplashScreenProxy">
125-
<runs />
126-
</js-module>
127-
</platform>
128-
12976
<!-- browser -->
13077
<platform name="browser">
13178
<js-module src="src/browser/SplashScreenProxy.js" name="SplashScreenProxy">

src/blackberry10/index.js

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

src/tizen/SplashScreenProxy.js

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

src/ubuntu/splashscreen.cpp

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

src/ubuntu/splashscreen.h

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

0 commit comments

Comments
 (0)