Skip to content

Commit

Permalink
chore(deps): update Android SDK to v6.13.0 (#1250)
Browse files Browse the repository at this point in the history
Co-authored-by: GitHub <noreply@github.com>
Co-authored-by: Manoel Aranda Neto <marandaneto@gmail.com>
  • Loading branch information
3 people authored Jan 30, 2023
1 parent fa16e53 commit 8fa3934
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## Unreleased

### Dependencies

- Bump Android SDK from v6.12.1 to v6.13.0 ([#1250](https://github.com/getsentry/sentry-dart/pull/1250))
- [changelog](https://github.com/getsentry/sentry-java/blob/main/CHANGELOG.md#6130)
- [diff](https://github.com/getsentry/sentry-java/compare/6.12.1...6.13.0)

## 6.19.0

### Fixes
Expand Down
2 changes: 1 addition & 1 deletion flutter/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,6 @@ android {
}

dependencies {
api 'io.sentry:sentry-android:6.12.1'
api 'io.sentry:sentry-android:6.13.0'
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
}
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ import io.sentry.HubAdapter
import io.sentry.SentryEvent
import io.sentry.SentryLevel
import io.sentry.Sentry
import io.sentry.DateUtils
import io.sentry.android.core.ActivityFramesTracker
import io.sentry.android.core.AppStartState
import io.sentry.android.core.LoadClass
Expand Down Expand Up @@ -190,8 +191,9 @@ class SentryFlutterPlugin : FlutterPlugin, MethodCallHandler, ActivityAware {
Log.w("Sentry", "App start won't be sent due to missing isColdStart")
result.success(null)
} else {
val appStartTimeMillis = DateUtils.nanosToMillis(appStartTime.nanoTimestamp().toDouble())
val item = mapOf<String, Any?>(
"appStartTime" to appStartTime.time.toDouble(),
"appStartTime" to appStartTimeMillis,
"isColdStart" to isColdStart
)
result.success(item)
Expand Down

0 comments on commit 8fa3934

Please sign in to comment.