forked from Blendman974/faceclaw
Port Compass to iOS
This commit is contained in:
1 parent
5ae2c245c6
commit
2b3e068a23
32 files changed
+490
-56
No files matched your search
@@ -0,0 +1,5 @@
|
||||
declare const FaceclawLocation: any
|
||||
export const hasLocationPermission = (): boolean => FaceclawLocation.shared().hasPermission()
|
||||
export function ensureLocationPermission(): Promise<boolean> {
|
||||
return new Promise(resolve => FaceclawLocation.shared().requestPermission(resolve))
|
||||
}
|
||||
Reference in new issue
Block a user