-
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 authentication capabilities to RN Signer #1231
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. |
useEffect(() => { | ||
// get the user if already logged in | ||
signer.getAuthDetails().then(setUser); | ||
}, []); |
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.
React Hook useEffect has a missing dependency: 'signer'. Either include it or remove the dependency array.
* feat: add OTP authentication capabilities to RN Signer * fix: update redirect route path * fix: fix linting
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 focuses on enhancing the navigation structure and authentication process in the
rn-signer
example. It introduces a singleton pattern for theRNAlchemySigner
and updates the navigation to use bottom tabs, along with modifications to the authentication flow.Detailed summary
@react-navigation/bottom-tabs
dependency.redirect-server/index.ts
.RNAlchemySigner
toRNAlchemySignerSingleton
for singleton implementation.App.tsx
to usecreateBottomTabNavigator
.MagicLinkAuthScreen
andOtpAuthScreen
for authentication.HomeScreen
toMagicLinkAuthScreen
.otp-auth.tsx
.Screenshots
Uploading screen-20241217-170256.mp4…