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

Fix version number reported by telemetry when using SPM #633

Merged
merged 2 commits into from
Jan 14, 2022

Conversation

Widcket
Copy link
Contributor

@Widcket Widcket commented Jan 14, 2022

Changes

This PR uses a static version number string to send along with the telemetry information, because querying the Info.plist will not yield the correct version number when the Auth0.swift SDK is installed using the Swift Package Manager. This is because the Swift Package Manager will link the SDK statically, therefore it will not keep a bundle of its own, and will report the app's version number instead.

Testing

  • This change adds unit test coverage
  • This change has been tested on the latest version of the platform/language or why not

Checklist

@Widcket Widcket requested a review from a team as a code owner January 14, 2022 15:45
@Widcket Widcket added the review:small Small review label Jan 14, 2022
@Widcket Widcket merged commit 1882f9f into beta Jan 14, 2022
@Widcket Widcket deleted the v2/fix-telemetry branch January 14, 2022 15:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
review:small Small review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants