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

Bump Android SDK & Set Native/Android SDK Name on crashes #406

Merged
merged 10 commits into from
Jul 27, 2023

Conversation

lucas-zimerman
Copy link
Collaborator

@lucas-zimerman lucas-zimerman commented Jul 6, 2023

This PR Bumps Android SDK to version 6.19. Additionally, it also sets the native and android SDK names as
sentry.java.android.capacitor
sentry.native.android.capacitor
sentry.cocoa.capacitor

And by changing the SdkInfo, I also added tests for the sdkinfo logic since it was missing.
Sample events:

android
https://sentry-sdks.sentry.io/issues/4278229145/events/9e681ea435654a4ca16cae8e47134ff0/

ios
https://sentry-sdks.sentry.io/issues/4297593626/events/b30ea4807af54e67aff20fef5b0a30e3

Close #379

@lucas-zimerman lucas-zimerman marked this pull request as ready for review July 6, 2023 10:38
@kahest kahest requested a review from krystofwoldrich July 6, 2023 12:55
CHANGELOG.md Outdated Show resolved Hide resolved
@krystofwoldrich
Copy link
Member

It looks good, but I've noticed some differences between how metadata are handled on RN and here in Capacitor. We will have to adjust the implementation to work the same in Capacitor.

lucas-zimerman and others added 3 commits July 7, 2023 18:51
Co-authored-by: Kryštof Woldřich <31292499+krystofwoldrich@users.noreply.github.com>
src/version.ts Outdated Show resolved Hide resolved
Copy link
Member

@krystofwoldrich krystofwoldrich left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! 🚀

@lucas-zimerman lucas-zimerman merged commit dffdcb8 into main Jul 27, 2023
@lucas-zimerman lucas-zimerman deleted the feat/sdk-name branch July 27, 2023 09:04
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.

Change SDK name of Sentry Native for Capacitor
2 participants