Skip to content

Releases

The release notes for our @privy-io/expo SDK.

0.33.2

  • Fix undefined is not a function error on login when Promise.allSettled is not available.
  • Update js-sdk-core to 0.34.2

0.33.1

  • Update js-sdk-core to 0.34.1

0.33.0

  • Add support for user-managed recovery (password and cloud) for Solana embedded wallets
  • Add support for native account abstraction (smart wallets)
  • Fix incorrect status on Solana wallets for Ethereum only users
  • Update js-sdk-core to 0.34.0

0.32.0

  • Update js-sdk-core to 0.33.0

0.31.0

  • Add suport for Bitcoin embedded wallets
  • Update js-sdk-core to 0.32.0

0.30.4

  • Add support for signing replayable user operations for the Coinbase smart wallet
  • Update js-sdk-core to 0.30.5

0.30.3

  • Adds UIs for signing with embedded wallets
  • Update js-sdk-core to 0.30.4

0.29.3

  • Update js-sdk-core to 0.30.3

0.29.2

  • Update js-sdk-core to 0.30.2

0.29.1

  • Update js-sdk-core to 0.30.1

0.29.0

  • Add support for wallet MFA
  • Expose initialization errors from usePrivy
  • Display app logo from Privy Dashboard in default login UIs
  • Improve error handling around when storage access fails

0.28.0

  • Add default UIs for OAuth login
  • Update js-sdk-core dependency to 0.29.3

0.27.2

  • Add support for choosing a login method from Privy UIs

0.27.1

  • Update react-native-passkeys dependency to ^0.3.0
  • Update js-sdk-core to 0.29.1

0.27.0

  • Add support for HD Solana embedded wallets
  • Update js-sdk-core to 0.29.0

0.26.1

  • Add client-side error for when native app ID cannot be determined
  • Update js-sdk-core to 0.28.8

0.26.0

0.25.0

  • Allow an Ethereum embedded wallet to be created for a user with a Solana embedded wallet

0.24.5

  • Update js-sdk-core dependency to 0.28.5

0.24.4

  • 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

0.24.3

  • Add strict option to getAccessToken function
  • Update js-sdk-core dependency to 0.28.3

0.24.2

  • Update js-sdk-core dependency to 0.28.2

0.24.1

  • Update js-sdk-core dependency to 0.28.1

0.24.0

  • Add useCreateGuestAccount hook
  • Add the useOAuthTokens hook to enable OAuth token capture via onOAuthTokenGrant calback
  • Update js-sdk-core dependency to 0.28.0

0.23.0

  • 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

0.22.10

  • 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

0.22.9

  • Update js-sdk-core dependency to 0.26.6

0.22.8

  • Ensure loginWithSiwe/linkWithSiwe throw an error if login with or linking the wallet failed

0.22.7

  • Update js-sdk-core dependency to 0.26.4

0.22.6

  • Increase embedded wallet webview ping timeout from 150ms to 500ms to use existing webview more often instead of initializing a new one

0.22.5

  • Update js-sdk-core dependency to 0.26.2

0.22.4

  • Remove automatic cancellation of polling for useLoginWithFarcaster and useLinkWithFarcaster

0.22.3

  • Update default export to be ESM instead of CJS to allow for dynamic imports of internal dependencies
  • Fix issue where Ethereum and Solana embedded wallets could not be created in the same React tick
  • Add Solana mainnet chain ID to Solana embedded wallet in user.linkedAccounts
  • Ignore gasPrice during transaction preparation on EIP-1559 chains where that parameter is not supported (OP Stack, Polygon)

0.22.2

  • Use updated embedded wallet message handler from js-sdk-core
  • Update js-sdk-core dependency to 0.26.0
  • Update expo-native-extensions dependency to 0.0.2

0.22.1

  • Support native iCloud recovery with the new @privy-io/expo-native-extensions package

0.22.0

  • Add support for identity tokens and expose the useIdentityToken hook
  • Update js-sdk-core dependency to 0.25.0

0.21.6

  • Update js-sdk-core dependency to 0.24.4

0.21.6

  • 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.5

  • Improve error message from wallet RPC failures

0.21.4

  • Update Apple auth on iOS to use native Apple authentication

0.21.3

  • Export EmbeddedSolanaWalletState type and fix issue where type predicates weren't working
  • Update account from useEmbeddedWallet to reflect new recovery methods when set

0.21.2

  • Update js-sdk-core dependency

0.21.1

  • Add baseline Solana + Ethereum support

0.21.0

  • Add cancel to useLoginWithFarcaster and useLinkWithFarcaster, and cancel polling upon hook unmount
  • Update js-sdk-core dependency

0.20.4

  • Update internal typescript dependency to 5.5

0.20.3

  • Fix twitter login on Android
  • Update js-sdk-core dependency

0.20.2

  • Export getAccessToken outside of usePrivy hook

0.20.1

  • Improve gas estimation
  • Update js-sdk-core dependency

0.20.0

  • Add recovery upgrade flows: const { setRecovery } = useEmbeddedWallet();
    • Deprecate setPassword from useEmbeddedWallet, instead use setRecovery({recoveryMethod: 'user-passcode'})
  • Set user state to null when session is cleared
  • Update js-sdk-core dependency

0.19.2

  • Update js-sdk-core dependency

0.19.1

  • Add experimental csw_signUserOperation RPC to support signing user operations for the Coinbase Smart Wallet

0.19.0

  • Deprecate goerli and polygon mumbai chains
  • Update js-sdk-core dependency

0.18.0

  • Add third-party auth support

0.17.0

  • Expose account on useEmbeddedWallet hook
  • Update js-sdk-core dependency

0.16.3

  • Add iCloud recovery support
  • Update js-sdk-core dependency

0.16.2

  • Update js-sdk-core dependency

0.16.1

  • Update js-sdk-core dependency

0.16.0

  • Update default storage adaptor accessibility level to SecureStore.AFTER_FIRST_UNLOCK_THIS_DEVICE_ONLY
  • Update js-sdk-core dependency

0.15.1

  • 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

  • Add support for redirect_url to Farcaster login hooks (useLoginWithFarcaster, useLinkWithFarcaster)

0.14.2

  • Add isNewUser as second param in expo login success callbacks
  • Update js-sdk-core dependency

0.14.1

  • Update js-sdk-core dependency

0.14.0

  • Add link and unlink with Farcaster

0.13.2

  • Update js-sdk-core dependency

0.13.1

  • Fix typo in submitting-token status for login in with Farcaster

0.13.0

  • Add login with Farcaster
  • Add useEmbeddedWalletStateChange hook to register callbacks for embedded wallets

0.12.1

  • Update js-sdk-core dependency

0.12.0

  • Social login improvements

0.11.2

  • Fix callbacks not updating in auth hooks

0.11.1

  • Update js-sdk-core dependency

0.11.0

  • Add support for login and link with Passkey

0.10.0

Upgrade guide

After upgrading, run npx expo install expo-crypto to install new required peer dependencies.

New features

  • Support google-drive as a recovery method for embedded wallets.

0.9.0

  • Update build tooling
  • Add support for Polygon Amoy testnet out of the box
  • Fix issues with custom storage adaptors

0.8.3

  • Update js-sdk-core dependency

0.8.2

  • Update Chain type to support viem v2 chains

0.8.1

  • Add headless siwe hook
  • Update js-sdk-core dependency

0.8.0

  • Reload Privy secure context when AppState becomes active, add reconnecting state
  • Add getProvider to embedded wallets interface
  • Add setPassword to embedded wallets interface
  • Add platform specific OAuth login handling
  • Update js-sdk-core dependency

0.7.0

  • Fix issue with OAuth login on Android

0.6.3

  • Update js-sdk-core dependency

0.6.2

  • Update js-sdk-core dependency

0.6.1

  • Rename developer "console" to "dashboard"
  • Update js-sdk-core dependency

0.6.0

  • Guard login/link hooks from being used at the wrong time
  • Updated oauth strategy Make sure you install expo-web-browser as a peer dependency!
  • Add success callbacks to login and link hooks
  • Better error handling for expo login and link hooks
  • Handle react-native key conversion in SDK for custom storage adapters
  • Update js-sdk-core dependency

0.5.5

  • Update js-sdk-core dependency

0.5.4

  • Update js-sdk-core dependency

0.5.3

  • Update js-sdk-core dependency

0.5.2

  • Update js-sdk-core dependency

0.5.1

  • Update js-sdk-core dependency

0.5.0

  • Handle eth_sendTransaction and eth_populateTransactionRequest at SDK level

0.4.5

  • Start secure context once client is ready
  • Update dependencies

0.4.4

  • Update dependencies

0.4.1

  • Gracefully hanndle errors from UUID generation

0.4.0

  • Update dependencies
  • Configuration updates to support custom chains

0.3.6

  • Remove session refresh on app foregrounding
  • Fix recovery state bugs
  • Update dependencies

0.3.5

  • Update dependencies

0.3.4

  • clear react state when user is set to null
  • Update js-sdk-core dependency

0.3.3

  • Pin internal dependencies

0.3.2

  • Ensure user and wallet state is cleared on logout
  • Update depednencies

0.3.1

  • Expose getAccessToken function

0.3.0

  • Stringify iframe-bound messages from js-sdk-core
  • 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).

0.2.1

  • Update readme to point to documentation.

0.2.0

  • Add type predicates for embedded wallet state
  • Rename initial state to disconnected for embedded wallets
  • Update js-sdk-core dependency

0.1.1

  • Update parcel, fix builds
  • Update js-sdk-core dependency

0.1.0

  • Initial release