Skip to content

MOB-607: doctor's iOS orientation hint also offers ios_orientations - #189

Open
GenericJam wants to merge 2 commits into
masterfrom
orientation-doctor-hint
Open

GenericJam wants to merge 2 commits into
masterfrom
orientation-doctor-hint

Conversation

@GenericJam

Copy link
Copy Markdown
Owner

Follow-up to #188 (review nitpick). Based on android-orientation; GitHub retargets it to master once #188 merges.

The doctor's iOS orientation warning said "To keep the lock on purpose, set orientations: :portrait", which also locks Android. It now offers both: orientations: :portrait (iOS and Android) or ios_orientations: :portrait (iOS only). The test asserts both are offered and both silence the warning. mix test test/mob_dev/ios_layout_plist_test.exs: 24 passed.

- To keep a lock on purpose: orientations (iOS and Android) or ios_orientations (iOS only); orientations alone also locked Android for users only silencing the iOS warning.
- Test asserts both keys are offered and both silence the warning.
@GenericJam
GenericJam changed the base branch from android-orientation to master December 4, 2026 13:50
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.

1 participant