privy_flutter 0.4.0
privy_flutter: ^0.4.0 copied to clipboard
Privy Flutter SDK enables seamless authentication, wallet management, and identity verification for Flutter apps with native iOS and Android support.
Changelog #
0.4.0 #
Added #
- Email Authentication:
- Added
updateWithCode
method to update user email addresses with OTP verification
- Added
- SMS Authentication:
- Added
linkWithCode
method to link phone numbers to existing user accounts - Added
updateWithCode
method to update user phone numbers with OTP verification
- Added
- Ethereum RPC Request Methods:
- Added
EthereumRpcRequest.personalSign(String message, String address)
for personal message signing - Added
EthereumRpcRequest.secp256k1Sign(String hash)
for secp256k1 signature generation - Added
EthereumRpcRequest.ethSign(String address, String message)
for Ethereum message signing - Added
EthereumRpcRequest.ethSignTypedDataV4(String address, String typedDataJson)
for EIP-712 typed data signing - Added
EthereumRpcRequest.ethSignTransaction(String transactionJson)
for transaction signing - Added
EthereumRpcRequest.ethSendTransaction(String transactionJson)
for direct transaction sending
- Added
0.3.0 #
Added #
- SIWE Authentication:
- Added Sign-In with Ethereum (SIWE) support for iOS and Android
- Added
generateSiweMessage
method to create SIWE messages for wallet signing - Added
loginWithSiwe
method for authenticating users with SIWE signatures
0.2.0 #
Added #
- secp256k1_sign Support:
- Added support for
secp256k1_sign
RPC method in Ethereum wallet provider - Added secp256k1 signing functionality to example app wallet screen
- Added support for
- privy.getUser() Method
Future<PrivyUser?> getUser()
- awaits ready under the hood, then returns user if authenticated
Deprecated #
- eth_sendRawTransaction:
eth_sendRawTransaction
RPC method is deprecated and has been removed in this version.- Use
eth_sendTransaction
instead for sending transactions
- Privy.user
Privy.user
- Devs should useFuture<PrivyUser?> getUser()
instead.
0.1.0 #
Added #
- OAuth Authentication:
- Added Google OAuth login support for iOS and Android
- Added Apple Sign In support for iOS (requires iOS 13.0+)
- Added Twitter OAuth login support for iOS and Android
- Added Discord OAuth login support for iOS and Android
- OAuth redirect handling via custom URL schemes
- getAuthState Method:
- Added
getAuthState
method to retrieve the current authentication state
- Added
Deprecated #
suspend fun awaitReady()
- Devs should usesuspend fun getAuthState(): AuthState
instead.Privy.isReady
Breaking Changes: #
- Email parameter is now required for
loginWithCode
method
0.1.0-beta.1 Unified Wallet Support & Multiple Solana Wallets #
- Breaking Changes:
- Additional AuthState type:
AuthenticatedUnverified
added
- Additional AuthState type:
Added #
- Wallet Management:
- Full unified wallet support across platforms
- Added
createAdditional
parameter to create multiple Solana wallets
0.0.8 Solana Wallet Export & Ethereum Transaction Updates #
0.0.7 iOS SDK Update & User Refresh Function #
0.0.6 iOS SDK Version Update #
0.0.5 iOS SDK Version Update #
0.0.4 Flutter & iOS SDK Compatibility #
0.0.3 Bug Fixes #
Fixed #
- Authentication:
- Fixed issue in
awaitReady
to ensureauthState
properly updates on initialization.
- Fixed issue in
0.0.2 Updates & Enhancements #
0.0.1 Initial Release #
Added #
-
Authentication:
- Login with Phone
- Login with Email
- Login with Custom Auth
-
Embedded Wallets:
- Wallet creation (Ethereum & Solana)
- Automatic wallet recovery
- Signing messages & transactions
- Broadcasting transactions
- Multiple wallet support
-
Platform Support:
- Native integration with iOS & Android SDKs