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

feat(iOS): Paint safe areas on iOS mobile #928

Merged
merged 12 commits into from
Dec 13, 2024
Merged

Conversation

lgmarchi
Copy link
Collaborator

@lgmarchi lgmarchi commented Dec 6, 2024

What this PR does 📖

  • Paint safe areas on iOS mobile
Before Now
IMG_EC43F5AE598E-1 IMG_3F5309D34EBA-1
  • Fix status bar style on Android when theme is light, changing status bar items to dark

Which issue(s) this PR fixes 🔨

  • Resolve #

Special notes for reviewers 🗒️

Additional comments 🎤

@lgmarchi lgmarchi self-assigned this Dec 6, 2024
@github-actions github-actions bot added the Missing dev review Two dev reviews are required on PR label Dec 6, 2024
Copy link

github-actions bot commented Dec 6, 2024

Download the app installers for this pull request:

Copy link

github-actions bot commented Dec 6, 2024

Automated tests execution is complete! You can find the Playwright test report here and the Allure Test Report here

call.reject("No active window found")
}
} else {
// For iOS 12 and earlier
Copy link
Member

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

Copy link
Collaborator Author

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?

Copy link
Member

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

Copy link
Collaborator Author

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.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sounds good

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changed

@@ -16,6 +16,8 @@ dependencies {
implementation project(':capacitor-keyboard')
implementation project(':capacitor-screen-orientation')
implementation project(':capacitor-splash-screen')
implementation project(':capacitor-status-bar')

Copy link
Member

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?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We don't

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed

@phillsatellite phillsatellite added question Further information is requested QA Approved PR has been tested by QA Team labels Dec 9, 2024
@phillsatellite
Copy link
Contributor

Added question for Sara's comment above

@lgmarchi lgmarchi added ⌨️ Ready for Test PR is ready for test and removed question Further information is requested QA Approved PR has been tested by QA Team labels Dec 12, 2024
@phillsatellite phillsatellite added being tested and removed ⌨️ Ready for Test PR is ready for test labels Dec 12, 2024
@phillsatellite phillsatellite added QA Approved PR has been tested by QA Team and removed being tested labels Dec 12, 2024
@github-actions github-actions bot added the Missing fixing conflict Needs to fix conflicts label Dec 12, 2024
@phillsatellite phillsatellite removed the QA Approved PR has been tested by QA Team label Dec 12, 2024
@lgmarchi lgmarchi removed the Missing fixing conflict Needs to fix conflicts label Dec 12, 2024
@phillsatellite
Copy link
Contributor

Sent Lucas a message I tested again after Lucas fixed the conflicts but I'm getting an error when doing npm run build that I'm not able to replicate on dev branch

image

@phillsatellite phillsatellite added the QA Requested Changes Changes need to be addressed, something is not working as expected. label Dec 12, 2024
@phillsatellite phillsatellite removed the QA Requested Changes Changes need to be addressed, something is not working as expected. label Dec 12, 2024
@phillsatellite phillsatellite added the QA Approved PR has been tested by QA Team label Dec 12, 2024
@stavares843 stavares843 merged commit cb0836b into dev Dec 13, 2024
11 checks passed
@stavares843 stavares843 deleted the paint-safe-areas-on-ios branch December 13, 2024 14:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Missing dev review Two dev reviews are required on PR QA Approved PR has been tested by QA Team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants