SDK changelogs
React Native changelog
The release notes for our @privy-io/expo
SDK.
0.54.1
Improvements
- Update dependencies for viem and others
- Fix deeplink wallet connector bugs
- Update
@privy-io/js-sdk-core@
to0.50.11
0.54.0
Improvements
- Deprecated the
onSuccess
andonError
callbacks inuseLoginWithOAuth
anduseLinkWithOAuth
. - Fix promise returned by
login
(fromuseLoginWithOAuth
) resolves or rejects with the correct user data or error message. - Fix promise returned by
link
(fromuseLinkWithOAuth
) resolves or rejects with the correct user data or error message. - Update
@privy-io/js-sdk-core
to0.50.10
0.53.4
Improvements
- Add
endPartnerName
to Coinbase OnRamp URL - Update
@privy-io/js-sdk-core
to0.50.4
0.53.3
Improvements
- Fix code input UIs
- Updates the
zustand
dependency to^5.0.4
- Update
js-sdk-core
to0.50.3
0.53.0
Improvements
- Add the
useSessionSigners
hook - Fix code input UIs on all screen sizes
- Update
js-sdk-core
to0.50.0
0.52.5
Improvements
- Add ability to inspect funding webviews via devtools
- Update
js-sdk-core
to0.48.2
0.52.4
Improvements
- Reduce instances of proxy not initialized errors related to reload
- Update
js-sdk-core
to0.48.1
0.52.0
0.51.0
Breaking Changes
-
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
to0.47.1
0.50.0
0.49.5
0.49.4
0.49.3
Improvements
- Improve embedded wallet reloading on return from app background state
- Update
js-sdk-core
to0.46.1
0.49.2
Improvements
- Improve error message when token storage fails
- Update
expo-apple-authentication
to be an optional peer dependency - Update
js-sdk-core
to0.46.0
0.49.1
0.49.0
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
to0.45.0
0.48.2
0.48.1
Improvements
- Update
js-sdk-core
to0.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
0.47.0
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
0.46.0
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
0.45.0
Breaking Changes
- Deprecate
useEmbeddedWallet
hook in favor ofuseEmbeddedEthereumWallet
Improvements
- Add support for HD ethereum wallets
- Update behavior of
preferredProvider
for the funding flow - Update
js-sdk-core
to0.42.0
0.44.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
0.43.0
Improvements
- Add theming support on
PrivyElements
UI components - Update
js-sdk-core
to0.41.5
0.42.0
Improvements
- Adds chain switching support on the smart wallet client
- Adds
defaultFundingMethod
tofundWallet
method - Adds
removeForLogin
option for Passkey MFA unenrollment - Update
js-sdk-core
to0.41.1
0.41.0
0.40.0
0.38.0
Improvements
- Add support for automatic embedded wallet creation on EVM and Solana
- Update
js-sdk-core
to0.39.0
0.37.0
Improvements
- Adds support for login and linking against a cross-app account provider
- Update
js-sdk-core
to0.38.0
0.36.0
Improvements
- Add support for signing up with passkey
- Add support for purchasing USDC on Solana with Coinbase Onramp
- Update
js-sdk-core
to0.37.0
0.34.6
Improvements
- Update Apple native sign-in flow to always request scopes from user
- Improve error messages during funding flows
0.34.4
Improvements
- Add
mfa
property on thePrivyProvider
for configuring therelyingParty
for passkey-based MFA
0.34.2
0.33.2
0.33.0
0.30.4
Improvements
- Add support for signing replayable user operations for the Coinbase smart wallet
- Update
js-sdk-core
to0.30.5
0.29.0
0.26.1
Improvements
- Add client-side error for when native app ID cannot be determined
- Update
js-sdk-core
to0.28.8
0.26.0
Improvements
- Add default Privy UIs for login via email and SMS
0.25.0
Other Changes
- Allow an Ethereum embedded wallet to be created for a user with a Solana embedded wallet
0.24.4
Improvements
- Expose
createPrivyClient
to support getting the privy token with refresh logic outside of the react lifecycle. - Update
js-sdk-core
dependency to0.28.4
0.24.3
Improvements
- Add strict option to getAccessToken function
- Update
js-sdk-core
dependency to0.28.3
0.24.0
Improvements
- Add
useCreateGuestAccount
hook - Add the
useOAuthTokens
hook to enable OAuth token capture viaonOAuthTokenGrant
callback - Update
js-sdk-core
dependency to0.28.0
0.23.0
Improvements
- Add support for passing a
disableSignup
flag to login hooks to distinguish between login and sign-up - Update
js-sdk-core
dependency to0.27.0
0.22.10
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 to0.26.7
0.22.8
Bug Fixes
- Ensure
loginWithSiwe
/linkWithSiwe
throw an error if login with or linking the wallet failed
0.22.6
Other Changes
- Increase embedded wallet webview ping timeout from 150ms to 500ms to use existing webview more often instead of initializing a new one
0.22.4
Breaking Changes
- Remove automatic cancellation of polling for
useLoginWithFarcaster
anduseLinkWithFarcaster
0.22.3
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)
0.22.2
0.22.1
Improvements
- Support native iCloud recovery with the new
@privy-io/expo-native-extensions
package
0.22.0
Improvements
- Add support for identity tokens and expose the
useIdentityToken
hook - Update
js-sdk-core
dependency to 0.25.0
0.21.6
Improvements
- Update
js-sdk-core
dependency - Add
isLegacyAppleIosBehaviorEnabled
to OAuth login and link methods to override default behavior using native Sign in with Apple.
0.21.3
0.21.0
Improvements
- Add
cancel
touseLoginWithFarcaster
anduseLinkWithFarcaster
, and cancel polling upon hook unmount - Update
js-sdk-core
dependency
0.20.0
0.19.1
Improvements
- Add experimental
csw_signUserOperation
RPC to support signing user operations for the Coinbase Smart Wallet
0.19.0
Breaking Changes
- Deprecate goerli and polygon mumbai chains
Improvements
- Update
js-sdk-core
dependency
0.16.0
Improvements
- Update default storage adaptor accessibility level to
SecureStore.AFTER_FIRST_UNLOCK_THIS_DEVICE_ONLY
- Update
js-sdk-core
dependency
0.15.1
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
0.15.0
Improvements
- Add support for
redirect_url
to Farcaster login hooks (useLoginWithFarcaster
,useLinkWithFarcaster
)
0.14.2
Improvements
- Add
isNewUser
as second param in expo login success callbacks - Update
js-sdk-core
dependency
0.13.0
Improvements
- Add login with Farcaster
- Add
useEmbeddedWalletStateChange
hook to register callbacks for embedded wallets
0.9.0
0.8.0
0.6.1
0.6.0
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
0.4.0
0.3.6
0.3.4
0.3.2
0.3.0
0.2.0