Skip to content
This repository has been archived by the owner on Feb 18, 2022. It is now read-only.

Commit

Permalink
ios: Update LinkKit to 1.1.15 (#32)
Browse files Browse the repository at this point in the history
  • Loading branch information
afh authored and GitHub Enterprise committed Feb 5, 2019
1 parent 52b64d6 commit 58926e7
Show file tree
Hide file tree
Showing 185 changed files with 656 additions and 81 deletions.
53 changes: 27 additions & 26 deletions LinkKit.json
Original file line number Diff line number Diff line change
@@ -1,28 +1,29 @@
{
"1.0.0": "https://github.com/plaid/link/releases/download/ios/1.0.0/LinkKit.framework.zip",
"1.0.1": "https://github.com/plaid/link/releases/download/ios/1.0.1/LinkKit.framework.zip",
"1.0.2": "https://github.com/plaid/link/releases/download/ios/1.0.2/LinkKit.framework.zip",
"1.0.3": "https://github.com/plaid/link/releases/download/ios/1.0.3/LinkKit.framework.zip",
"1.0.4": "https://github.com/plaid/link/releases/download/ios/1.0.4/LinkKit.framework.zip",
"1.0.5": "https://github.com/plaid/link/releases/download/ios/1.0.5/LinkKit.framework.zip",
"1.0.6": "https://github.com/plaid/link/releases/download/ios/1.0.6/LinkKit.framework.zip",
"1.0.7": "https://github.com/plaid/link/releases/download/ios/1.0.7/LinkKit.framework.zip",
"1.0.8": "https://github.com/plaid/link/releases/download/ios/1.0.8/LinkKit.framework.zip",
"1.0.9": "https://github.com/plaid/link/releases/download/ios/1.0.9/LinkKit.framework.zip",
"1.0.10": "https://github.com/plaid/link/releases/download/ios/1.0.10/LinkKit.framework.zip",
"1.1.0": "https://github.com/plaid/link/releases/download/ios/1.1.0/LinkKit.framework.zip",
"1.1.1": "https://github.com/plaid/link/releases/download/ios/1.1.1/LinkKit.framework.zip",
"1.1.2": "https://github.com/plaid/link/releases/download/ios/1.1.2/LinkKit.framework.zip",
"1.1.3": "https://github.com/plaid/link/releases/download/ios/1.1.3/LinkKit.framework.zip",
"1.1.4": "https://github.com/plaid/link/releases/download/ios/1.1.4/LinkKit.framework.zip",
"1.1.5": "https://github.com/plaid/link/releases/download/ios/1.1.5/LinkKit.framework.zip",
"1.1.6": "https://github.com/plaid/link/releases/download/ios/1.1.6/LinkKit.framework.zip",
"1.1.7": "https://github.com/plaid/link/releases/download/ios/1.1.7/LinkKit.framework.zip",
"1.1.8": "https://github.com/plaid/link/releases/download/ios/1.1.8/LinkKit.framework.zip",
"1.1.9": "https://github.com/plaid/link/releases/download/ios/1.1.9/LinkKit.framework.zip",
"1.1.10": "https://github.com/plaid/link/releases/download/ios/1.1.10/LinkKit.framework.zip",
"1.1.11": "https://github.com/plaid/link/releases/download/ios/1.1.11/LinkKit.framework.zip",
"1.1.12": "https://github.com/plaid/link/releases/download/ios/1.1.12/LinkKit.framework.zip",
"1.1.13": "https://github.com/plaid/link/releases/download/ios/1.1.13/LinkKit.framework.zip",
"1.1.14": "https://github.com/plaid/link/releases/download/ios/1.1.14/LinkKit.framework.zip"
"1.0.0": "https://github.com/plaid/link/releases/download/ios/1.0.0/LinkKit.framework.zip",
"1.0.1": "https://github.com/plaid/link/releases/download/ios/1.0.1/LinkKit.framework.zip",
"1.0.2": "https://github.com/plaid/link/releases/download/ios/1.0.2/LinkKit.framework.zip",
"1.0.3": "https://github.com/plaid/link/releases/download/ios/1.0.3/LinkKit.framework.zip",
"1.0.4": "https://github.com/plaid/link/releases/download/ios/1.0.4/LinkKit.framework.zip",
"1.0.5": "https://github.com/plaid/link/releases/download/ios/1.0.5/LinkKit.framework.zip",
"1.0.6": "https://github.com/plaid/link/releases/download/ios/1.0.6/LinkKit.framework.zip",
"1.0.7": "https://github.com/plaid/link/releases/download/ios/1.0.7/LinkKit.framework.zip",
"1.0.8": "https://github.com/plaid/link/releases/download/ios/1.0.8/LinkKit.framework.zip",
"1.0.9": "https://github.com/plaid/link/releases/download/ios/1.0.9/LinkKit.framework.zip",
"1.0.10": "https://github.com/plaid/link/releases/download/ios/1.0.10/LinkKit.framework.zip",
"1.1.0": "https://github.com/plaid/link/releases/download/ios/1.1.0/LinkKit.framework.zip",
"1.1.1": "https://github.com/plaid/link/releases/download/ios/1.1.1/LinkKit.framework.zip",
"1.1.2": "https://github.com/plaid/link/releases/download/ios/1.1.2/LinkKit.framework.zip",
"1.1.3": "https://github.com/plaid/link/releases/download/ios/1.1.3/LinkKit.framework.zip",
"1.1.4": "https://github.com/plaid/link/releases/download/ios/1.1.4/LinkKit.framework.zip",
"1.1.5": "https://github.com/plaid/link/releases/download/ios/1.1.5/LinkKit.framework.zip",
"1.1.6": "https://github.com/plaid/link/releases/download/ios/1.1.6/LinkKit.framework.zip",
"1.1.7": "https://github.com/plaid/link/releases/download/ios/1.1.7/LinkKit.framework.zip",
"1.1.8": "https://github.com/plaid/link/releases/download/ios/1.1.8/LinkKit.framework.zip",
"1.1.9": "https://github.com/plaid/link/releases/download/ios/1.1.9/LinkKit.framework.zip",
"1.1.10": "https://github.com/plaid/link/releases/download/ios/1.1.10/LinkKit.framework.zip",
"1.1.11": "https://github.com/plaid/link/releases/download/ios/1.1.11/LinkKit.framework.zip",
"1.1.12": "https://github.com/plaid/link/releases/download/ios/1.1.12/LinkKit.framework.zip",
"1.1.13": "https://github.com/plaid/link/releases/download/ios/1.1.13/LinkKit.framework.zip",
"1.1.14": "https://github.com/plaid/link/releases/download/ios/1.1.14/LinkKit.framework.zip",
"1.1.15": "https://github.com/plaid/link/releases/download/ios/1.1.15/LinkKit.framework.zip"
}
2 changes: 1 addition & 1 deletion Plaid.podspec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Pod::Spec.new do |s|
s.name = 'Plaid'
s.module_name = 'LinkKit'
s.version = '1.1.14'
s.version = '1.1.15'

s.summary = 'The official Plaid Link SDK for iOS.'

Expand Down
18 changes: 17 additions & 1 deletion ios/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,25 @@
# CHANGELOG

## 2019-02-05 — LinkKit 1.1.15
### Added
- Add support for the latest [Auth features](https://blog.plaid.com/new-auth). Read the [blog post](https://blog.plaid.com/new-auth), and reach out to [email protected] to enable your account and begin testing
- Add haptic feedback for selection changes and validation errors
- Add account number confirmation step when asking the end-user to enter their account and routing number
- Add retry for account routing number entry

### Changed
- Improve account routing number messaging on validation errors
- Improve VoiceOver support
- Fix unknown account subtype in metadata in the `PLKPlaidLinkViewDelegate` calls ([#294](https://github.com/plaid/link/issues/294))
- Fix multiple account selection indicator
- Fix grammar and spelling mistakes in header comments



## 2018-12-17 — LinkKit 1.1.14
### Changed
- Fix access for optional `webhook` and `clientName` configuration properties ([#284](https://github.com/plaid/link/issues/284))
- Improve compatability with iOS 8
- Improve compatibility with iOS 8



Expand Down
Binary file modified ios/LinkKit.framework/Assets.car
Binary file not shown.
8 changes: 7 additions & 1 deletion ios/LinkKit.framework/Headers/PLKConfiguration.h
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ static PLKAPIVersion kPLKAPIVersionDefault = PLKAPIv2;
/// Returns PLKAPIVersion corresponding to the data in the given string or -1 if the string contained invalid api version data.
PLK_EXTERN PLKAPIVersion PLKAPIVersionFromString(NSString* apiVersion);

/// Returns PLKPorduct corresponding to the data in the given string or -1 contained invalid product data.
/// Returns PLKProduct corresponding to the data in the given string or -1 contained invalid product data.
PLK_EXTERN PLKProduct PLKProductFromArray(NSArray<NSString*>* array);

/// Returns PLKEnvironment corresponding to the data in the given string or -1 contained invalid environment data.
Expand Down Expand Up @@ -122,6 +122,12 @@ PLK_EXTERN NSString* const kPLKCustomizationExitButtonKey;
*/
@property (copy,nonatomic) NSURL* _Nullable webhook;

/// The legal name of the end-user, necessary for microdeposit support.
@property (copy,nonatomic) NSString* _Nullable userLegalName;

/// The email address of the end-user, necessary for microdeposit support.
@property (copy,nonatomic) NSString* _Nullable userEmailAddress;

/// Whether support for longtailAuth institutions should be enabled.
@property (readonly) BOOL longtailAuth;

Expand Down
16 changes: 11 additions & 5 deletions ios/LinkKit.framework/Headers/PLKConstants.h
Original file line number Diff line number Diff line change
Expand Up @@ -49,19 +49,19 @@ typedef NS_OPTIONS(NSInteger, PLKProduct) {
/// User completed the Link flow.
PLK_EXTERN NSString* const kPLKStatusConnected;

/// User prompted to answer security question(s).
/// User was prompted to answer security question(s).
PLK_EXTERN NSString* const kPLKStatusRequiresQuestions;

/// User prompted to answer multiple choice question(s).
/// User was prompted to answer multiple choice question(s).
PLK_EXTERN NSString* const kPLKStatusRequiresSelections;

/// User prompted to provide a one-time passcode.
/// User was prompted to provide a one-time passcode.
PLK_EXTERN NSString* const kPLKStatusRequiresCode;

/// User prompted to select a device on which to receive a one-time passcode.
/// User was prompted to select a device on which to receive a one-time passcode.
PLK_EXTERN NSString* const kPLKStatusChooseDevice;

/// User prompted to provide credentials for the selected financial institution or
/// User was prompted to provide credentials for the selected financial institution or
/// has not yet selected a financial institution.
PLK_EXTERN NSString* const kPLKStatusRequiresCredentials;

Expand All @@ -72,6 +72,12 @@ PLK_EXTERN NSString* const kPLKStatusRequiresRecaptcha;
/// a financial institution.
PLK_EXTERN NSString* const kPLKStatusInstitutionNotFound;

/// User was prompted to verify micro-deposits.
PLK_EXTERN NSString* const kPLKStatusRequiresMicrodepositsVerification;

/// User was prompted to verify account and routing number.
PLK_EXTERN NSString* const kPLKStatusRequiresNumbersVerification;

/// Use this key to obtain the identifier of a Link internal error
/// from the NSError's userInfo passed to the PLKPlaidLinkViewDelegate
/// in the linkViewController:didExitWithError:metadata: delegate method.
Expand Down
15 changes: 15 additions & 0 deletions ios/LinkKit.framework/Headers/PLKPlaidLinkViewController.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,21 @@ PLK_EXTERN NSString* const kPLKMetadataAccountsKey;
/// The corresponding value contains the identifier for the account.
PLK_EXTERN NSString* const kPLKMetadataAccountIdKey;

/// The corresponding value contains the verification status of the account when using micro-deposit based verification.
PLK_EXTERN NSString* const kPLKMetadataAccountVerificationStatusKey;

/// The value indicates that the account is pending manual verification via micro-deposits.
PLK_EXTERN NSString* const kPLKMetadataAccountVerificationStatusPendingManualVerification;

/// The value indicates that the account is pending automatic verification via micro-deposits.
PLK_EXTERN NSString* const kPLKMetadataAccountVerificationStatusPendingAutomaticVerification;

/// The value indicates that the account has been verified using manual verification via micro-deposits.
PLK_EXTERN NSString* const kPLKMetadataAccountVerificationStatusManuallyVerified;

/// The value indicates that the account has been verified using automatic verification via micro-deposits.
PLK_EXTERN NSString* const kPLKMetadataAccountVerificationStatusAutomaticallyVerified;

/// The corresponding value contains a NSDictionary with the name and identifier of the institution.
PLK_EXTERN NSString* const kPLKMetadataInstitutionKey;

Expand Down
Binary file modified ios/LinkKit.framework/Info.plist
Binary file not shown.
Binary file modified ios/LinkKit.framework/LinkKit
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified ios/LinkKit.framework/LinkKit.storyboardc/Info.plist
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
18 changes: 10 additions & 8 deletions react-native/README.md
Original file line number Diff line number Diff line change
@@ -1,22 +1,24 @@
# React Native for Plaid Link (iOS)

⚛︎📱 This repository contains sample code that demonstrate integration and use of Plaid Link using React Native.
Currently only iOS supported.
⚛︎📱 This repository contains sample code that demonstrates integration and use of Plaid Link using React Native.
Currently only iOS is supported.

:warning: Note that this is the React Native bridge for Link officially supported by Plaid, but is very different
from the module with the same name available on [npmjs](https://www.npmjs.com/package/react-native-plaid-link);
we strongly recommend favoring this React Native bridge.

## Prerequisites

To follow the steps in this example the following software is needed
To complete the steps in this example the following software is needed:

* [Xcode](https://developer.apple.com/xcode/)
* [yarn](https://yarnpkg.com/) (to install yarn on macOS we suggest using nvm: `brew install nvm; nvm install 8; nvm use 8; npm -g install yarn`)
* [yarn](https://yarnpkg.com/) (we recomment using nvm to install yarn on macOS: `brew install nvm; nvm install 8; nvm use 8; npm -g install yarn`)

## Using React Native for Plaid Link

* Clone the [Plaid Link](https://github.com/plaid/link) repository
* Register the `react-native-plaid-link` component with yarn:
`(cd link/react-native/linkkit; yarn link)`
* Link the newly registered `react-native-plaid-link` component with your react-native project and install the needed dependencies:
`(cd $PATH_TO_YOUR_REACT_NATIVE_PROJECT;yarn link react-native-plaid-link; yarn install)`
* Add this `react-native-plaid-link` component to your react-native project and install the necessary dependencies:
`(cd $PATH_TO_YOUR_REACT_NATIVE_PROJECT;yarn add file:$PATH_TO_YOUR_CLONE_OF_THIS_REPO/react-native-plaid-link; yarn install)`
* In your `App.js` import Plaid Link using:
`import PlaidLink from 'react-native-plaid-link';`
* Create a `linkHandler` object (we recommend doing so in `componentDidMount()`) and replace any of the placeholder `<#VARIABLE#>`s in the example below according to your setup (for details see the [Plaid Link documentation](https://plaid.com/docs/quickstart/#client-side-link-configuration)):
Expand Down
2 changes: 2 additions & 0 deletions react-native/demo/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ export default class App extends Component<Props> {
env: '<#ENVIRONMENT#>',
product: ['<#PRODUCT#>'],
clientName: '<#CLIENT NAME#>',
//userLegalName: '<#USER_LEGAL_NAME#>',
//userEmailAddress: '<#USER_EMAIL_ADDRESS#>',
//publicToken: '<#PUBLIC_TOKEN#>,
//selectAccount': true,
onSuccess: this.onSuccess,
Expand Down
Loading

0 comments on commit 58926e7

Please sign in to comment.