Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Native Android Support #1659

Closed
15 of 20 tasks
bruno-garcia opened this issue May 18, 2022 · 1 comment
Closed
15 of 20 tasks

Native Android Support #1659

bruno-garcia opened this issue May 18, 2022 · 1 comment
Assignees
Labels
Feature New feature or request Platform: Android

Comments

@bruno-garcia
Copy link
Member

bruno-garcia commented May 18, 2022

Problem Statement

.NET 6 includes net6.0-android which allows access to Android types through bindings.

When running on this environment, the chances of crashes due to errors outside of the ".NET-land" are significantly increased. We can detect such issues through our Sentry Android SDK. This is how the Sentry's Flutter and React Native SDKs work.

Tasks

  • Introduce net6.0-android target
  • Introduce bindings to the Sentry Android SDK
  • Sentry.Init that takes the Android Context and passes it to the Sentry Android SDK
  • Hook on CrashedLastRun to update session information
  • Enable global hub mode (share scope/state globally)
  • Set session tracking on by default
  • Sample crashes from Kotlin
  • Sample crashes from C

The above solved through: #1288

Remaining Tasks:

@mattjohnsonpint
Copy link
Contributor

Since we've had Android support in one form or another since 3.18.0, I'm closing this issue. We can open new issues for individual items as needed.

Repository owner moved this from In Progress to Done in Mobile & Cross Platform SDK Oct 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature New feature or request Platform: Android
Projects
Archived in project
Development

No branches or pull requests

2 participants