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

'openURL' is only available in iOS 14.0 or newer #4

Open
RemiBardon opened this issue May 13, 2022 · 3 comments
Open

'openURL' is only available in iOS 14.0 or newer #4

RemiBardon opened this issue May 13, 2022 · 3 comments

Comments

@RemiBardon
Copy link

The package indicates .iOS(.v13) platform support, but doesn't compile for iOS 14 just because its package description is erroneous.

@jaywcjlove
Copy link
Owner

@RemiBardon How should it be configured?

.iOS(.v13),

@RemiBardon
Copy link
Author

As the compiler says, "'openURL' is only available in iOS 14.0 or newer". You can either add an @available tag to your function using openURL, but then you'll probably need it everywhere else (as it's the main component of the library). Or you can change .iOS(.v13) to .iOS(.v14) and the compiler will be happy 🙂

Either way, it breaks backwards compatibility, but you already broke it when introducing openURL anyway 💁🏻‍♂️.

@jaywcjlove
Copy link
Owner

@RemiBardon thx

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

No branches or pull requests

2 participants