Discussions

Ask a Question
ANSWERED

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'
ANSWERED

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?
ANSWERED

When Tematics release a React Native SDK

currently, we don't see any support for React Native, the solution is we will integrate SDK from native side (both android and ios)
ANSWERED

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
ANSWERED

Trip Requirements

https://docs.damoov.com/docs/tools-for-testing Does a trip have to meet all three of these requirements? ie. > 60s, > 2km AND > 30km/h? Additionally, are these values configurable? In some of our use cases it is likely that drivers will be travelling at speeds well below 30km/h for the duration of the trip.
ANSWERED

Use Flutter Wrapper

How do I use Flutter telematicsSDK available on Github to make my own Flutter application? Does it contain SDK? Need some guidance over here. Thanks
ANSWERED

Can II get the TrackToken for a specific trip

Where I can get a TrackToken?
ANSWERED

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?
ANSWERED

Where did vehicle speed come from? Is it calculated based on time and distance or extracted from a censor?

Where did vehicle speed come from? Is it calculated based on time and distance or extracted from a censor?
ANSWERED

Flutter SDK - addFutureTrackTag method on iOS does not work

Hi, I am trying to call the addFutureTrackTag method using the Flutter SDK, like this: ``` await TrackingApi().addFutureTrackTag(tag: tag, source: source); ``` This works perfectly in Android, but throws an error in iOS which crashes the app: ``` telematics_sdk/SwiftTelematicsSDKPlugin.swift:210: Fatal error: Unexpectedly found nil while unwrapping an Optional value ``` I noticed in the SwiftTelematicsSDKPlugin.swif (https://github.com/Mobile-Telematics/telematicsSDK-demoapp-flutter-/blob/main/ios/Classes/SwiftTelematicsSDKPlugin.swift) handle function, "addFutureTrackTag" is mapped to the addTrackTags method. Is this intentional? To me, it seems incorrect. lines 63 and 63: ``` .... case "addFutureTrackTag": addTrackTags(call, result) .... ``` I think this needs to be: ``` .... case "addFutureTrackTag": addFutureTrackTag(call, result) .... ```