1. Don't use the ancient plugin from the deprecated pgb repo. Use the latest version of the plugin from npm, instead
2. Make sure you wait for the deviceready event before attempting to get a geolocation.
Use the latest version of plugin.
If it doesn't solve the problem, you can contact me at yogesh at marketingmindz dot com.