Hi,
Thanks for the reply
I followed this documentation for implementing the code for getting trueGPStime:
So, I created a cordova plugin to implement the native code for my own app with a javascript interface, here's the github link :
The code is under development.
So, I'm getting following values:
mTimeNanos = -9223372000000000000
mFullBiasNanos = -9223372000000000000
mBiasNanos = 0
So, as we know, gps time is calculated as:
trueGpstime = mTimeNanos - (mFullBiasNanos + mBiasNanos)
So, I'm getting final gpstime as:
trueGpstime = 0
Note: I tested this on Samsung galaxy A20
I would like to know what's causing it to give me zero gpstime. Please let me know if anyone can help.
Also I would like to know, what other variables represent such timestamps that could be helpful in any way
Thanks
Navroop Singh