The release notes for our @privy-io/expo
SDK.
Bug Fixes
- Fix SMS MFA verification UIs
Improvements
- Update
js-sdk-core
to 0.48.0
Improvements
- Minor internal improvements
- Update
js-sdk-core
to 0.47.3
Improvements
- Add hooks to support Phantom, Backpack, and generic wallet deeplinking
- Update
js-sdk-core
to 0.47.2
Bug Fixes
- Fix paymaster context being parsed incorrectly for Biconomy and Alchemy paymasters
-
Moved UI specific exports into the @privy-io/expo/ui
entrypoint:
PrivyElements
LoginUIConfig
PrivyUIError
useLogin
UseLoginInterface
useSignMessage
UseSignMessageInterface
useSolanaSignMessage
UseSolanaSignMessageInterface
useDelegatedActions
UseDelegatedActionsInterface
useMfaEnrollmentUI
UseMfaEnrollmentUIInterface
FundingAsset
FundingConfig
FundingSolanaConfig
useFundWallet
UseFundWallet
useFundSolanaWallet
UseFundSolanaWallet
-
The following peer dependencies have been marked as optional, only required if you are using the UI specific exports:
react-native-svg
expo-clipboard
react-native-qrcode-styled
react-native-safe-area-context
viem
Improvements
- Update
js-sdk-core
to 0.47.1
Improvements
- Allow usage of wallets imported on web via
@privy-io/react-auth
Bug Fixes
- Fix automatic wallet creation for native sign in with Apple flow
Improvements
- Remove unused
expo-constants
as a peer dependency
- Update
js-sdk-core
to 0.46.4
Improvements
- Update
js-sdk-core
to 0.46.3
Bug Fixes
- Ensure
isReady
doesn’t flip to false during OAuth link flows
Improvements
- Add ability to paste login codes
- Update
js-sdk-core
to 0.46.2
Bug Fixes
- Fix
expo-apple-authentication
dependency error
Improvements
- Improve embedded wallet reloading on return from app background state
- Update
js-sdk-core
to 0.46.1
Improvements
- Improve error message when token storage fails
- Update
expo-apple-authentication
to be an optional peer dependency
- Update
js-sdk-core
to 0.46.0
Improvements
- Update
js-sdk-core
to 0.45.1
Other Changes
- Minor visual adjustments on the default UIs
- Export input types for
useUpdatePhone
and useUpdateEmail
Improvements
- Add
useUpdatePhone
to support changing a user’s phone number
- Add
useUpdateEmail
to support changing a user’s email address
- Update
js-sdk-core
to 0.45.0
Improvements
- Add support for on-demand recovery for solana
- Update
js-sdk-core
to 0.44.4
- Update
expo-native-extensions
to 0.0.4
Other Changes
- Correctly reset error state when user data successfully refreshed
Improvements
- Update
js-sdk-core
to 0.44.3
Bug Fixes
- Fix method name of
useLoginWithSiws
- Fix automatic wallet creation for OAuth flows
- Fix linking accounts not working sequentially after login
- Fix issue where certain client-set cookies weren’t cleared on logout
Other Changes
- Minor internal improvements
Improvements
- Updates exported linked account types
- Improve error messages on login UIs
Improvements
- Improve error messages on UI flows
Bug Fixes
- Fix
useLoginWithSIWS
export
Improvements
- Add sign in with Solana (SIWS)
- Add
createPrivyClient
- Add an error when there are multiple PrivyProviders rendered
- Add
useOnNeedsRecovery
hook to allow for on demand recovery
Bug Fixes
- Fix issue with UIs for Terms of Service and Privacy Policy for existing accounts
Improvements
- Add UIs for Terms of Service and Privacy Policy acceptance in the
PrivyElements
component
- Add support for MFA enrollment and prompting UIs in the
PrivyElements
component
- Deprecate
useEmbeddedWallet
hook in favor of useEmbeddedEthereumWallet
Improvements
- Add support for HD ethereum wallets
- Update behavior of
preferredProvider
for the funding flow
- Update
js-sdk-core
to 0.42.0
Improvements
- Update SMS and email auth hooks (
useLoginWithSms
, useLinkSms
, useLoginWithEmail
, useLinkEmail
) to throw on error
- Add support for
defaultPaymentMethod
for solana funding
- Improve visual feedback when wallet address is copied
Improvements
- Add theming support on
PrivyElements
UI components
- Update
js-sdk-core
to 0.41.5
Improvements
- Update
js-sdk-core
to 0.41.4
Other Changes
- Minor internal improvements
Improvements
- Update
js-sdk-core
to 0.41.2
Other Changes
Improvements
- Adds chain switching support on the smart wallet client
- Adds
defaultFundingMethod
to fundWallet
method
- Adds
removeForLogin
option for Passkey MFA unenrollment
- Update
js-sdk-core
to 0.41.1
Improvements
- Adds support for headless wallet delegation
- Adds support for cross-app signatures and transactions
- Update
js-sdk-core
to 0.41.0
Bug Fixes
- Fix wallet auto-create when using custom authentication
- Fix typo in
createOnLogin
value users-without-wallets
to match docs
Improvements
- Add
signAndSendTransaction
and signTransaction
requests to Solana provider
Bug Fixes
- Fix race condition between
isReady
and proxy being set
Improvements
- Add hooks for farcaster v2 login
Improvements
- Add support for automatic embedded wallet creation on EVM and Solana
- Update
js-sdk-core
to 0.39.0
Improvements
- Adds support for login and linking against a cross-app account provider
- Update
js-sdk-core
to 0.38.0
Improvements
- Update
js-sdk-core
to 0.37.2
Improvements
- Update
js-sdk-core
to 0.37.1
Improvements
- Add support for signing up with passkey
- Add support for purchasing USDC on Solana with Coinbase Onramp
- Update
js-sdk-core
to 0.37.0
Improvements
- Update
js-sdk-core
to 0.36.1
Improvements
- Adds UIs for delegated action flows
- Update
js-sdk-core
to 0.36.0
Improvements
- Update
js-sdk-core
to 0.35.6
Improvements
- Update
js-sdk-core
to 0.35.5
Improvements
- Update Apple native sign-in flow to always request scopes from user
- Improve error messages during funding flows
Improvements
- Expose
LinkedAccountWithMetadata
type
- Update
js-sdk-core
to 0.35.3
Improvements
- Add
mfa
property on the PrivyProvider
for configuring the relyingParty
for passkey-based MFA
Improvements
- Update
js-sdk-core
to 0.35.2
Improvements
- Update nativeAppIdentifier to not rely on document being set
- Update copy of resend code to be agnostic to phone/email
- Update styling of funding flows
- Update
js-sdk-core
to 0.35.1
Bug Fixes
- Fix coinbase bundler/paymaster gas estimation issues
Improvements
- Add funding experiences
- Update
js-sdk-core
to 0.35.0
Improvements
- Update
js-sdk-core
to 0.34.2
Bug Fixes
- Fix
undefined is not a function
error on login when Promise.allSettled
is not available.
Improvements
- Update
js-sdk-core
to 0.34.1
Improvements
- Add support for user-managed recovery (password and cloud) for Solana embedded wallets
- Add support for native account abstraction (smart wallets)
- Update
js-sdk-core
to 0.34.0
Bug Fixes
- Fix incorrect status on Solana wallets for Ethereum only users
Improvements
- Update
js-sdk-core
to 0.33.0
Improvements
- Add support for Bitcoin embedded wallets
- Update
js-sdk-core
to 0.32.0
Improvements
- Add support for signing replayable user operations for the Coinbase smart wallet
- Update
js-sdk-core
to 0.30.5
Improvements
- Adds UIs for signing with embedded wallets
- Update
js-sdk-core
to 0.30.4
Improvements
- Update
js-sdk-core
to 0.30.3
Improvements
- Update
js-sdk-core
to 0.30.2
Improvements
- Update
js-sdk-core
to 0.30.1
Improvements
- Add support for wallet MFA
- Expose initialization errors from
usePrivy
- Improve error handling around when storage access fails
Other Changes
- Display app logo from Privy Dashboard in default login UIs
Improvements
- Add default UIs for OAuth login
- Update
js-sdk-core
dependency to 0.29.3
Improvements
- Add support for choosing a login method from Privy UIs
Improvements
- Update
react-native-passkeys
dependency to ^0.3.0
- Update
js-sdk-core
to 0.29.1
Improvements
- Add support for HD Solana embedded wallets
- Update
js-sdk-core
to 0.29.0
Improvements
- Add client-side error for when native app ID cannot be determined
- Update
js-sdk-core
to 0.28.8
Other Changes
- Allow an Ethereum embedded wallet to be created for a user with a Solana embedded wallet
Improvements
- Update
js-sdk-core
dependency to 0.28.5
Improvements
- Expose
createPrivyClient
to support getting the privy token with refresh logic outside of the react lifecycle.
- Update
js-sdk-core
dependency to 0.28.4
Improvements
- Add strict option to getAccessToken function
- Update
js-sdk-core
dependency to 0.28.3
Improvements
- Update
js-sdk-core
dependency to 0.28.2
Improvements
- Update
js-sdk-core
dependency to 0.28.1
Improvements
- Add
useCreateGuestAccount
hook
- Add the
useOAuthTokens
hook to enable OAuth token capture via onOAuthTokenGrant
callback
- Update
js-sdk-core
dependency to 0.28.0
Improvements
- Add support for passing a
disableSignup
flag to login hooks to distinguish between login and sign-up
- Update
js-sdk-core
dependency to 0.27.0
Improvements
- Add support for unlinking OAuth accounts via the
useUnlinkOAuth
hook
- Add support for unlinking external wallets via the
useUnlinkWallet
hook
- Update
js-sdk-core
dependency to 0.26.7
Improvements
- Update
js-sdk-core
dependency to 0.26.6
Bug Fixes
- Ensure
loginWithSiwe
/linkWithSiwe
throw an error if login with or linking the wallet failed
Improvements
- Update
js-sdk-core
dependency to 0.26.4
Other Changes
- Increase embedded wallet webview ping timeout from 150ms to 500ms to use existing webview more often instead of initializing a new one
Improvements
- Update
js-sdk-core
dependency to 0.26.2
- Remove automatic cancellation of polling for
useLoginWithFarcaster
and useLinkWithFarcaster
Improvements
- Update default export to be ESM instead of CJS to allow for dynamic imports of internal dependencies
- Add Solana mainnet chain ID to Solana embedded wallet in
user.linkedAccounts
Bug Fixes
- Fix issue where Ethereum and Solana embedded wallets could not be created in the same React tick
Other Changes
- Ignore gasPrice during transaction preparation on EIP-1559 chains where that parameter is not supported (OP Stack, Polygon)
Improvements
- Update
js-sdk-core
dependency to 0.26.0
- Update
expo-native-extensions
dependency to 0.0.2
Other Changes
- Use updated embedded wallet message handler from
js-sdk-core
Improvements
- Support native iCloud recovery with the new
@privy-io/expo-native-extensions
package
Improvements
- Add support for identity tokens and expose the
useIdentityToken
hook
- Update
js-sdk-core
dependency to 0.25.0
Improvements
- Update
js-sdk-core
dependency to 0.24.4
Improvements
- Update
js-sdk-core
dependency
- Add
isLegacyAppleIosBehaviorEnabled
to OAuth login and link methods to override default behavior using native Sign in with Apple.
Improvements
- Improve error message from wallet RPC failures
Improvements
- Update Apple auth on iOS to use native Apple authentication
Improvements
- Update
account
from useEmbeddedWallet
to reflect new recovery methods when set
Other Changes
- Export
EmbeddedSolanaWalletState
type and fix issue where type predicates weren’t working
Improvements
- Update
js-sdk-core
dependency
Improvements
- Add baseline Solana + Ethereum support
Improvements
- Add
cancel
to useLoginWithFarcaster
and useLinkWithFarcaster
, and cancel polling upon hook unmount
- Update
js-sdk-core
dependency
Improvements
- Update internal
typescript
dependency to 5.5
Improvements
- Update
js-sdk-core
dependency
Bug Fixes
- Fix twitter login on Android
Other Changes
- Export
getAccessToken
outside of usePrivy
hook
Improvements
- Improve gas estimation
- Update
js-sdk-core
dependency
Improvements
- Add recovery upgrade flows:
const { setRecovery } = useEmbeddedWallet();
- Deprecate setPassword
from useEmbeddedWallet
, instead use setRecovery({recoveryMethod: 'user-passcode'})
- Update
js-sdk-core
dependency
Other Changes
- Set
user
state to null
when session is cleared
Improvements
- Update
js-sdk-core
dependency
Improvements
- Add experimental
csw_signUserOperation
RPC to support signing user operations for the Coinbase Smart Wallet
- Deprecate goerli and polygon mumbai chains
Improvements
- Update
js-sdk-core
dependency
Improvements
- Add third-party auth support
Improvements
- Expose
account
on useEmbeddedWallet
hook
- Update
js-sdk-core
dependency
Improvements
- Add iCloud recovery support
- Update
js-sdk-core
dependency
Improvements
- Update
js-sdk-core
dependency
Improvements
- Update
js-sdk-core
dependency
Improvements
- Update default storage adaptor accessibility level to
SecureStore.AFTER_FIRST_UNLOCK_THIS_DEVICE_ONLY
- Update
js-sdk-core
dependency
Improvements
- Add specific errors OAuth flows canceled by users
- Update login with Farcaster polling to pause when app is in background state
- Update
js-sdk-core
dependency
Improvements
- Add support for
redirect_url
to Farcaster login hooks (useLoginWithFarcaster
, useLinkWithFarcaster
)
Improvements
- Add
isNewUser
as second param in expo login success callbacks
- Update
js-sdk-core
dependency
Improvements
- Update
js-sdk-core
dependency
Improvements
- Add link and unlink with Farcaster
Improvements
- Update
js-sdk-core
dependency
Bug Fixes
- Fix typo in
submitting-token
status for login in with Farcaster
Improvements
- Add login with Farcaster
- Add
useEmbeddedWalletStateChange
hook to register callbacks for embedded wallets
Improvements
- Update
js-sdk-core
dependency
Other Changes
- Social login improvements
Bug Fixes
- Fix callbacks not updating in auth hooks
Improvements
- Update
js-sdk-core
dependency
Improvements
- Add support for login and link with Passkey
Improvements
- Support
google-drive
as a recovery method for embedded wallets.
Improvements
- Update build tooling
- Add support for Polygon Amoy testnet out of the box
Bug Fixes
- Fix issues with custom storage adaptors
Improvements
- Update
js-sdk-core
dependency
Improvements
- Update
Chain
type to support viem v2 chains
Improvements
- Add headless siwe hook
- Update
js-sdk-core
dependency
Improvements
- Add
getProvider
to embedded wallets interface
- Add
setPassword
to embedded wallets interface
- Add platform specific OAuth login handling
- Update
js-sdk-core
dependency
Other Changes
- Reload Privy secure context when AppState becomes active, add
reconnecting
state
Bug Fixes
- Fix issue with OAuth login on Android
Improvements
- Update
js-sdk-core
dependency
Improvements
- Update
js-sdk-core
dependency
Improvements
- Update
js-sdk-core
dependency
Other Changes
- Rename developer “console” to “dashboard”
Improvements
- Updated oauth strategy Make sure you install
expo-web-browser
as a peer dependency!
- Add success callbacks to login and link hooks
- Update
js-sdk-core
dependency
Bug Fixes
- Handle react-native key conversion in SDK for custom storage adapters
Other Changes
- Guard login/link hooks from being used at the wrong time
- Better error handling for expo login and link hooks
Improvements
- Update
js-sdk-core
dependency
Improvements
- Update
js-sdk-core
dependency
Improvements
- Update
js-sdk-core
dependency
Improvements
- Update
js-sdk-core
dependency
Improvements
- Update
js-sdk-core
dependency
Bug Fixes
- Handle eth_sendTransaction and eth_populateTransactionRequest at SDK level
Improvements
Other Changes
- Start secure context once client is ready
Other Changes
- Gracefully handle errors from UUID generation
Improvements
Other Changes
- Configuration updates to support custom chains
- Remove session refresh on app foregrounding
Improvements
Bug Fixes
Improvements
- Update
js-sdk-core
dependency
Other Changes
- clear react state when user is set to null
Other Changes
- Pin internal dependencies
Improvements
Bug Fixes
- Ensure user and wallet state is cleared on logout
Improvements
- Expose
getAccessToken
function
Improvements
- Add dedicated native app id checking via header (similar to request origin checks on web)
- Add url scheme checking on OAuth redirects (for app urls like
myapp://
etc).
Other Changes
- Stringify iframe-bound messages from
js-sdk-core
Improvements
- Update readme to point to documentation.
Improvements
- Add type predicates for embedded wallet state
- Update
js-sdk-core
dependency
Other Changes
- Rename
initial
state to disconnected
for embedded wallets
Improvements
- Update parcel, fix builds
- Update
js-sdk-core
dependency