Geolocation in android

Hi I am working with Geolocation plugin of ionic 2. But this works fine in some devices and doesn’t work in some devices irrespective of Android versions.

In the android devices it throws an error as “Timeout Expired”.

Also sometimes the plugin does not work in web application.
Is there any other plugin for Getting the current position??

get current position and follow up with what? I’ve put together something that processes arrays of addresses, drops pins at each address, and gives you a slider to move back and forth through the array of locations, zooming to each pin in the process.

But that’s all it does.

I want only the coordinates of the current position. My issue is it works sometimes and sometimes it doesn’t work.
Is it anything got to do with the cordova version.