Skip to content

docs: add usage notes (account type/gas, recovery, EIP-1193, Expo config)#103

Open
joalavedra wants to merge 2 commits into
openfort-xyz:mainfrom
joalavedra:docs/usage-notes
Open

docs: add usage notes (account type/gas, recovery, EIP-1193, Expo config)#103
joalavedra wants to merge 2 commits into
openfort-xyz:mainfrom
joalavedra:docs/usage-notes

Conversation

@joalavedra

Copy link
Copy Markdown

What

Adds a Usage notes section to the README covering integration gotchas hit while building a recipe with the SDK:

  • Account type and gas — EOA vs smart account, and that feeSponsorshipId only applies to smart accounts (EOAs pay their own gas). Picking an EOA matters when it must own/sign for a Safe (smart-account owners need ERC-1271 sigs).
  • Recovery without a backendpassword/passkey recovery vs automatic (which needs getEncryptionSession + a backend).
  • create()setActive() lifecyclecreate() doesn't auto-activate.
  • Supported EIP-1193 methods on the embedded provider.
  • Expo app.config.js — use the function form so it merges app.json (a static object drops scheme/plugins/ios and breaks expo run:ios).

Docs-only. Part of a set of DX follow-ups from #102.

🤖 Generated with Claude Code

…fig)

Documents common integration gotchas: EOA vs smart account and which one
gas sponsorship applies to, no-backend password/passkey recovery, the
create()->setActive() lifecycle, the supported EIP-1193 methods, and the
app.config.js function-form requirement for Expo.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@pkg-pr-new

pkg-pr-new Bot commented Jun 13, 2026

Copy link
Copy Markdown

Open in StackBlitz

npm i https://pkg.pr.new/@openfort/react-native@103

commit: d72195b

The auth hooks (useGuestAuth, useEmailAuthOtp, useEmailAuth, useOAuth,
usePhoneAuthOtp, useWalletAuth) resolve with { user?, error? } and do not
throw, so try/catch silently misses failures. List the hooks and show the
error-handling pattern.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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