A DIRECT port of the fantastic Cordova-diagnostics plugin.
installation should be as simple as running:
tns plugin add nativescript-diagnostics
Now this isnt your typical Nativescript Plugin, we don't need to make use of registerElement or any of that, you simply import the function you need.
Typescript :
import { requestLocationAuthorization } from 'nativescript-diagnostics'
ES6/Node-like :
const requestLocationAuthorization = require('nativescript-diagnostics').requestLocationAuthorization;
- roblav96 - For Providing the Initial Permissions for IOS.