Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

cordova-plugin-geolocation

Package Overview
Dependencies
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cordova-plugin-geolocation - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

doc/de/README.md

4

package.json
{
"name": "cordova-plugin-geolocation",
"version": "1.0.0",
"version": "1.0.1",
"description": "Cordova Geolocation Plugin",

@@ -22,3 +22,3 @@ "cordova": {

"type": "git",
"url": "https://git-wip-us.apache.org/repos/asf/cordova-plugin-geolocation.git"
"url": "https://github.com/apache/cordova-plugin-geolocation"
},

@@ -25,0 +25,0 @@ "keywords": [

@@ -1,18 +0,18 @@

<!---
license: 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.
<!--
# license: 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.
-->

@@ -63,4 +63,14 @@

This requires cordova 5.0+ ( current stable 1.0.0 )
cordova plugin add cordova-plugin-geolocation
Older versions of cordova can still install via the deprecated id ( stale 0.3.12 )
cordova plugin add org.apache.cordova.geolocation
It is also possible to install via repo url directly ( unstable )
cordova plugin add https://github.com/apache/cordova-plugin-geolocation.git
## Supported Platforms

@@ -67,0 +77,0 @@

@@ -123,1 +123,8 @@ <!--

* CB-8443 Geolocation tests fail on Windows due to done is called multiple times
### 1.0.1 (Jun 17, 2015)
* CB-9128 cordova-plugin-geolocation documentation translation: cordova-plugin-geolocation
* fix npm md issue
* CB-8845 Updated comment why Android tests are currently pended
* CB-8845 Pended tests for Android
* Add more install text for legacy versions of cordova tools. This closes #36

@@ -56,3 +56,4 @@ /*

},
isWindowsStore = (cordova.platformId == "windows8") || (cordova.platformId == "windows" && !WinJS.Utilities.isPhone);
isWindowsStore = (cordova.platformId == "windows8") || (cordova.platformId == "windows" && !WinJS.Utilities.isPhone),
isAndroid = cordova.platformId == "android";

@@ -87,5 +88,6 @@ describe('Geolocation (navigator.geolocation)', function () {

it("geolocation.spec.5 should be called if we set timeout to 0 and maximumAge to a very small number", function (done) {
// this test asks for using geolocation and interrupts autotests running.
// That's why we have to pending that for Windows Store 8.0/8.1 apps
if (isWindowsStore) {
// On Windows, this test prompts user for permission to use geolocation and interrupts autotests running.
// On Android geolocation Api is not available on emulator so we pended tests until we found the way to detect
// whether we run on emulator or real device from JavaScript. You can still run the tests on Android manually.
if (isWindowsStore || isAndroid) {
pending();

@@ -108,5 +110,6 @@ }

it("geolocation.spec.6 should be called with a Position object", function (done) {
// this test asks for using geolocation and interrupts autotests running.
// That's why we have to pending that for Windows Store 8.0/8.1 apps
if (isWindowsStore) {
// On Windows, this test prompts user for permission to use geolocation and interrupts autotests running.
// On Android geolocation Api is not available on emulator so we pended tests until we found the way to detect
// whether we run on emulator or real device from JavaScript. You can still run the tests on Android manually.
if (isWindowsStore || isAndroid) {
pending();

@@ -147,5 +150,6 @@ }

it("geolocation.spec.7 should be called if we set timeout to 0 and maximumAge to a very small number", function (done) {
// this test asks for using geolocation and interrupts autotests running.
// That's why we have to pending that for Windows Store 8.0/8.1 apps
if (isWindowsStore) {
// On Windows, this test prompts user for permission to use geolocation and interrupts autotests running.
// On Android geolocation Api is not available on emulator so we pended tests until we found the way to detect
// whether we run on emulator or real device from JavaScript. You can still run the tests on Android manually.
if (isWindowsStore || isAndroid) {
pending();

@@ -174,5 +178,6 @@ }

it("geolocation.spec.8 should be called with a Position object", function (done) {
// this test asks for using geolocation and interrupts autotests running.
// That's why we have to pending that for Windows Store 8.0/8.1 apps
if (isWindowsStore) {
// On Windows, this test prompts user for permission to use geolocation and interrupts autotests running.
// On Android geolocation Api is not available on emulator so we pended tests until we found the way to detect
// whether we run on emulator or real device from JavaScript. You can still run the tests on Android manually.
if (isWindowsStore || isAndroid) {
pending();

@@ -179,0 +184,0 @@ }

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc