Updated Branches: refs/heads/3.0.0 86d27fc97 -> e0bc4e93f
removed dependencies for geolocation plugin Project: http://git-wip-us.apache.org/repos/asf/cordova-wp7/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-wp7/commit/e0bc4e93 Tree: http://git-wip-us.apache.org/repos/asf/cordova-wp7/tree/e0bc4e93 Diff: http://git-wip-us.apache.org/repos/asf/cordova-wp7/diff/e0bc4e93 Branch: refs/heads/3.0.0 Commit: e0bc4e93f57e09bd9d4a55bb79657f03adcc8e0f Parents: 86d27fc Author: Benn Mapes <[email protected]> Authored: Mon May 27 17:21:25 2013 -0700 Committer: Benn Mapes <[email protected]> Committed: Mon May 27 17:21:25 2013 -0700 ---------------------------------------------------------------------- templates/standalone/CordovaAppProj.csproj | 1 - templates/standalone/Plugins/GeoLocation.cs | 34 ---------------------- templates/standalone/config.xml | 1 - 3 files changed, 0 insertions(+), 36 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cordova-wp7/blob/e0bc4e93/templates/standalone/CordovaAppProj.csproj ---------------------------------------------------------------------- diff --git a/templates/standalone/CordovaAppProj.csproj b/templates/standalone/CordovaAppProj.csproj index bcf300c..ce66bdc 100644 --- a/templates/standalone/CordovaAppProj.csproj +++ b/templates/standalone/CordovaAppProj.csproj @@ -174,7 +174,6 @@ <Compile Include="Plugins\Device.cs" /> <Compile Include="Plugins\File.cs" /> <Compile Include="Plugins\FileTransfer.cs" /> - <Compile Include="Plugins\GeoLocation.cs" /> <Compile Include="Plugins\Globalization.cs" /> <Compile Include="Plugins\ImageExifHelper.cs" /> <Compile Include="Plugins\Media.cs" /> http://git-wip-us.apache.org/repos/asf/cordova-wp7/blob/e0bc4e93/templates/standalone/Plugins/GeoLocation.cs ---------------------------------------------------------------------- diff --git a/templates/standalone/Plugins/GeoLocation.cs b/templates/standalone/Plugins/GeoLocation.cs deleted file mode 100644 index c53cb29..0000000 --- a/templates/standalone/Plugins/GeoLocation.cs +++ /dev/null @@ -1,34 +0,0 @@ -/* - Licensed 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. -*/ - -using System; -using System.Collections.Generic; -using System.Runtime.Serialization; -using System.Threading; -using System.Device.Location; - -namespace WPCordovaClassLib.Cordova.Commands -{ - /// <summary> - /// This is a command stub, the browser provides the correct implementation. We use this to trigger the static analyzer that we require this permission - /// </summary> - public class GeoLocation - { - /* Unreachable code, by design -jm */ - private void triggerGeoInclusion() - { - new GeoCoordinateWatcher(); - } - } -} http://git-wip-us.apache.org/repos/asf/cordova-wp7/blob/e0bc4e93/templates/standalone/config.xml ---------------------------------------------------------------------- diff --git a/templates/standalone/config.xml b/templates/standalone/config.xml index 56869c3..0d76b0c 100644 --- a/templates/standalone/config.xml +++ b/templates/standalone/config.xml @@ -31,7 +31,6 @@ <plugin name="Echo"/> <plugin name="File"/> <plugin name="FileTransfer"/> - <plugin name="Geolocation"/> <plugin name="Media"/> <plugin name="Capture"/> <plugin name="SplashScreen"/>
