Socket
Socket
Sign inDemoInstall

@ionic-native/geolocation

Package Overview
Dependencies
3
Maintainers
7
Versions
166
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ionic-native/geolocation


Version published
Maintainers
7
Install size
52.0 kB
Created

Changelog

Source

5.35.0 (2021-08-02)

Bug Fixes

Features

  • approov-advanced-http: add plugin (#3682) (b206b42)
  • branch-io: add sendBranchEvent method; deprecated sendCommerceEvent (#3675) (4f13426)
  • checkout: add plugin (#3687) (0dcbace)
  • CustomUiSDK: added app invoke method (#3699) (72335bf)
  • hyper-track: add interfaces to access new cordova plugin APIs (#3698) (aae484d)
  • in-app-purchase-2: added manageBilling method (#3690) (383a884)
  • paytabs: add plugin (#3678) (9dd719b)
  • pollfish: add plugin (#3693) (8a00ccc)
  • purchases: update to 2.3.0, add identity v3 (#3702) (93b1e11)
  • unvired-cordova-sdk: add ability to receive the JWT token (#3671) (50d9110)
  • urbanairship: add new methods: onDeepLink, onRegistration, onInboxUpdated, onShowInbox, onPushReceived, onNotificationOpened, onNotificationOptInStatus; fix return type for reattach method (#3705) (815d1bb)

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 02 Aug 2021

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc