test
npm install test-permission-ios
npx cap syncecho(...)isGpsEnabled()requestPermissions()addListener('cancelAction' | 'locationStatusChange', ...)- Interfaces
- Type Aliases
echo(options: { value: string; }) => Promise<{ value: string; }>| Param | Type |
|---|---|
options |
{ value: string; } |
Returns: Promise<{ value: string; }>
isGpsEnabled() => Promise<GpsIsEnabled>Returns: Promise<true>
requestPermissions() => Promise<void>addListener(eventName: 'cancelAction' | 'locationStatusChange', listenerFunc: (info: any) => any) => Promise<PluginListenerHandle>| Param | Type |
|---|---|
eventName |
'cancelAction' | 'locationStatusChange' |
listenerFunc |
(info: any) => any |
Returns: Promise<PluginListenerHandle>
| Prop | Type |
|---|---|
remove |
() => Promise<void> |
true