搜索插件、代码仓与 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

源码仓库

使用此插件的项目

暂无相关数据。

所在榜单