-
Notifications
You must be signed in to change notification settings - Fork 4
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(iOS): Paint safe areas on iOS mobile #928
Conversation
…eme using swift code
…Plugin with updated methods for color handling
Download the app installers for this pull request: |
call.reject("No active window found") | ||
} | ||
} else { | ||
// For iOS 12 and earlier |
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.
we don't support 12 and earlier, our version minimum atm is 16 - latest iOS is 18
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.
I did this condition based on code made for cut Safe Areas. So remove this condition from there as well?
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.
we can keep it if you want, just saying that since we only support iOS 16 and above the code is not being used
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.
I think you are correct, if both are dead code, they should be removed to not have unnecessary code.
And the condition is using 13.0, we can increase this number to 16 as well.
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.
sounds good
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.
Changed
android/app/capacitor.build.gradle
Outdated
@@ -16,6 +16,8 @@ dependencies { | |||
implementation project(':capacitor-keyboard') | |||
implementation project(':capacitor-screen-orientation') | |||
implementation project(':capacitor-splash-screen') | |||
implementation project(':capacitor-status-bar') | |||
|
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.
do we need this empty line?
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.
We don't
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.
Removed
Added question for Sara's comment above |
What this PR does 📖
Which issue(s) this PR fixes 🔨
Special notes for reviewers 🗒️
Additional comments 🎤