Skip to content

Check at runtime if AndroidX.Core is available - #1718

Merged
marandaneto merged 5 commits into
mainfrom
fix/no-androidx-core
Sep 15, 2021
Merged

marandaneto merged 5 commits into
mainfrom
fix/no-androidx-core

Conversation

@marandaneto

@marandaneto marandaneto commented Sep 15, 2021 •

Copy link
Copy Markdown
Contributor

📜 Description

Check at runtime if AndroidX.Core is available

💡 Motivation and Context

Closes #1711

💚 How did you test it?

running without androidxcore/unit test

📝 Checklist

  • I reviewed the submitted code
  • I added tests to verify the changes
  • I updated the docs if needed
  • No breaking changes

🔮 Next steps

@marandaneto

Copy link
Copy Markdown
Contributor Author

docs PR getsentry/sentry-docs#4150

@codecov-commenter

Copy link
Copy Markdown

Codecov Report

Merging #1718 (fcf6a25) into main (7cd5740) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##               main    #1718   +/-   ##
=========================================
  Coverage     75.04%   75.04%           
  Complexity     2099     2099           
=========================================
  Files           211      211           
  Lines          7514     7514           
  Branches        791      791           
=========================================
  Hits           5639     5639           
  Misses         1492     1492           
  Partials        383      383           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 7cd5740...fcf6a25. Read the comment docs.

@maciejwalkowiak maciejwalkowiak left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

@bruno-garcia bruno-garcia left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This is great. I'm sure you were resistant to do the runtime check with reflection but I appreciate as it'll help the unity use case and others.

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.

Android SDK crashes on Unity player

5 participants