搜尋套件、儲存庫與 APP 分類

plaid_flutter 封面
套件詳情v5.2.1

plaid_flutter

適用於 Flutter 的 Plaid Link。整合原生 iOS、Android 與 Web SDK。

AndroidiOSWeb
近 30 天下載
16.5萬
喜歡數
91
Pub 分數
140

安裝套件

flutter pub add plaid_flutter

套件介紹

根據套件公開資料產生的選型評估,僅供參考。

Plaid Flutter 是一個 Flutter 套件,整合了 Plaid 的原生 SDK(適用於 iOS、Android 和 Web),可在 Flutter 應用中實現無縫的金融資料存取。它提供統一介面,透過 Plaid Link 連接銀行帳戶、取得交易資料並驗證身分。該套件透過抽象平台特定的實作來簡化整合過程,同時維持原生效能與安全性標準。開發者可利用 Plaid 強大的基礎架構,在多個平台實現身分驗證、收入確認與帳戶聚合。

適用情境

  • 銀行帳戶連結
  • 交易數據檢索
  • 身份驗證
  • 收入驗證
  • 財務帳戶聚合
  • 即時餘額更新

主要特色

  • 原生 iOS 與 Android SDK 集成
  • 透過 Plaid Link 實現 Web 支援
  • 統一的 Flutter API
  • 安全的認證流程
  • 跨平台一致性
  • 即時資料同步

適合對象

  • 金融科技應用
  • 預算工具
  • 借貸平台
  • 支付處理系統
  • 財富管理應用
  • 費用追蹤應用程式

使用建議

  • 需要 Plaid 帳戶和 API 密鑰
  • 平台特定的權限需要
  • 連結 UI 的自定義選項有限
  • 取決於 Plaid 的服務可用性
  • 初始連接期間的潛在延遲
  • 符合金融數據法規

原始 README

以下為關聯原始碼儲存庫的 README 原文快照,最新內容請造訪原始碼儲存庫。

Plaid Link for Flutter

pub likes downloads donate

A Flutter plugin for Plaid Link.

This plugin integrates the native SDKs:

Feel free to leave any feedback here.

Requirements

In order to initialize Plaid Link, you will need to create a link_token at /link/token/create. After generating a link_token, you'll need to pass it into your app and use it to open Link:

...

LinkTokenConfiguration _configuration = LinkTokenConfiguration(
    token: "<GENERATED_LINK_TOKEN>",
);

// Create the internal handler for Plaid Link.
// This is a one-time use object that opens a Link session.
// Must be called before `open()`.
// Completes when Plaid is ready to open, or throws an error if setup fails.
await PlaidLink.create(configuration: _configuration);

/// Open Plaid Link by calling open on the handler.
PlaidLink.open();

...

Note that each time you open Link, you will need to get a new link_token from your server and create a new LinkTokenConfiguration with it.

A link_token can be configured for different Link flows depending on the fields provided during token creation. It is the preferred way of initializing Link going forward. You will need to pass in most of your Link configurations server-side in the /link/token/create endpoint rather than client-side where they previously existed.

If your integration is still using a public_key to initialize Plaid Link, the LinkConfiguration class has support for it. Check the migration guide to upgrade your app to the link_token flow.

Installation

Add plaid_flutter as a dependency in your pubspec.yaml file.

iOS

Requirements
Name Version
Xcode >= 16.1.0
iOS >= 14.0
(Identity Verification only) - Enable camera support

When using the Identity Verification product, the Link SDK may use the camera if a user needs to take a picture of identity documentation. To support this workflow, add a NSCameraUsageDescription entry to your ios/Runner/Info.plist with an informative string.

OAuth configuration

If your integration uses only Identity Verification or Monitor, this steps can be skipped; they are mandatory otherwise.

Registering your redirect URI:

  • Sign in to the Plaid Dashboard and go to the Team Settings -> API page.
  • Next to Allowed redirect URIs click Configure then Add New URI.
  • Enter your redirect URI, which you must also set up as a Universal Link for your application, for example: https://app.example.com/plaid/.
  • Click Save Changes

These redirect URIs must be set up as Universal Links in your application.

More info at https://plaid.com/docs/link/ios.

Android

Requirements
Gradle Configuration

Go to the project level android/app/build.gradle and make sure you are using a minSdk >= 21

(Identity Verification only) - Enable camera support

If your app uses Identity Verification, a user may need to take a picture of identity documentation or a selfie during the Link flow. To support this workflow, the CAMERA, WRITE_EXTERNAL_STORAGE, RECORD_AUDIO, and MODIFY_AUDIO_SETTINGS permissions need to be added to your application's AndroidManifest.xml.

Register your App ID
  • Sign in to the Plaid Dashboard and go to the Team Settings -> API page.
  • Next to Allowed Android Package Names click Configure then Add New Android Package Name.
  • Enter your package name, for example com.plaid.example.
  • Click Save Changes.

More info at https://plaid.com/docs/link/android.

Web

Requirements

Include the Plaid Link initialize script on your main HTML page.


<script src="https://cdn.plaid.com/link/v2/stable/link-initialize.js"></script>

More info at https://plaid.com/docs/link/web.

所屬分類

依賴

依賴清單 1 項

  • plugin_platform_interface^2.1.2

原始碼儲存庫

使用此套件的專案

暫無相關資料。

所在榜單