Skip to content

Document the Sign in with Apple button - #562

Draft
simonhamp wants to merge 2 commits into
mainfrom
docs/sign-in-with-apple-button
Draft

simonhamp wants to merge 2 commits into
mainfrom
docs/sign-in-with-apple-button

Conversation

@simonhamp

@simonhamp simonhamp commented Oct 16, 2026 •

Copy link
Copy Markdown
Member

Documents <native:sign-in-with-apple-button> from NativePHP/mobile-ui#133. The page sits between Side Navigation and Slider and covers the props, the two native events (SignInWithAppleCompleted and SignInWithAppleFailed) and their fields, how to handle the nonce, the entitlement an app needs, the Android fallback slot and a few examples, with light and dark screenshots from an iOS 26 simulator.

It's badged mobile-ui 0.9, since #133 is stacked on mobile-ui#132, which is also aimed at 0.9. The version test only allows listed versions, so config/docs.php adds 0.8 and 0.9 for mobile-ui. That's the same line #561 changes, in the same way, so whichever merges second won't conflict.

The page also says the button needs nativephp/mobile 4.7 or later. That's my guess at the release that will carry NativePHP/mobile-air#545, without which a tap on the button does nothing. If #545 ships in a different version, that line needs to change.

This shouldn't merge until both releases are out.

The docs tests pass locally (96 passed with --filter=Docs, including the rendering and version badge tests).

🤖 Generated with Claude Code

Adds a page for <native:sign-in-with-apple-button>, between Side
Navigation and Slider, with light and dark screenshots from an iOS 26
simulator. The version test only allows listed versions, so mobile-ui
0.8 and 0.9 are added to the config, the same change as #561.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The button now runs Apple's request itself, so the page covers the
nonce, scopes and state props, the two native events and their fields,
the entitlement, and that a corner radius can only round the corners
more than Apple's. Screenshots are retaken from the SwiftUI version.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

This branch has not been deployed

No deployments
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