I’m frustated

Cordova plugin geolocation not working while phone locked ionic3?

I have implemented live tracking in our ionic3 application in our app tracking is working but My problem is that the GPS does not sends live lat and long when locked so i am not able to check user location it will show previously location before phone is unlock.
Tell me anyonw help me regarding this issue?
1 person has
this problem