Skip to content
Permalink
Browse files
Merge pull request #99 from surajpindoria/removePlatforms
CB-13664: remove deprecated platforms
  • Loading branch information
stevengill committed Dec 14, 2017
2 parents 083a1c5 + 92f595c commit 76579eb007764570da28da330d366460d56bf5f0
Showing 8 changed files with 4 additions and 543 deletions.
@@ -88,13 +88,8 @@ It is also possible to install via repo url directly ( unstable )

## Supported Platforms

- Amazon Fire OS
- Android
- BlackBerry 10
- Firefox OS
- iOS
- Tizen
- Windows Phone 7 and 8
- Windows

## Methods
@@ -310,10 +305,6 @@ It contains a set of properties that describe the geographic coordinates of a po

* __speed__: Current ground speed of the device, specified in meters per second. _(Number)_

### Amazon Fire OS Quirks

__altitudeAccuracy__: Not supported by Android devices, returning `null`.

### Android Quirks

__altitudeAccuracy__: Not supported by Android devices, returning `null`.
@@ -1,20 +1,13 @@
{
"name": "cordova-plugin-geolocation",
"version": "3.0.1-dev",
"version": "4.0.0-dev",
"description": "Cordova Geolocation Plugin",
"cordova": {
"id": "cordova-plugin-geolocation",
"platforms": [
"android",
"amazon-fireos",
"ios",
"blackberry10",
"ubuntu",
"wp7",
"wp8",
"windows8",
"windows",
"firefoxos"
"windows"
]
},
"repository": {
@@ -29,15 +22,8 @@
"geolocation",
"ecosystem:cordova",
"cordova-android",
"cordova-amazon-fireos",
"cordova-ios",
"cordova-blackberry10",
"cordova-ubuntu",
"cordova-wp7",
"cordova-wp8",
"cordova-windows8",
"cordova-windows",
"cordova-firefoxos"
"cordova-windows"
],
"scripts": {
"test": "npm run eslint",
@@ -22,7 +22,7 @@
xmlns:rim="http://www.blackberry.com/ns/widgets"
xmlns:android="http://schemas.android.com/apk/res/android"
id="cordova-plugin-geolocation"
version="3.0.1-dev">
version="4.0.0-dev">

<name>Geolocation</name>
<description>Cordova Geolocation Plugin</description>
@@ -61,16 +61,6 @@ xmlns:android="http://schemas.android.com/apk/res/android"
<runs />
</js-module>

</platform>

<!-- amazon-fireos -->
<platform name="amazon-fireos">

<config-file target="AndroidManifest.xml" parent="/*">
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
</config-file>

</platform>

<!-- ios -->
@@ -103,113 +93,6 @@ xmlns:android="http://schemas.android.com/apk/res/android"

</platform>

<!-- blackberry10 -->
<platform name="blackberry10">

<js-module src="www/blackberry10/GeolocationProxy.js" name="GeolocationProxy">
<runs />
</js-module>

<js-module src="www/Coordinates.js" name="Coordinates">
<clobbers target="Coordinates" />
</js-module>

<js-module src="www/PositionError.js" name="PositionError">
<clobbers target="PositionError" />
</js-module>

<js-module src="www/Position.js" name="Position">
<clobbers target="Position" />
</js-module>

<js-module src="www/geolocation.js" name="geolocation">
<clobbers target="navigator.geolocation" />
</js-module>

<config-file target="www/config.xml" parent="/widget">
<feature name="Geolocation" value="Geolocation"/>
</config-file>

<config-file target="www/config.xml" parent="/widget/rim:permissions">
<rim:permit>read_geolocation</rim:permit>
</config-file>

</platform>

<!-- ubuntu -->
<platform name="ubuntu">
<js-module src="www/Coordinates.js" name="Coordinates">
<clobbers target="Coordinates" />
</js-module>

<js-module src="www/PositionError.js" name="PositionError">
<clobbers target="PositionError" />
</js-module>

<js-module src="www/Position.js" name="Position">
<clobbers target="Position" />
</js-module>

<js-module src="www/geolocation.js" name="geolocation">
<clobbers target="navigator.geolocation" />
</js-module>

<source-file src="src/ubuntu/geolocation.cpp" />
<header-file src="src/ubuntu/geolocation.h" />
<config-file target="config.xml" parent="/*">
<feature name="Geolocation">
<param policy_group="location" policy_version="1" />
</feature>
</config-file>
</platform>

<!-- wp7 -->
<platform name="wp7">

<config-file target="Properties/WMAppManifest.xml" parent="/Deployment/App/Capabilities">
<Capability Name="ID_CAP_LOCATION" />
</config-file>

<source-file src="src/wp/Geolocation.cs" />
</platform>

<!-- wp8 -->
<platform name="wp8">

<config-file target="Properties/WMAppManifest.xml" parent="/Deployment/App/Capabilities">
<Capability Name="ID_CAP_LOCATION" />
</config-file>

<source-file src="src/wp/Geolocation.cs" />
</platform>

<!-- windows8 -->
<platform name="windows8">
<config-file target="package.appxmanifest" parent="/Package/Capabilities">
<DeviceCapability Name="location" />
</config-file>

<js-module src="src/windows/GeolocationProxy.js" name="GeolocationProxy">
<runs />
</js-module>

<js-module src="www/Coordinates.js" name="Coordinates">
<clobbers target="Coordinates" />
</js-module>

<js-module src="www/PositionError.js" name="PositionError">
<clobbers target="PositionError" />
</js-module>

<js-module src="www/Position.js" name="Position">
<clobbers target="Position" />
</js-module>

<js-module src="www/geolocation.js" name="geolocation">
<clobbers target="navigator.geolocation" />
</js-module>
</platform>

<!-- windows universal apps (Windows 8.1, Windows Phone 8.1, Windows 8.0) -->
<platform name="windows">
<config-file target="package.appxmanifest" parent="/Package/Capabilities">
@@ -236,31 +119,4 @@ xmlns:android="http://schemas.android.com/apk/res/android"
<clobbers target="navigator.geolocation" />
</js-module>
</platform>

<!-- firefoxos -->
<platform name="firefoxos">
<config-file target="config.xml" parent="/*">
<permission name="geolocation" description="Required for accessing user location." />
</config-file>

<js-module src="src/firefoxos/GeolocationProxy.js" name="GeolocationProxy">
<runs />
</js-module>

<js-module src="www/Coordinates.js" name="Coordinates">
<clobbers target="Coordinates" />
</js-module>

<js-module src="www/PositionError.js" name="PositionError">
<clobbers target="PositionError" />
</js-module>

<js-module src="www/Position.js" name="Position">
<clobbers target="Position" />
</js-module>

<js-module src="www/geolocation.js" name="geolocation">
<clobbers target="navigator.geolocation" />
</js-module>
</platform>
</plugin>

This file was deleted.

0 comments on commit 76579eb

Please sign in to comment.