Ionic package geolocation build issue

Hi all

I tried to build the .apk on ionic package
I used the cordova geolocation plugin

but i am not able to get the current location through this plugin every time the error popsup
"timeout expired , code 3"

and when i build using cli command it runs perfectly.

there is only issue in ionic package build.

please help asap…