Skip to content

Commit 8fa3934

Browse files
github-actions[bot]web-flowmarandaneto
authored
chore(deps): update Android SDK to v6.13.0 (#1250)
Co-authored-by: GitHub <[email protected]> Co-authored-by: Manoel Aranda Neto <[email protected]>
1 parent fa16e53 commit 8fa3934

File tree

3 files changed

+12
-2
lines changed

3 files changed

+12
-2
lines changed

CHANGELOG.md

+8
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# Changelog
22

3+
## Unreleased
4+
5+
### Dependencies
6+
7+
- Bump Android SDK from v6.12.1 to v6.13.0 ([#1250](https://github.com/getsentry/sentry-dart/pull/1250))
8+
- [changelog](https://github.com/getsentry/sentry-java/blob/main/CHANGELOG.md#6130)
9+
- [diff](https://github.com/getsentry/sentry-java/compare/6.12.1...6.13.0)
10+
311
## 6.19.0
412

513
### Fixes

flutter/android/build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,6 @@ android {
5454
}
5555

5656
dependencies {
57-
api 'io.sentry:sentry-android:6.12.1'
57+
api 'io.sentry:sentry-android:6.13.0'
5858
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
5959
}

flutter/android/src/main/kotlin/io/sentry/flutter/SentryFlutterPlugin.kt

+3-1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ import io.sentry.HubAdapter
1515
import io.sentry.SentryEvent
1616
import io.sentry.SentryLevel
1717
import io.sentry.Sentry
18+
import io.sentry.DateUtils
1819
import io.sentry.android.core.ActivityFramesTracker
1920
import io.sentry.android.core.AppStartState
2021
import io.sentry.android.core.LoadClass
@@ -190,8 +191,9 @@ class SentryFlutterPlugin : FlutterPlugin, MethodCallHandler, ActivityAware {
190191
Log.w("Sentry", "App start won't be sent due to missing isColdStart")
191192
result.success(null)
192193
} else {
194+
val appStartTimeMillis = DateUtils.nanosToMillis(appStartTime.nanoTimestamp().toDouble())
193195
val item = mapOf<String, Any?>(
194-
"appStartTime" to appStartTime.time.toDouble(),
196+
"appStartTime" to appStartTimeMillis,
195197
"isColdStart" to isColdStart
196198
)
197199
result.success(item)

0 commit comments

Comments
 (0)