Socket
Socket
Sign inDemoInstall

@ionic-native/geolocation

Package Overview
Dependencies
4
Maintainers
7
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.4K
increased by10.49%
Maintainers
7
Install size
52.0 kB
Created
Weekly downloads
 

Changelog

Source

5.36.1 (2021-10-01)

Bug Fixes

  • barcode-scanner: add saveHistory option (#3713) (39ad4d1), closes /github.com/phonegap/phonegap-plugin-barcodescanner/blob/v8.1.0/src/android/com/phonegap/plugins/barcodescanner/BarcodeScanner.java#L52
  • build: allow rxjs 7 closes #3691 (cd477bc)
  • purchases: remove static for logIn, logOut methods (#3709) (c6b65e9)

Code Refactoring

Features

BREAKING CHANGES

  • app-update plugin is removed for violating Google Play Store policies

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

Last updated on 20 Aug 2021

Did you know?

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc