New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

capacitor-request-location

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

capacitor-request-location

A Capacitor plugin to check and request permission for using location service (Android)

latest
Source
npmnpm
Version
0.1.1
Version published
Maintainers
1
Created
Source

capacitor-request-location

A Capacitor plugin to check and request permission for using location service (Android)

Install

npm install capacitor-request-location
npx cap sync

Example

import { RequestLocation } from 'capacitor-request-location';

checkLocationPermission = async () => {
  await RequestLocation.checkLocationPermission();
};

requestlocationpermission android R

requestlocationpermission android q.j

API

  • isLocationPermissionGranted()
  • isAlwaysAllowLocation()
  • requestPermission()

isLocationPermissionGranted()

isLocationPermissionGranted() => Promise<{ isGranted: boolean; }>

Returns: Promise<{ isGranted: boolean; }>

isAlwaysAllowLocation()

isAlwaysAllowLocation() => Promise<{ isAlways: boolean; }>

Returns: Promise<{ isAlways: boolean; }>

requestPermission()

requestPermission() => Promise<void>

Keywords

capacitor

FAQs

Package last updated on 17 Mar 2026

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