Traccar Client Restart

Harsh P 8 years ago

Hi,
Installed the latest Traccar Client available in the Google Play Store. Device startup feature seems not working. Steps to reproduce -

  1. Start and enable service of the Traccar Client App
  2. Restart the Android mobile or Android Emulator
  3. On Reboot, Traccar client shown, but when i click on Traccar client UI, it says - "App isn't available". I have to relaunch the App
Anton Tananaev 8 years ago

Screenshot please.

Harsh P 8 years ago

Oh, Was n't expecting so fast reply. Thanks Anton.
I am using the Android 5.1 on Moto G 1st generation. Sharing screenshot.

Harsh P 8 years ago

Anton Tananaev 8 years ago

I don't see "App isn't available" message on your screenshot.

Anton Tananaev 8 years ago

Also, please provide a screenshot on where exactly you click to get this message.

Harsh P 8 years ago

oh, yes. On Android Emulator getting "App isn't available" on Physical Device getting "could not start Traccar Client". let me share small video of it.

Harsh P 8 years ago
Anton Tananaev 8 years ago

That's weird, but that's not a start on boot feature. It's just Android system persisted the app that was running before you did reboot.

Harsh P 8 years ago

Can you give me any pointers to debug this issue, checking the code at the moment in Android Studio. Same behavior in Emulator - just change in error message "App isnt available"

Anton Tananaev 8 years ago

Check logcat output to see what the error is.

Harsh P 8 years ago

Thanks Anton

Harsh P 8 years ago

About following comment above - does it mean "App starts even if its not running after Restart of the Device", if it does this did not worked on my device or Emulator as well.

"That's weird, but that's not a start on boot feature"

Anton Tananaev 8 years ago

You need to check if Traccar service is running in the background.

Harsh P 8 years ago

ok