Repository: cordova-plugin-geolocation Updated Branches: refs/heads/master 96f0830ca -> 4a7694a65
CB-12519 Updated version and RELEASENOTES.md for release 2.4.2 Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-geolocation/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-geolocation/commit/5da75366 Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-geolocation/tree/5da75366 Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-geolocation/diff/5da75366 Branch: refs/heads/master Commit: 5da753661397792514816d066734490f063c5919 Parents: 96f0830 Author: Steve Gill <[email protected]> Authored: Tue Feb 28 17:41:26 2017 -0800 Committer: Steve Gill <[email protected]> Committed: Tue Feb 28 17:41:26 2017 -0800 ---------------------------------------------------------------------- RELEASENOTES.md | 8 +- package.json | 2 +- plugin.xml | 444 ++++++++++++++++++++------------------------------ tests/plugin.xml | 37 +---- 4 files changed, 189 insertions(+), 302 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cordova-plugin-geolocation/blob/5da75366/RELEASENOTES.md ---------------------------------------------------------------------- diff --git a/RELEASENOTES.md b/RELEASENOTES.md index a517428..65c0d09 100644 --- a/RELEASENOTES.md +++ b/RELEASENOTES.md @@ -20,6 +20,10 @@ --> # Release Notes +### 2.4.2 (Feb 28, 2017) +* [CB-12363](https://issues.apache.org/jira/browse/CB-12363) Added build badges for **iOS 9.3** and **iOS 10.0** +* [CB-12230](https://issues.apache.org/jira/browse/CB-12230) Removed **Windows 8.1** build badges + ### 2.4.1 (Dec 07, 2016) * [CB-12224](https://issues.apache.org/jira/browse/CB-12224) Updated version and RELEASENOTES.md for release 2.4.1 * corrected KCLAuthorizationStatus error, changed to always removed user of [manager locationServicesEnabled]. Must return [CLLocationManager locationServicesEnabled] or 'none' @@ -109,8 +113,8 @@ * [CB-7158](https://issues.apache.org/jira/browse/CB-7158) Fix geolocation for ios 8 * Revert [CB-6911](https://issues.apache.org/jira/browse/CB-6911) partially (keeping Info.plist key installation for iOS 8) * [CB-6911](https://issues.apache.org/jira/browse/CB-6911) Geolocation fails in iOS 8 -* [CB-5114](https://issues.apache.org/jira/browse/CB-5114) Windows 8.1 - Use a new proxy as old geolocation methods is deprecated -* [CB-5114](https://issues.apache.org/jira/browse/CB-5114) Append Windows 8.1 into plugin.xml + Optimize Windows 8 Geolocation proxy +* [CB-5114](https://issues.apache.org/jira/browse/CB-5114) **Windows 8.1** - Use a new proxy as old geolocation methods is deprecated +* [CB-5114](https://issues.apache.org/jira/browse/CB-5114) Append **Windows 8.1** into plugin.xml + Optimize Windows 8 Geolocation proxy * Renamed test dir, added nested plugin.xml * added documentation for manual tests * [CB-7146](https://issues.apache.org/jira/browse/CB-7146) Added manual tests http://git-wip-us.apache.org/repos/asf/cordova-plugin-geolocation/blob/5da75366/package.json ---------------------------------------------------------------------- diff --git a/package.json b/package.json index ea3600c..7550a31 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "cordova-plugin-geolocation", - "version": "2.4.2-dev", + "version": "2.4.2", "description": "Cordova Geolocation Plugin", "cordova": { "id": "cordova-plugin-geolocation", http://git-wip-us.apache.org/repos/asf/cordova-plugin-geolocation/blob/5da75366/plugin.xml ---------------------------------------------------------------------- diff --git a/plugin.xml b/plugin.xml index 8c55392..2197d4b 100644 --- a/plugin.xml +++ b/plugin.xml @@ -1,269 +1,177 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!-- - Licensed to the Apache Software Foundation (ASF) under one - or more contributor license agreements. See the NOTICE file - distributed with this work for additional information - regarding copyright ownership. The ASF licenses this file - to you under the Apache License, Version 2.0 (the - "License"); you may not use this file except in compliance - with the License. You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, - software distributed under the License is distributed on an - "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - KIND, either express or implied. See the License for the - specific language governing permissions and limitations - under the License. ---> - -<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0" -xmlns:rim="http://www.blackberry.com/ns/widgets" -xmlns:android="http://schemas.android.com/apk/res/android" - id="cordova-plugin-geolocation" - version="2.4.2-dev"> - - <name>Geolocation</name> - <description>Cordova Geolocation Plugin</description> - <license>Apache 2.0</license> - <keywords>cordova,geolocation</keywords> - <repo>https://git-wip-us.apache.org/repos/asf/cordova-plugin-geolocation.git</repo> - <issue>https://issues.apache.org/jira/browse/CB/component/12320638</issue> - - <dependency id="cordova-plugin-compat" version="^1.0.0" /> - - <!-- android --> - <platform name="android"> - - <config-file target="AndroidManifest.xml" parent="/*"> - <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" /> - <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" /> - <uses-feature android:name="android.hardware.location.gps" /> - </config-file> - - <config-file target="res/xml/config.xml" parent="/*"> - <feature name="Geolocation"> - <param name="android-package" value="org.apache.cordova.geolocation.Geolocation" /> - </feature> - </config-file> - - <source-file src="src/android/Geolocation.java" target-dir="src/org/apache/cordova/geolocation/" /> - - <js-module src="www/android/geolocation.js" name="geolocation"> - <clobbers target="navigator.geolocation" /> - </js-module> - - <!-- We don't expose PositionError via clobber on Android as we use it internally only --> - <js-module src="www/PositionError.js" name="PositionError"> - <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 --> - <platform name="ios"> - - <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="config.xml" parent="/*"> - <feature name="Geolocation"> - <param name="ios-package" value="CDVLocation"/> - </feature> - </config-file> - <header-file src="src/ios/CDVLocation.h" /> - <source-file src="src/ios/CDVLocation.m" /> - <framework src="CoreLocation.framework" /> - - <preference name="GEOLOCATION_USAGE_DESCRIPTION" default=" " /> - <config-file target="*-Info.plist" parent="NSLocationWhenInUseUsageDescription"> - <string>$GEOLOCATION_USAGE_DESCRIPTION</string> - </config-file> - - </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"> - <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> - - <!-- 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> +<?xml version="1.0" encoding="UTF-8" standalone="yes"?> +<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0" xmlns:rim="http://www.blackberry.com/ns/widgets" xmlns:android="http://schemas.android.com/apk/res/android" id="cordova-plugin-geolocation" version="2.4.2"> + <name>Geolocation</name> + <description>Cordova Geolocation Plugin</description> + <license>Apache 2.0</license> + <keywords>cordova,geolocation</keywords> + <repo>https://git-wip-us.apache.org/repos/asf/cordova-plugin-geolocation.git</repo> + <issue>https://issues.apache.org/jira/browse/CB/component/12320638</issue> + <dependency id="cordova-plugin-compat" version="^1.0.0"/> + <platform name="android"> + <config-file target="AndroidManifest.xml" parent="/*"> + <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/> + <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/> + <uses-feature android:name="android.hardware.location.gps"/> + </config-file> + <config-file target="res/xml/config.xml" parent="/*"> + <feature name="Geolocation"> + <param name="android-package" value="org.apache.cordova.geolocation.Geolocation"/> + </feature> + </config-file> + <source-file src="src/android/Geolocation.java" target-dir="src/org/apache/cordova/geolocation/"/> + <js-module src="www/android/geolocation.js" name="geolocation"> + <clobbers target="navigator.geolocation"/> + </js-module> + <js-module src="www/PositionError.js" name="PositionError"> + <runs/> + </js-module> + </platform> + <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> + <platform name="ios"> + <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="config.xml" parent="/*"> + <feature name="Geolocation"> + <param name="ios-package" value="CDVLocation"/> + </feature> + </config-file> + <config-file target="*-Info.plist" parent="NSLocationWhenInUseUsageDescription"> + <string>$GEOLOCATION_USAGE_DESCRIPTION</string> + </config-file> + <header-file src="src/ios/CDVLocation.h"/> + <source-file src="src/ios/CDVLocation.m"/> + <framework src="CoreLocation.framework"/> + <preference name="GEOLOCATION_USAGE_DESCRIPTION" default=" "/> + </platform> + <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> + <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> + <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> + <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> + <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> + <platform name="windows"> + <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> + <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> http://git-wip-us.apache.org/repos/asf/cordova-plugin-geolocation/blob/5da75366/tests/plugin.xml ---------------------------------------------------------------------- diff --git a/tests/plugin.xml b/tests/plugin.xml index d06d5a7..8d693de 100644 --- a/tests/plugin.xml +++ b/tests/plugin.xml @@ -1,32 +1,7 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!-- - Licensed to the Apache Software Foundation (ASF) under one - or more contributor license agreements. See the NOTICE file - distributed with this work for additional information - regarding copyright ownership. The ASF licenses this file - to you under the Apache License, Version 2.0 (the - "License"); you may not use this file except in compliance - with the License. You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, - software distributed under the License is distributed on an - "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - KIND, either express or implied. See the License for the - specific language governing permissions and limitations - under the License. ---> - -<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0" - xmlns:rim="http://www.blackberry.com/ns/widgets" - xmlns:android="http://schemas.android.com/apk/res/android" - id="cordova-plugin-geolocation-tests" - version="2.4.2-dev"> - <name>Cordova Geolocation Plugin Tests</name> - <license>Apache 2.0</license> - - <dependency id="cordova-plugin-device" url="https://github.com/apache/cordova-plugin-device" /> - <js-module src="tests.js" name="tests"> - </js-module> +<?xml version="1.0" encoding="UTF-8" standalone="yes"?> +<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0" xmlns:rim="http://www.blackberry.com/ns/widgets" xmlns:android="http://schemas.android.com/apk/res/android" id="cordova-plugin-geolocation-tests" version="2.4.2"> + <name>Cordova Geolocation Plugin Tests</name> + <license>Apache 2.0</license> + <dependency id="cordova-plugin-device" url="https://github.com/apache/cordova-plugin-device"/> + <js-module src="tests.js" name="tests"/> </plugin> --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
