You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 7-8.RSVP
Socket
Socket
Sign inDemoInstall

@ionic-native/geolocation

Package Overview
Dependencies
3
Maintainers
6
Versions
166
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ionic-native/geolocation

Ionic Native - Native plugins for ionic apps


Version published
Weekly downloads
5.6K
decreased by-1.04%
Maintainers
6
Created
Weekly downloads
 

Changelog

Source

5.24.0 (2020-04-17)

Bug Fixes

  • health: HealthQueryOptionsAggregated bucket optional (#3370) (96e9b19)
  • iamport-cordova: fix data type of card_quota(#3372) (47b85a8)
  • in-app-browser: add missing 'no' type (#3359) (83bb4a9)

Features

Readme

Source
Improve this doc

Geolocation

$ ionic cordova plugin add cordova-plugin-geolocation --variable GEOLOCATION_USAGE_DESCRIPTION="To locate you"
$ npm install @ionic-native/geolocation

Usage Documentation

Plugin Repo: https://github.com/apache/cordova-plugin-geolocation

This plugin provides information about the device's location, such as latitude and longitude. Common sources of location information include Global Positioning System (GPS) and location inferred from network signals such as IP address, RFID, WiFi and Bluetooth MAC addresses, and GSM/CDMA cell IDs.

This API is based on the W3C Geolocation API Specification, and only executes on devices that don't already provide an implementation.

For iOS you have to add this configuration to your configuration.xml file

<edit-config file="*-Info.plist" mode="merge" target="NSLocationWhenInUseUsageDescription">
   <string>We use your location for full functionality of certain app features.</string>
</edit-config>

Supported platforms

  • Amazon Fire OS
  • Android
  • Browser
  • iOS
  • Windows

FAQs

Package last updated on 17 Apr 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc