Mobile-Telematics / telematicsSDK-demoapp-flutter-

Demo telematics app for Flutter. The application walks you through the telematics SDK integration. The technology is suitable for UBI (Usage-based insurance), shared mobility, transportation, safe driving, tracking, family trackers, drive-coach, and other driving mobile applications
https://www.damoov.com/telematics-sdk/
Other
21 stars 10 forks source link

Exported release app is going in the background and doesn't track #3

Closed marshmallow1234 closed 3 years ago

marshmallow1234 commented 3 years ago

The exported release app from example code is going in the background and doesn't track. Am i missing few steps ?

ZangievM commented 3 years ago

Hi, @marshmallow1234. On which system you have troubles? Android or iOS? And also please provide us device token that you passed to SDK

marshmallow1234 commented 3 years ago

Hi @ZangievM Thanks for the quick response.

I am using Android app created from the example.

Device Token : 158ac82a-d0ec-4d6f-a6b2-0cb757e2ee8f

ZangievM commented 3 years ago

I have a couple of questions:

  1. Have you enabled SDK? Is there notification from the app?
  2. Please, explain us the case. You had started driving and notification haven't changed to "Your trip is being scored"?
  3. Are all required permissions granted? Please visit our troubleshooting page to avoid issues related to phones battery optimization tools
marshmallow1234 commented 3 years ago

@ZangievM

  1. Enabled - Notification is there
  2. I didn't start driving as app keeps going in the background and notification is saying 'Not Tracking'
  3. Yes, all the required permission were granted I am attaching the video for better understanding.

https://user-images.githubusercontent.com/83299141/118505327-60366e00-b73d-11eb-94d5-054b76214df8.mp4

ZangievM commented 3 years ago

Ok, thank you. I will investigate your issue and return

ZangievM commented 3 years ago

Hi, @marshmallow1234! Please pull latest commit and try again. Issue should be resolved :)

marshmallow1234 commented 3 years ago

Hi @ZangievM Thanks, Let me check and get back

marshmallow1234 commented 3 years ago

@ZangievM The issue is fixed but looks like no trip data is being sent if device is not in the car. I will take it in the car and see if data get's reflected in the datahub dashboard.

ZangievM commented 3 years ago

Hi, @marshmallow1234! You can send your issue to support@telematicssdk.com :)