Repository navigation
|
The guard reports APPLE-5.1.1-PRE-PROMPT-ALLOW-BUTTON on my onboarding screen. What is wrong with a button that says Allow? |
Replies: 2 comments
|
A screen shown before the system permission prompt must not look like the prompt itself. Apple's Human Interface Guidelines ask for a button such as Continue or Next there, and allow extra actions only to collect legal consent. A pre-prompt button titled Allow invites a Guideline 5.1.1 rejection. The guard reports a button titled Allow in an Apple source file that also requests a permission. It skips comments in the common forms, Settings toggles, plain labels and Android-only files. A label passed as a separate Text view is not checked. It is medium, so it reports and never blocks. Rename the button to Continue or Next, and let the system prompt carry the Allow choice. |
|
Asked on X, answered here
Yes, that exact pattern got its own check in 2.5.0. These are the exact questions from the replies on X, with leading @Handles removed so nobody on GitHub gets pinged by mistake. Asked one of these? Reply below if the answer misses something. |
A screen shown before the system permission prompt must not look like the prompt itself. Apple's Human Interface Guidelines ask for a button such as Continue or Next there, and allow extra actions only to collect legal consent. A pre-prompt button titled Allow invites a Guideline 5.1.1 rejection.
The guard reports a button titled Allow in an Apple source file that also requests a permission. It skips comments in the common forms, Settings toggles, plain labels and Android-only files. A label passed as a separate Text view is not checked.
It is medium, so it reports and never blocks. Rename the button to Continue or Next, and let the system prompt carry the Allow choice.