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

@totvs/mingle-ionic-geolocation

Package Overview
Dependencies
Maintainers
26
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@totvs/mingle-ionic-geolocation

Geolocation Ionic package

  • 1.0.0-20190522.1
  • latest
  • npm
  • Socket score

Version published
Maintainers
26
Created
Source

@TOTVS/MINGLE-IONIC-GEOLOCATION

This Package get informations about the device.

Installation

Using npm: $ npm install --save @totvs/mingle-ionic-geolocation

// using ES6 modules
import { GeolocationPlugin } from @totvs/mingle-ionic-geolocation

// using CommonJS modules
var geolocation = require('@totvs/mingle-ionic-geolocation')

Usage

Create an instance of the GeolocationPlugin:

var geolocation = new GeolocationPlugin();

getCurrentPosition

This method is used to return the current coordinates (latitude and longitude) of the device.

this.geolocation.getCurrentPosition();

isLocationEnabled

This method is used to verify that the Location Service is enabled.

this.geolocation.isLocationEnabled();

FAQs

Package last updated on 22 May 2019

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

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc