Repository navigation
docs(engage-native): document iOS Core NFC arena check-in - #336
Conversation
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
|
Important Review skippedBot user detected. To trigger a single review, invoke the
|
|
I'll fix CI failures and address comments from users with write access that start with 'Devin'.
Prompt hidden (unlisted session) |
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
There was a problem hiding this comment.
✅ No new issues found.
Reviewed changes — reviewed all three updated engage-native pages in full; the new iOS Core NFC sections line up with the existing Android NFC, App Clip, and API contract docs, and no new broken links were introduced.
- Feature mapping — added the iOS Core NFC arena check-in flow: reader availability, URL validation, auth deferral and 3 s dedupe, preview-to-route navigation,
checkInAvailable && team.idclaim gating, feedback, and foreground-only fallback behavior, with cross-links from the App Clip and Android NFC sections. - Architecture — documented the
withIosNfcprebuild plugin, theexpo-ios-nfcSwift bridge and validator, error codes, JS revalidation, host and button mount points, plus native rebuild and test limits. CRLF line endings on this page are preserved. - Integration contracts — recorded that the iOS host reuses the existing arena preview and claim clients with no new endpoint, requires a
game_event/teampreview with anid, and leaves eligibility server-authoritative.
Verification: mint broken-links reports only the six pre-existing AGENTS.md links, and git -c core.whitespace=cr-at-eol diff --check is clean.
big-pickle (free) | 𝕏
There was a problem hiding this comment.
✅ No new issues found in the follow-up commit.
Reviewed changes — reviewed only the delta in 7ef97e8; it tightens wording in architecture.mdx and feature-mapping.mdx without changing links, API claims, or behavior.
- Architecture — mount descriptions now use active voice (
RootAuthStack mounts …,ScanQrScreen renders …), andInfo.plistis code-formatted. - Feature mapping — the card-emulation and cross-phone reading claims are now scoped to what is actually established, and the background/universal-link sentence says those URLs take the App Clip or installed-app path instead of this reader's claim logic.
No new broken links or whitespace issues; CRLF on architecture.mdx is still intact.
big-pickle (free) | 𝕏
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
There was a problem hiding this comment.
Devin Review found 1 finding. Devin automatically fixed it.
Fixed by Devin (1)
- Overbroad Android NFC validation comparison — Now says NdefUrlCodec.kt checks the allowed prefix and a non-empty suffix and leaves identifier formats to the JS route parser.
There was a problem hiding this comment.
✅ No new issues found.
Reviewed changes — reviewed the single commit pushed since the prior review; it resolves the earlier inline comment cleanly.
- Android parity wording —
architecture.mdx:410now scopes the comparison to path rules and states that Android'sNdefUrlCodec.ktchecks the allowed prefix and a non-empty suffix while identifier formats are left to the JavaScript route parser, matching the Android section above.
big-pickle (free) | 𝕏
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>



Summary
Engage-native #1450 added a foreground Core NFC NDEF reader to the full iOS app (Scan NFC tag on the arena scanner). The central engage-native pages only described Android NFC, so this adds the iOS counterpart:
feature-mapping.mdx: new iOS Core NFC arena check-in section — availability (hidden on Simulator / iPads without a reader), URL allowlist, auth deferral + latest-link queue, 3 s dedupe, profile/binder routing, preview →resolveHandoffRoute, claim only whencheckInAvailable && team.id(Android claims onteam.idalone), feedback, and background reads falling back to the App Clip / universal-link path. Android NFC and App Clip sections cross-link it.architecture.mdx(CRLF kept): new iOS Core NFC configuration —plugins/withIosNfc.js(TAGentitlement, deprecatedNDEFstripped,NFCReaderUsageDescription,DSportsNfcAllowedHost),modules/expo-ios-nfc/surface, validator rules (only the first URI record is read; path/ID rules are stricter than Android'sNdefUrlCodec.kt), error codes, rebuild/test limits.integration-contracts.mdx: new iOS Core NFC arena check-in contract — reusesgetAppClipArenaPreview/claimArenaCheckIn, no new endpoint, server stays authoritative.NFC sections only; no overlap with #335's Share Extension lines. No links into private repos added.
Checks:
bunx mint@4.3.80 validate --no-build --files <3 changed pages>passed;git -c core.whitespace=cr-at-eol diff --checkclean.Implemented in session Document iOS Core NFC arena check-in
Review with Devin · Open in Devin Desktop