-
-
Notifications
You must be signed in to change notification settings - Fork 36
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
Feat: Capacitor v7 support #831
Conversation
if capacitorVersion.start_with?("2.") or capacitorVersion.start_with?("3.") | ||
miniOSVersion = '12.0' | ||
majorVersion = capacitorVersion.split('.').first.to_i | ||
|
||
if majorVersion <= 3 | ||
miniOSVersion = '12.0' # Capacitor 3, 2. | ||
elsif majorVersion < 7 | ||
miniOSVersion = '13.0' # Capacitor 6 or older. | ||
else | ||
miniOSVersion = '13.0' # Required for Capacitor 4 and newer. | ||
miniOSVersion = '14.0' # Capacitor 7 or higher. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does the Capacitor V7 fail to build without the matching minimum target?
I would have expected that a library could specify an older target than the framework, but I see that they say to match the target when upgrading the plugins.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it did for me, the sdk was set with min iOS version 13 and it was complaining that the project required version 14.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 🚀
* v7 sample * locks
Dependency Review failed with issues in regard to the new sample, those issues will not impact the user code so I will only take actions about it after the PR |
Depends on: #832
Fixes: #830
This PR adds support for Capacitor V7 to the SDK.
No break changes were introduced.