Skip to content

Commit

Permalink
Fixed android sdk crash
Browse files Browse the repository at this point in the history
  • Loading branch information
sgusakovsky committed Dec 10, 2024
1 parent df4edbb commit b866188
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 6 deletions.
7 changes: 5 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,18 @@
# Changelog

## 0.2.7

* Fixed android SDK crash

## 0.2.6

* Updated iOS sdk version to 6.0.6
*

## 0.2.5

* Updated iOS sdk version to 6.0.5
* Updated Android sdk version to 2.2.263
*

## 0.2.4

* Updated iOS sdk version to 6.0.4
Expand Down
1 change: 0 additions & 1 deletion android/.idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -200,8 +200,8 @@ class TelematicsSDKPlugin : ActivityAware, ActivityResultListener, FlutterPlugin
}

private fun getUnsentTripCount(result: Result) {
val result = api.getUnsentTripCount()
result.success(isGranted)
val count = api.getUnsentTripCount()
result.success(count)
}

private fun sendCustomHeartbeats(call: MethodCall, result: Result) {
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: telematics_sdk
version: 0.2.6
version: 0.2.7
description: A Flutter plugin for integration Telematics SDK in Android and iOS applications.
homepage: https://docs.telematicssdk.com
repository: https://github.com/Mobile-Telematics/telematicsSDK-demoapp-flutter-
Expand Down

0 comments on commit b866188

Please sign in to comment.