Skip to content

Commit

Permalink
Merge pull request #143 from maverickmishra/master
Browse files Browse the repository at this point in the history
CB-13677: Remove deprecated platforms
  • Loading branch information
maverickmishra authored Dec 14, 2017
2 parents 36c4382 + 2ae821c commit a606af9
Show file tree
Hide file tree
Showing 7 changed files with 5 additions and 244 deletions.
11 changes: 1 addition & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,8 @@ Report issues with this plugin on the [Apache Cordova issue tracker][Apache Cord

## Supported Platforms

- Amazon Fire OS
- Android
- BlackBerry 10
- iOS
- Windows Phone 7 and 8
- Windows (`cordova-windows` version >= 4.4.0 is required)
- Browser

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

<platform name="blackberry10">
<!-- Add a rim:splash element for each resolution and locale you wish -->
<!-- http://developer.blackberry.com/html5/documentation/rim_splash_element.html -->
<rim:splash src="res/screen/blackberry/splashscreen.png"/>
</platform>

<preference name="SplashScreenDelay" value="10000" />
```

Expand Down Expand Up @@ -499,7 +490,7 @@ navigator.splashscreen.hide();
```


### BlackBerry 10, WP8, iOS Quirk
### iOS Quirk

The `config.xml` file's `AutoHideSplashScreen` setting must be
`false`. To delay hiding the splash screen for two seconds, add a
Expand Down
16 changes: 3 additions & 13 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,20 +1,16 @@
{
"name": "cordova-plugin-splashscreen",
"version": "4.1.1-dev",
"version": "5.0.0-dev",
"description": "Cordova Splashscreen Plugin",
"types": "./types/index.d.ts",
"cordova": {
"id": "cordova-plugin-splashscreen",
"platforms": [
"android",
"amazon-fireos",
"ubuntu",
"ios",
"blackberry10",
"wp8",
"windows8",
"windows",
"tizen"
"browser"
]
},
"repository": {
Expand All @@ -29,14 +25,8 @@
"splashscreen",
"ecosystem:cordova",
"cordova-android",
"cordova-amazon-fireos",
"cordova-ubuntu",
"cordova-ios",
"cordova-blackberry10",
"cordova-wp8",
"cordova-windows8",
"cordova-windows",
"cordova-tizen"
"cordova-windows"
],
"scripts": {
"test": "npm run jshint",
Expand Down
55 changes: 1 addition & 54 deletions plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

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

<!-- amazon-fireos -->
<platform name="amazon-fireos">
<config-file target="res/xml/config.xml" parent="/*">
<feature name="SplashScreen">
<param name="android-package" value="org.apache.cordova.splashscreen.SplashScreen"/>
</feature>
</config-file>

<source-file src="src/android/SplashScreen.java" target-dir="src/org/apache/cordova/splashscreen" />
</platform>

<!-- ubuntu -->
<platform name="ubuntu">
<header-file src="src/ubuntu/splashscreen.h" />
<source-file src="src/ubuntu/splashscreen.cpp" />
</platform>

<!-- ios -->
<platform name="ios">
<config-file target="config.xml" parent="/*">
Expand All @@ -83,49 +66,13 @@
<framework src="CoreGraphics.framework" />
</platform>

<!-- blackberry10 -->
<platform name="blackberry10">
<source-file src="src/blackberry10/index.js" target-dir="SplashScreen" />
<config-file target="www/config.xml" parent="/widget">
<feature name="SplashScreen" value="SplashScreen"/>
</config-file>
</platform>

<!-- wp8 -->
<platform name="wp8">
<config-file target="config.xml" parent="/*">
<feature name="SplashScreen">
<param name="wp-package" value="SplashScreen"/>
<param name="onload" value="true"/>
</feature>
</config-file>

<source-file src="src/wp/SplashScreen.cs" />
<source-file src="src/wp/ResolutionHelper.cs" />

</platform>

<!-- windows8 -->
<platform name="windows8">
<js-module src="www/windows/SplashScreenProxy.js" name="SplashScreenProxy">
<runs />
</js-module>
</platform>

<!-- windows -->
<platform name="windows">
<js-module src="www/windows/SplashScreenProxy.js" name="SplashScreenProxy">
<runs />
</js-module>
</platform>

<!-- tizen -->
<platform name="tizen">
<js-module src="src/tizen/SplashScreenProxy.js" name="SplashScreenProxy">
<runs />
</js-module>
</platform>

<!-- browser -->
<platform name="browser">
<js-module src="src/browser/SplashScreenProxy.js" name="SplashScreenProxy">
Expand Down
30 changes: 0 additions & 30 deletions src/blackberry10/index.js

This file was deleted.

43 changes: 0 additions & 43 deletions src/tizen/SplashScreenProxy.js

This file was deleted.

42 changes: 0 additions & 42 deletions src/ubuntu/splashscreen.cpp

This file was deleted.

52 changes: 0 additions & 52 deletions src/ubuntu/splashscreen.h

This file was deleted.

0 comments on commit a606af9

Please sign in to comment.