privy_flutter 0.4.0 copy "privy_flutter: ^0.4.0" to clipboard
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
  • SMS Authentication:
    • Added linkWithCode method to link phone numbers to existing user accounts
    • Added updateWithCode method to update user phone numbers with OTP verification
  • 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

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
  • 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 use Future<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

Deprecated #

  • suspend fun awaitReady() - Devs should use suspend 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

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 #

Updated #

  • Public API:
    • Exposed EmbeddedSolanaWallet object as publicly accessible.

0.0.7 iOS SDK Update & User Refresh Function #

Added #

  • User Management:
    • Added refresh function to PrivyUser that allows developers to directly refresh user data.

Updated #

  • iOS SDK Compatibility:
    • Updated iOS SDK version to 2.0.0-beta.5.

0.0.6 iOS SDK Version Update #

Updated #

  • iOS SDK Compatibility:
    • Updated iOS SDK version to 2.0.0-beta.5.

0.0.5 iOS SDK Version Update #

Updated #

  • iOS SDK Compatibility:
    • Updated iOS SDK version to 2.0.0-beta.4.

0.0.4 Flutter & iOS SDK Compatibility #

Added #

  • Flutter SDK:
    • Added CocoaPods support for easier iOS integration.

Updated #

  • iOS SDK Compatibility:
    • Updated SDK for compatibility with iOS SDK version 2.0.0-beta.3.

0.0.3 Bug Fixes #

Fixed #

  • Authentication:
    • Fixed issue in awaitReady to ensure authState properly updates on initialization.

0.0.2 Updates & Enhancements #

Added #

  • Authentication:
    • Implemented getAccessToken method to retrieve the user's authentication token.

Updated #

  • Native SDK Integration:
    • Added support for getAccessToken call in native iOS & Android SDKs.
    • Refactored native code for improved maintainability and efficiency.

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
3
likes
160
points
1.22k
downloads

Publisher

verified publisherprivy.io

Weekly Downloads

Privy Flutter SDK enables seamless authentication, wallet management, and identity verification for Flutter apps with native iOS and Android support.

Homepage
Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

flutter, plugin_platform_interface, rxdart

More

Packages that depend on privy_flutter

Packages that implement privy_flutter