Skip to content

Conversation

@OS-martacarlos
Copy link
Contributor

Fixes a bug on @capacitor/browser on iOS: when trying to lock the device's orientation after the safari view controller was dismissed/closed by the user , an error occured: None of the requested orientations are supported by the view controller. Requested: portrait; Supported: landscapeLeft

This seemed to be happening because the view controller wasn't being properly closed/dismissed and the listeners were being incorrectly notified.

initial bug @ here

reference: https://outsystemsrd.atlassian.net/browse/RMET-3453

fixes a bug on iOS that was detected when trying to lock the device's orientation after the safari view controller was dismissed by the user
this happened because the view controller wasn't being properly closed/dismissed and the listeners were being incorrectly notified

https://outsystemsrd.atlassian.net/browse/RMET-3453
@OS-martacarlos OS-martacarlos requested a review from a team September 2, 2024 15:30
@OS-martacarlos OS-martacarlos self-assigned this Sep 2, 2024
@github-actions
Copy link

github-actions bot commented Sep 2, 2024

Released dev build of browser with dev version: 7.0.0-dev-2186-20240909T134639.0

@OS-martacarlos OS-martacarlos requested a review from a team September 5, 2024 15:25
@OS-martacarlos OS-martacarlos merged commit aaa8658 into main Sep 9, 2024
@OS-martacarlos OS-martacarlos deleted the fix/browser-dismiss-when-finished branch September 9, 2024 14:09
@IT-MikeS IT-MikeS restored the fix/browser-dismiss-when-finished branch October 11, 2024 17:21
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

Successfully merging this pull request may close these issues.

4 participants