Skip to content

Commit

Permalink
version 4.1.0-rc
Browse files Browse the repository at this point in the history
  • Loading branch information
jorgefspereira committed Sep 7, 2024
1 parent 496a6dd commit dd9d669
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 4 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## 4.1.0-rc

* Added submit for the new layer product.
* Adding new two-step loading paradigm where Link is first created and then opened. Should improve loading times.
* Updated Android SDK to 4.6.0

## 4.0.7-rc

* Downgraded dart sdk version
Expand Down
12 changes: 9 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,21 +18,27 @@ Feel free to leave any feedback [here](https://github.com/jorgefspereira/plaid_f

## Requirements

In order to initialize Plaid Link, you will need to create a link_token at [/link/token/create](https://plaid.com/docs/#create-link-token). After generating a link_token, you'll need to pass it into your app and use it to launch Link:
In order to initialize Plaid Link, you will need to create a link_token at [/link/token/create](https://plaid.com/docs/#create-link-token). After generating a link_token, you'll need to pass it into your app and use it to open Link:

``` dart
...
LinkConfiguration configuration = LinkTokenConfiguration(
LinkTokenConfiguration configuration = LinkTokenConfiguration(
token: "<GENERATED_LINK_TOKEN>",
);
PlaidLink.open(configuration: configuration)
/// Creates a internal handler for Plaid Link. A one-time use object used to open a Link session. Should always be called before open.
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](https://plaid.com/docs/#create-link-token) 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](https://plaid.com/docs/upgrade-to-link-tokens/) to upgrade your app to the link_token flow.
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: plaid_flutter
description: Plaid Link for Flutter. Integrates the native iOS, Android and Web SDKs.
version: 4.0.7-rc
version: 4.1.0-rc
homepage: https://github.com/jorgefspereira/plaid_flutter
repository: https://github.com/jorgefspereira/plaid_flutter
issue_tracker: https://github.com/jorgefspereira/plaid_flutter/issues
Expand Down

0 comments on commit dd9d669

Please sign in to comment.