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 #651

Merged
merged 1 commit into from
Feb 2, 2022

Conversation

Widcket
Copy link
Contributor

@Widcket Widcket commented Feb 1, 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.

References

Backports #633

Testing

This change was tested manually in an iOS app that uses SPM, using an iOS 15.2 simulator with Xcode 13.2.1 (13C100).

  • 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 February 1, 2022 23:36
@Widcket Widcket merged commit 6dd250e into master Feb 2, 2022
@Widcket Widcket deleted the fix/telemetry-version branch February 2, 2022 13:12
@Widcket Widcket mentioned this pull request Feb 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants