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

Fixed A0LocalAuthenticationCapable macro #81

Merged
merged 3 commits into from
Feb 27, 2020
Merged

Conversation

Widcket
Copy link
Contributor

@Widcket Widcket commented Feb 20, 2020

Changes

The macro was not checking the minimum supported versions for iOS and macOS. Plus it failed if there was a target for one of these OS present in the project, but the current target was a different OS, e.g. tvOS.

References

Testing

This change has been tested manually on both platforms (iOS and macOS), by importing the library on sample apps and checking the visibility of elements gated by the A0LocalAuthenticationCapable macro.

[ ] This change adds unit test coverage (or why not)
[X] This change has been tested on the latest version of the platform/language or why not

Checklist

[X] I have read the Auth0 general contribution guidelines
[X] I have read the Auth0 Code of Conduct
[X] All existing and new tests complete without errors

@adamjmcgrath adamjmcgrath requested review from adamjmcgrath and removed request for a team February 27, 2020 13:58
@Widcket Widcket merged commit 123610d into master Feb 27, 2020
@Widcket Widcket deleted the fix/preprocessor-macro branch February 27, 2020 14:05
@Widcket Widcket added this to the vNext milestone Feb 27, 2020
@Widcket Widcket mentioned this pull request Feb 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

No way to disable useAccessControl No Swift interface for new additions
2 participants