Skip to content

fix: android build error when compiling#2397

Merged
buenaflor merged 4 commits into
mainfrom
fix/android-build
Nov 8, 2024
Merged

fix: android build error when compiling#2397
buenaflor merged 4 commits into
mainfrom
fix/android-build

Conversation

@buenaflor

@buenaflor buenaflor commented Nov 8, 2024

Copy link
Copy Markdown
Contributor

📜 Description

Remove kotlin.time usage and use raw value instead, and revertuppercase to toUpperCase

💡 Motivation and Context

Fixes #2396

🔮 Next steps

Figure out why our CI didn't catch this

@github-actions

github-actions Bot commented Nov 8, 2024

Copy link
Copy Markdown
Contributor

🚨 Detected changes in high risk code 🚨

High-risk code has higher potential to break the SDK and may be hard to test. To prevent severe bugs, apply the rollout process for releasing such changes and be extra careful when changing and reviewing these files:

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

@codecov

codecov Bot commented Nov 8, 2024

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 84.84%. Comparing base (393dde2) to head (ff05f12).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2397      +/-   ##
==========================================
+ Coverage   84.72%   84.84%   +0.11%     
==========================================
  Files         254       79     -175     
  Lines        9113     2804    -6309     
==========================================
- Hits         7721     2379    -5342     
+ Misses       1392      425     -967     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@getsentry getsentry deleted a comment from github-actions Bot Nov 8, 2024
@getsentry getsentry deleted a comment from github-actions Bot Nov 8, 2024
@getsentry getsentry deleted a comment from github-actions Bot Nov 8, 2024
@github-actions

github-actions Bot commented Nov 8, 2024

Copy link
Copy Markdown
Contributor

Android Performance metrics 🚀

  Plain With Sentry Diff
Startup time 491.73 ms 542.32 ms 50.59 ms
Size 6.49 MiB 7.57 MiB 1.08 MiB

Baseline results on branch: main

Startup times

Revision Plain With Sentry Diff
e5b744f 302.70 ms 342.17 ms 39.47 ms
0ac1eed 370.60 ms 441.54 ms 70.94 ms
90a08ea 477.25 ms 534.10 ms 56.85 ms
0db91cc 327.85 ms 387.31 ms 59.46 ms
061fed2 434.11 ms 506.49 ms 72.38 ms
4829ad3 381.55 ms 455.45 ms 73.90 ms
519423f 357.00 ms 415.77 ms 58.77 ms
ddc97ad 331.45 ms 384.06 ms 52.61 ms
e3ef570 389.71 ms 459.16 ms 69.45 ms
2d3b03d 309.53 ms 353.40 ms 43.87 ms

App size

Revision Plain With Sentry Diff
e5b744f 6.06 MiB 7.09 MiB 1.03 MiB
0ac1eed 6.06 MiB 7.03 MiB 990.44 KiB
90a08ea 6.49 MiB 7.55 MiB 1.06 MiB
0db91cc 5.94 MiB 6.95 MiB 1.01 MiB
061fed2 6.52 MiB 7.59 MiB 1.06 MiB
4829ad3 6.33 MiB 7.26 MiB 943.11 KiB
519423f 6.06 MiB 7.03 MiB 989.24 KiB
ddc97ad 6.16 MiB 7.14 MiB 1003.75 KiB
e3ef570 6.33 MiB 7.26 MiB 950.38 KiB
2d3b03d 6.06 MiB 7.09 MiB 1.03 MiB

@buenaflor buenaflor merged commit 8c69a1b into main Nov 8, 2024
@buenaflor buenaflor deleted the fix/android-build branch November 8, 2024 14:31
martinhaintz added a commit that referenced this pull request Nov 11, 2024
* main:
  release: 8.10.1
  fix: android build error when compiling (#2397)
  release: 8.10.0
  chore: prepare changelog for `8.10.0` release (#2391)
  chore(deps): update Cocoa SDK to v8.40.1 (#2394)
  fix: cocoa sdk version updater (#2392)
  Send Less Client Reports When Rate Limited (#2380)
  build(deps): bump ruby/setup-ruby from 1.197.0 to 1.199.0 (#2386)
  chore(deps): update Native SDK to v0.7.12 (#2390)
  chore(deps): update Android SDK to v7.16.0 (#2373)
  fix build error for latest flutter beta (3.27.0) (#2385)
  Remove duplicate tests in sentry_client_test.dart (#2378)
  Handle backpressure earlier in pipeline (#2371)
  Add screenshot to `SentryFeedbackWidget` (#2369)

# Conflicts:
#	flutter/lib/src/event_processor/screenshot_event_processor.dart
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Compilation errors in Sentry Flutter due to Kotlin API incompatibilities [Execution failed for task ':sentry_flutter:compileReleaseKotlin'.]

3 participants