WebDevBren / nativescript-diagnostics

Port Of Cordova-diagnostics to Nativescript

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

nativescript-diagnostics

A DIRECT port of the fantastic Cordova-diagnostics plugin.

Installation

installation should be as simple as running: tns plugin add nativescript-diagnostics

Usage

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;

Many thanks

  • roblav96 - For Providing the Initial Permissions for IOS.

About

Port Of Cordova-diagnostics to Nativescript


Languages

Language:TypeScript 83.2%Language:HTML 12.2%Language:CSS 2.9%Language:JavaScript 1.7%