Skip to content

feature: better Apple login messaging & code cleanup#222

Merged
madebydavid merged 1 commit into
mainfrom
219-add-explanation-text-to-the-shipthis-apple-login-command-and-wizard-equivalent
Jul 16, 2026
Merged

feature: better Apple login messaging & code cleanup#222
madebydavid merged 1 commit into
mainfrom
219-add-explanation-text-to-the-shipthis-apple-login-command-and-wizard-equivalent

Conversation

@madebydavid

Copy link
Copy Markdown
Member

This is to resolve #219

What's changed

  • Cleaned up the expo shim and added a comment about why it is needed
  • Cleanup of the apple login command code - removing separate auth.ts module and importing directly from expo
  • Displaying a message explaining the auth process and linking to current version of source code
  • Displaying similar messaging in the command help message

@madebydavid
madebydavid marked this pull request as ready for review July 16, 2026 10:32
@madebydavid
madebydavid requested a review from Copilot July 16, 2026 10:33

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR addresses issue #219 by adding trust-building messaging to the Apple login flow, explaining where credentials go and linking users to the relevant source code. It also simplifies Apple auth code by removing an indirection layer and improving the @expo/apple-utils ESM/CommonJS interop shim.

Changes:

  • Add a rendered Markdown notice shown during shipthis apple login (including when invoked by the iOS wizard).
  • Refactor Apple login to call @expo/apple-utils Auth.loginAsync directly and remove the now-redundant src/apple/auth.ts.
  • Replace the previous “weird export issue” workaround with a clearer documented interop shim in src/apple/expo.ts.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 3 comments.

File Description
src/commands/apple/login.ts Adds user-facing auth explanation + source links; refactors login to use Auth.loginAsync directly.
src/apple/expo.ts Documents and centralizes ESM/CommonJS interop for @expo/apple-utils.
src/apple/auth.ts Removes the previous auth wrapper module now made redundant by the refactor.
assets/markdown/apple-login-notice.md.ejs Adds the Markdown notice content explaining the credential handling and linking to source.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/commands/apple/login.ts
Comment thread src/commands/apple/login.ts
Comment thread src/commands/apple/login.ts
@madebydavid

Copy link
Copy Markdown
Member Author

read the review, but happy with the current state rather than the suggestions

@madebydavid madebydavid changed the title feature: better Apple login messaging & code cleanup. feature: better Apple login messaging & code cleanup Jul 16, 2026
@madebydavid
madebydavid merged commit 9f86895 into main Jul 16, 2026
1 check passed
@madebydavid
madebydavid deleted the 219-add-explanation-text-to-the-shipthis-apple-login-command-and-wizard-equivalent branch July 16, 2026 11:15
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.

Add explanation text to the shipthis apple login command and wizard equivalent

2 participants