This object is in archive! 

Custom Live Tracking bug

Михаил Юдин shared this problem 6 years ago
Solved

Hello!


After custom profile creation for Live Tracking I have "connecting..." in notification bar for long time.


My setting is:


10s, 1meter

500m min accuracy

http://127.0.0.1/am


After some time I have queries, but not often.


While testing, I moving more than to 1m =)


"connecting..." status so falsy, because of connect not performing.


Best regards, Mikhail.

Replies (8)

photo
1

Android 8.1.

Android 6.0 seems to works ok.

photo
1

Good day Mikhail,

interesting problem. As I see in code, in case of "custom live tracking", "connecting..." message should be visible only for the first second. Then Locus map should start sending events to defined server. Once event is correctly send, this notification message should change and should display tracking profile name + base parameters. Does this happen to you?

You wrote that "After some time I have queries". After you receive some data, is still in status bar visible this "Connecting" message? Should not.

Interesting that on one Android device it works and on different not. May you try to keep display enabled on your Android 8.1? Just to confirm that problem is really not some aggressive battery saver on your device. Thanks

photo
1

Turned off battery saving, using FakeGPS application I have stable requests. Thank you!

photo
1

Anyway, connect performs only when location is known.

So, I can't receive last updates from server.

photo
1

Hello,

so battery optimization was the problem. Good to know and glad it works!

"Connect performs only when location is known" .. what you expect here? Custom live tracking is mainly about sending your own location on defined server. Without known location, there is nothing to send ...

photo
1

Right.

But how standby users can obtain information about other persons location? =)

photo
1

As I wrote "live tracking is mainly about sending your own location on defined server".

If standing users wants to see other users, they a) have to track own location or suggest to b) create small web page where should be visible currently tracking users.

photo
1

Got it.

Maybe right policy to make other users visible only when initiator show self location.

Thank you =)

Replies have been locked on this page!