Skip to content

docs(engage-native): document iOS Core NFC arena check-in - #336

Merged
jondmarien merged 6 commits into
mainfrom
devin/1795421524-ios-core-nfc-docs
Nov 23, 2026
Merged

jondmarien merged 6 commits into
mainfrom
devin/1795421524-ios-core-nfc-docs

Conversation

@devin-ai-integration

@devin-ai-integration devin-ai-integration Bot commented Nov 23, 2026 •

Copy link
Copy Markdown
Contributor

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 when checkInAvailable && team.id (Android claims on team.id alone), 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 (TAG entitlement, deprecated NDEF stripped, NFCReaderUsageDescription, DSportsNfcAllowedHost), modules/expo-ios-nfc/ surface, validator rules (only the first URI record is read; path/ID rules are stricter than Android's NdefUrlCodec.kt), error codes, rebuild/test limits.
  • integration-contracts.mdx: new iOS Core NFC arena check-in contract — reuses getAppClipArenaPreview / 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 --check clean.


Technical Writer opened this PR for Jon
Implemented in session Document iOS Core NFC arena check-in
Review with Devin · Open in Devin Desktop


Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
@coderabbitai

coderabbitai Bot commented Nov 23, 2026 •

Copy link
Copy Markdown

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 2246beb5-8a43-4270-96b2-80658410b8bc

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@devin-ai-integration

Copy link
Copy Markdown
Contributor Author

I'll fix CI failures and address comments from users with write access that start with 'Devin'.

  • Disable automatic comment, CI, and merge conflict monitoring

Prompt hidden (unlisted session)

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Risk: low. Approved. Cursor Bugbot and Cursor Security Agent were not present after the first check poll, and this is a narrow documentation-only update with no findings that require human review.

Open in Web View Automation 

Sent by Cursor Approval Agent: Pull Request Router and Approver

devin-ai-integration[bot]

This comment was marked as resolved.

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>

@pullfrog pullfrog Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ 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.id claim gating, feedback, and foreground-only fallback behavior, with cross-links from the App Clip and Android NFC sections.
  • Architecture — documented the withIosNfc prebuild plugin, the expo-ios-nfc Swift 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/team preview with an id, 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.

Pullfrog  | View workflow run | Using big-pickle (free) | 𝕏

@pullfrog pullfrog Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ 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 …), and Info.plist is 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.

Pullfrog  | View workflow run | Using 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>

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

View findings in Devin Review · Follow Devin's work

Devin Review

pullfrog[bot]

This comment was marked as resolved.

@pullfrog pullfrog Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ 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:410 now scopes the comparison to path rules and states that Android's NdefUrlCodec.kt checks the allowed prefix and a non-empty suffix while identifier formats are left to the JavaScript route parser, matching the Android section above.

Pullfrog  | View workflow run | Using big-pickle (free) | 𝕏

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
@jondmarien
jondmarien merged commit 9b557eb into main Nov 23, 2026
8 checks passed
@jondmarien
jondmarien deleted the devin/1795421524-ios-core-nfc-docs branch November 23, 2026 11:00
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