0.0.8 • Published 1 year ago

capacitor-plugin-compass v0.0.8

Weekly downloads
-
License
public
Repository
github
Last release
1 year ago

capacitor-plugin-compass

obtener la orientación del dispositivo

Install

npm install capacitor-plugin-compass
npx cap sync

API

echo(...)

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

Returns: Promise<{ value: string; }>


requestCompassPermission()

requestCompassPermission() => Promise<{ value: boolean; }>

Returns: Promise<{ value: boolean; }>


check()

check() => Promise<{ value: boolean; }>

Returns: Promise<{ value: boolean; }>


start()

start() => Promise<void>

stop()

stop() => void

getOrientation(...)

getOrientation(event: any) => any
ParamType
eventany

Returns: any


ios añadir en info.plist

NSLocationWhenInUseUsageDescription La aplicación necesita acceder a tu ubicación para utilizar la brújula.

0.0.8

1 year ago

0.0.7

1 year ago

0.0.6

1 year ago

0.0.5

1 year ago

0.0.4

1 year ago

0.0.3

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago