$cordovaGeolocation.getCurrentPosition not working in ionic1

$cordovaGeolocation.getCurrentPosition is not workign on latest android version…

var posOptions = {
enableHighAccuracy: true,
timeout: 20000,
maximumAge: 0

    $cordovaGeolocation.getCurrentPosition(posOptions).then(function (position) {

        var lat  = position.coords.latitude;
        var long = position.coords.longitude;

        var myLatlng = new google.maps.LatLng(lat, long);
        var mapOptions = {
            center: myLatlng,
            zoom: 16,
            mapTypeId: google.maps.MapTypeId.ROADMAP
        var map = new google.maps.Map(document.getElementById("map"), mapOptions);          
        $scope.map = map;
    }, function(err) {

its giving error…

I also used cordova.diagnostic to check the permission. all the permission are true…

Help appritiated…

  var posOptions = { timeout: 10000, enableHighAccuracy: false };

just try to use enableHighAccuracy:false

for more i need to check the error
i am using this plugin and its works fine

This plugin works fine below 6.0 android versions…

Its not working for latest nadroid 7.o and above…