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

Add API to set custom sentry-native sdk name #2704

Merged
merged 3 commits into from
May 15, 2023
Merged

Conversation

markushi
Copy link
Member

@markushi markushi commented May 9, 2023

📜 Description

Update sentry-native to 0.6.2
Add SentryAndroidOptions.setNativeSdkName

Fixes #2678

💡 Motivation and Context

💚 How did you test it?

Added some unit tests. Ideally we would have some integration test for this as well, but there's nothing setup as of now.

📝 Checklist

  • I reviewed the submitted code.
  • I added tests to verify the changes.
  • No new PII added or SDK only sends newly added PII if sendDefaultPII is enabled.
  • I updated the docs if needed.
  • Review from the native team if needed.
  • No breaking change or entry added to the changelog.
  • No breaking change for hybrid SDKs or communicated to hybrid SDKs.

🔮 Next steps

#skip-changelog

@github-actions
Copy link
Contributor

github-actions bot commented May 9, 2023

Messages
📖 Do not forget to update Sentry-docs with your feature once the pull request gets approved.

Generated by 🚫 dangerJS against 8a89072

@markushi markushi changed the title chore: update sentry-android-ndk/sentry-native to 0.6.2 Add API to set custom sentry-native sdk name May 9, 2023
@github-actions
Copy link
Contributor

github-actions bot commented May 9, 2023

Performance metrics 🚀

  Plain With Sentry Diff
Startup time 325.10 ms 377.67 ms 52.56 ms
Size 1.72 MiB 2.28 MiB 569.62 KiB

@codecov
Copy link

codecov bot commented May 9, 2023

Codecov Report

Patch and project coverage have no change.

Comparison is base (ba90bd9) 81.05% compared to head (8a89072) 81.05%.

Additional details and impacted files
@@            Coverage Diff            @@
##               main    #2704   +/-   ##
=========================================
  Coverage     81.05%   81.05%           
  Complexity     4427     4427           
=========================================
  Files           345      345           
  Lines         16356    16356           
  Branches       2219     2219           
=========================================
  Hits          13258    13258           
  Misses         2170     2170           
  Partials        928      928           

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@romtsn romtsn requested a review from krystofwoldrich May 10, 2023 09:32
@romtsn
Copy link
Member

romtsn commented May 10, 2023

@krystofwoldrich can you take a look if it's fine for you? we provide setNativeSdkName instead of setNativeClientName because the client name also contains the version of sentry-native, and I guess you don't wanna override that, right?

@markushi
Copy link
Member Author

@marandaneto @krystofwoldrich if there's no objection from your side I'll merge this PR at the end of today.

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.

Expose setNativeClientName for Hybrid SDKs
4 participants