1.0.6 • Published 6 years ago
ionic_pvn_location v1.0.6
Android Gradle dependency
for permission
compile 'com.android.support:support-v4:23.0.0'
Add this lines in js(ionic2 or anugular 2)
And here's some code! :+1:
//top of the ts
declare var window: any;
window.plugins.prvn_location.getLatAndLong(function(res){console.log(res)}, function(res){console.log(res)});
ionic cordova for adding plugin
ionic cordova plugin add ionic_pvn_location