Discussions
How to use Telematics SDK with Bluetooth OBD in React Native app?
I am going to get the mileage from the Bluetooth OBD(ELM 327) by using Telematics SDK in my react-native app.
So I installed the React Native demo app and it works well.
https://github.com/Mobile-Telematics/telematicsSDK-demoapp-react
But I want to use the Bluetooth OBD and I think there is no function to connect the Bluetooth OBD with SDK in this SDK(for React Native).
Q1. How to connect the Bluetooth OBD with this SDK in React Native app?
Q2. How to get the mileage from the SDK with Bluetooth OBD in React Native app?
Posted by Leonid Lewis about 2 years ago
API to deactive user (but not delete)
Hi, I am unable to find the API call in the documentation to deactivate a user (but not delete them). This is something you can do in the Hub.
Posted by Daniel Lajeunesse about 2 years ago
Trip not in progress
Hi!
after clone from https://github.com/Mobile-Telematics/TelematicsApp-Android, I encountered issue after following the integration video. It seems everything is set up correctly but it keep showing in the notifications Trip not in progress even Made a trip of about 5 km. another error is shown on logCat:
2022-02-14 19:56:56.494 3083-3083/com.devprime.okataxiapp D/DashboardFragment: observeRank: onSuccess r: 1
2022-02-14 19:56:56.577 3083-3083/com.devprime.okataxiapp D/DashboardFragment: setRank: rank Rank #1
2022-02-14 19:56:56.603 3083-3083/com.devprime.okataxiapp E/StorageException: StorageException has occurred.
Object does not exist at location.
Code: -13010 HttpResult: 404
2022-02-14 19:56:56.604 3083-3083/com.devprime.okataxiapp D/FIREBASE await: isSuccessful: false task: com.google.firebase.storage.StorageException: Object does not exist at location.
2022-02-14 19:56:56.604 3083-3083/com.devprime.okataxiapp D/getErrorCode: getErrorCode: FirebaseException Object does not exist at location.
please help
Posted by Nacir Ibraimo about 2 years ago
Trips started in quick succession get merged in the dashboard.
Hi,
I am encountering an issue with the flutter sdk. Trips that are taken in quick succession are sometimes merged in to a single trip.
We are using the manual tracking method.
In our app we click a button to start the trip, which triggers the following event:
```
on<StartShuttleEvent>((event, emit) async {
...
// ENABLE SDK AND BEGIN TELEMATICS TRACKING
TrackingApi trackingApi = TrackingApi();
trackingApi.setDeviceID(deviceId: deviceToken);
trackingApi.setEnableSdk(enable: true);
trackingApi.startTracking();
...
}
```
We click a button to end the trip, triggering the end trip event:
```
on<EndShuttleEvent>((event, emit) async {
// END TELEMATICS TRACKING
TrackingApi().stopTracking();
// DISABLE SDK
TrackingApi().setEnableSdk(
enable: false,
uploadBeforeDisabling: true,
);
...
}
```
If, after I end the first trip, I start the second trip within a short period, the second trip will be merged with the first. For example:
- The trip with trackId = 13538592 was considered one trip, when we expected it to be two.
- The trip with trackId = 13580467 was considered one trip, when we expected it to be three.
My first guess was that the first trip was not being uploaded before the second trip was being started which was causing the trips to be merged. I am not sure how the tracking is actually implemented though to verify.
I wondered if you could provide any input on why this might be happening?
Thank you.
Posted by Sam Helman over 2 years ago
Driving events
Hello i need to know the deference between Acceleration and speeding in the app please
Posted by Matthew Davis over 2 years ago
UserLogin method
When do we need to use UserLogIn? Do we have to log in every time we want to monitor drivers behaviour?
Posted by Matthew Davis over 2 years ago
Driving behaviour tracking and APIs
As I was going through the API, i could not figure out how a user's driving behaviour can be monitored? Is there a api that we have to call to tell SDK that the trip has started or it does that automatically?
Posted by Matthew Davis over 2 years ago
Flutter SDK Integration Issue with iOS build
Hi, I am integrated the flutter telematics SDK in my application. After the iOS app launch, It is getting crashed. I am attaching the logs here.
Warning: Unable to create restoration in progress marker file
*** Assertion failure in -[BGTaskScheduler _unsafe_registerForTaskWithIdentifier:usingQueue:launchHandler:], BGTaskScheduler.m:185
*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'All launch handlers must be registered before application finishes launching'
Posted by Kanhaiya Adhikari over 2 years ago
How can I generate a company code to create separate instances for my corporate clients
I use the open-source telematics app and want to create separate instances for my corporate clients. How I can do that?
Posted by Matthew Davis over 2 years ago
Can II get the TrackToken for a specific trip
Where I can get a TrackToken?
Posted by Matthew Davis over 2 years ago