-
Notifications
You must be signed in to change notification settings - Fork 132
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add otp example to bare rn app #1235
base: main
Are you sure you want to change the base?
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
How to use the Graphite Merge QueueAdd the label graphite-merge-queue to this PR to add it to the merge queue. You must have a Graphite account in order to use the merge queue. Sign up using this link. An organization admin has enabled the Graphite Merge Queue in this repository. Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue. This stack of pull requests is managed by Graphite. Learn more about stacking. |
const signer = RNAlchemySigner({ | ||
client: { connection: { apiKey: Config.API_KEY! } }, | ||
}); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
shouldn't this still work within the a specific screen since it always returns a singleton now?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, did this to silence a linting warning we were getting since the signer instance is also used in a useEffect
57e8a89
to
9a2ce3e
Compare
Pull Request Checklist
yarn test
)site
folder, and guidelines for updating/adding docs can be found in the contribution guide)feat!: breaking change
)yarn lint:check
) and fix any issues? (yarn lint:write
)PR-Codex overview
This PR introduces a new authentication flow using a magic link and OTP in a React Native application. It updates the navigation structure and enhances the
HomeScreen
andOTPAuthScreen
components to accommodate these changes.Detailed summary
index.ts
to usemagic-link
.magic-link.tsx
for new authentication screen.HomeScreen
to support magic link authentication.MagicLinkAuthScreen
toOTPAuthScreen
and updated its logic.createBottomTabNavigator
inApp.tsx
.otp.tsx
for OTP authentication logic.