Traccar Client Restart

Harsh P6 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 Tananaev6 years ago

Screenshot please.

Harsh P6 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 P6 years ago

Anton Tananaev6 years ago

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

Anton Tananaev6 years ago

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

Harsh P6 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 P6 years ago
Anton Tananaev6 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 P6 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 Tananaev6 years ago

Check logcat output to see what the error is.

Harsh P6 years ago

Thanks Anton

Harsh P6 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 Tananaev6 years ago

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

Harsh P6 years ago

ok