-
Notifications
You must be signed in to change notification settings - Fork 603
[ReactNative] Adds EmbeddedWallet (email) #1561
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
Conversation
🦋 Changeset detectedLatest commit: bc3160c The changes in this PR will be included in the next version bump. This PR includes changesets to release 2 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
packages/react-native/src/evm/wallets/connectors/email-wallet/email/helpers/api/fetchers.ts
Fixed
Show fixed
Hide fixed
Codecov ReportAll modified lines are covered by tests ✅ 📢 Thoughts on this report? Let us know!. |
/release-pr |
/release-pr |
import { getAuthTokenClient } from "../storage/local"; | ||
import * as Application from "expo-application"; | ||
|
||
const EMBEDDED_WALLET_TOKEN_HEADER = "embedded-wallet-token"; |
Check failure
Code scanning / CodeQL
Hard-coded credentials
/release-pr |
Problem solved
You can now do:
To use the
embeddedWallet
you need to add the following dependencies to your project:"amazon-cognito-identity-js": "^6.3.3"
react-native-quick-base64
react-native-quick-crypto
There's an open issue on RN > 0.72: Android build issue with RN 0.72.3 margelo/react-native-quick-crypto#186 which you can fix by adding the following to your
android/app/build.gradle
file:When building the iOS app in release mode for RN 0.71 you need to enable the OpenSSL framework in XCode. There are several solutions for this here:
react-native-aes-gcm-crypto
Changes made
How to test