Skip to content

norfaizahain/test_permission_ios

Repository files navigation

test-permission-ios

test

Install

npm install test-permission-ios
npx cap sync

API

echo(...)

echo(options: { value: string; }) => Promise<{ value: string; }>
Param Type
options { value: string; }

Returns: Promise<{ value: string; }>


isGpsEnabled()

isGpsEnabled() => Promise<GpsIsEnabled>

Returns: Promise<true>


requestPermissions()

requestPermissions() => Promise<void>

addListener('cancelAction' | 'locationStatusChange', ...)

addListener(eventName: 'cancelAction' | 'locationStatusChange', listenerFunc: (info: any) => any) => Promise<PluginListenerHandle>
Param Type
eventName 'cancelAction' | 'locationStatusChange'
listenerFunc (info: any) => any

Returns: Promise<PluginListenerHandle>


Interfaces

PluginListenerHandle

Prop Type
remove () => Promise<void>

Type Aliases

GpsIsEnabled

true

About

No description, website, or topics provided.

Resources

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published