Skip to content

Commit

Permalink
ios: Update LinkKit to 1.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
afh committed Oct 5, 2017
1 parent 7d5a8a2 commit 5855726
Show file tree
Hide file tree
Showing 46 changed files with 95 additions and 7 deletions.
5 changes: 3 additions & 2 deletions LinkKit.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"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.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"
}
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.0.10'
s.version = '1.1.0'

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

Expand Down
18 changes: 18 additions & 0 deletions ios/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,23 @@
# CHANGELOG

## 2017-10-02 — LinkKit 1.1.0
### Added
- Add support for iPhone X
- Allow selecting multiple accounts if the corresponding option is enabled in the [Dashboard](https://dashboard.plaid.com/)
- Add `kPLKMetadataAccountsKey` to `metadata` returned in the `PLKPlaidLinkViewDelegate` methods
- Add `kPLKMetadataLinkSessionIdKey` to `metadata` returned in the `PLKPlaidLinkViewDelegate` methods
- Add APIv2 error codes to the `NSError.userInfo` passed to the `linkViewController:didExitWithError:metadata:` `PLKPlaidLinkViewDelegate` method ([#208](https://github.com/plaid/link/issues/208))
- Extend `PLKPlaidLinkViewDelegate` protocol with `linkViewController:didHandleEvent:metadata`, see https://www.plaid.com/docs/api/#onevent-callback for details.

### Changed
- Automatically select an account if there is only one available
- Replace `kPLKMetadataRequestIdKey` with `kPLKMetadataLinkRequestIdKey` in `metadata` returned in the `PLKPlaidLinkViewDelegate` methods when using APIv1

### Removed
- Remove right `×` exit button from navigation bar on connected pane and select account pane



## 2017-09-04 — LinkKit 1.0.10
### Changed
- Fix issue where an empty select account pane was shown instead of an error message stating that no eligible ACH accounts were available
Expand Down
Binary file modified ios/LinkKit.framework/Assets.car
Binary file not shown.
77 changes: 73 additions & 4 deletions ios/LinkKit.framework/Headers/PLKPlaidLinkViewController.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,18 +26,71 @@ PLK_EXTERN NSString* const kPLKMetadataAccountIdKey;
/// The corresponding value contains a NSDictionary with institution type and identifier.
PLK_EXTERN NSString* const kPLKMetadataInstitutionKey;

/// The corresponding value contains the institution identifier
PLK_EXTERN NSString* const kPLKMetadataInstitutionIdKey;

/// The corresponding value contains the institution name
PLK_EXTERN NSString* const kPLKMetadataInstitutionNameKey;

/// The corresponding value contains the institution type
PLK_EXTERN NSString* const kPLKMetadataInstitutionTypeKey;

/// The corresponding value contains the institution type
PLK_EXTERN NSString* const kPLKMetadataInstitution_TypeKey;

/// The corresponding value indicates the point at which the user exited the Link flow.
PLK_EXTERN NSString* const kPLKMetadataStatusKey;

/// The corresponding value contains
/// The corresponding value contains a unique APIv2 request ID, which can be shared with Plaid Support to expedite investigation.
PLK_EXTERN NSString* const kPLKMetadataRequestIdKey;

/// The corresponding value contains
/// The corresponding value contains a unique Link APIv1 request ID, which can be shared with Plaid Support to expedite investigation.
PLK_EXTERN NSString* const kPLKMetadataLinkRequestIdKey;

/// The corresponding value contains a unique Plaid APIv1 request ID, which can be shared with Plaid Support to expedite investigation.
PLK_EXTERN NSString* const kPLKMetadataPlaidApiRequestIdKey;

/// The corresponding value represents a unique and omnipresent identifier for all actions and events throughout a user's session in Link.
PLK_EXTERN NSString* const kPLKMetadataLinkSessionIdKey;

/// The corresponding value is the error type that the user encountered. See online documentation for details https://www.plaid.com/docs/api/#errors.
PLK_EXTERN NSString* const kPLKMetadataErrorTypeKey;

/// The corresponding value is the error code that the user encountered. See online documentation for details https://www.plaid.com/docs/api/#errors.
PLK_EXTERN NSString* const kPLKMetadataErrorCodeKey;

/// The corresponding value is the error message that the user encountered. See online documentation for details https://www.plaid.com/docs/api/#errors.
PLK_EXTERN NSString* const kPLKMetadataErrorMessageKey;

/// The corresponding value is the query used to search for institutions.
PLK_EXTERN NSString* const kPLKMetadataInstitutionSearchQueryKey;

/// The corresponding value indicates the type of MFA the user has encountered.
PLK_EXTERN NSString* const kPLKMetadataMFATypeKey;

/// The corresponding value is the name of the view on TRANSITION_VIEW events.
PLK_EXTERN NSString* const kPLKMetadataViewNameKey;

/// The corresponding value is a ISO 8601 formatted string representing the time when the event occurred.
PLK_EXTERN NSString* const kPLKMetadataTimestampKey;

/// The corresponding value indicates the point at which the user exited the Link flow.
PLK_EXTERN NSString* const kPLKMetadataExitStatusKey;


/// The corresponding value is a broad categorization of the error.
PLK_EXTERN NSString* const kPLKErrorTypeKey;

/// The corresponding value represents a particular error code.
PLK_EXTERN NSString* const kPLKErrorCodeKey;

/// The corresponding value is a developer-friendly representation of the error code.
PLK_EXTERN NSString* const kPLKErrorMessageKey;

/// The corresponding value is a user-friendly representation of the error code or [NSNull null] if the error is not related to user action.
PLK_EXTERN NSString* const kPLKDisplayMessageKey;


@protocol PLKPlaidLinkViewDelegate;

/**
Expand Down Expand Up @@ -70,7 +123,7 @@ PLK_EMPTY_INIT_UNAVAILABLE;
@param configuration A custom configuration object to use.
@param delegate A delegate object that wishes to receive messages from the inquiry object.
Delegate methods are listed under PLKPlaidLinkViewDelegate.
Delegate methods are listed under PLKPlaidLinkViewDelegate.
@return The initialized Plaid Link view controller object or throws an exception if there was a problem initializing the object.
*/
- (instancetype)initWithConfiguration:(PLKConfiguration*)configuration
Expand Down Expand Up @@ -164,7 +217,7 @@ PLK_EMPTY_INIT_UNAVAILABLE;
@param linkViewController A Plaid Link view controller object informing the delegate about the
successful authentication.
@param publicToken The publicToken
@param publicToken A NSString to send to your app server or use for update mode.
@param metadata A NSDictionary object containing information about the institution that the
user selected and the account if selectAccount was configured.
*/
Expand All @@ -179,13 +232,29 @@ PLK_EMPTY_INIT_UNAVAILABLE;
@param linkViewController A Plaid Link view controller object informing the delegate that the
Link flow was exited
@param error If an error occurred, contains an NSError object that describes the problem, nil otherwise.
The error's userInfo contains entries according to https://plaid.com/docs/api/#errors unless the legacy API is used.
@param metadata A NSDictionary object containing information about the institution that the
user selected and the most recent API request IDs.
Storing this information can be helpful for support.
*/
- (void)linkViewController:(PLKPlaidLinkViewController*)linkViewController
didExitWithError:(NSError* _Nullable)error
metadata:(NSDictionary<NSString*,id>* _Nullable)metadata;

@optional
/**
The delegate method is called when certain events in the Link flow have occurred.
For details about the events see the onEvent documentation:
https://plaid.com/docs/api/#onevent-callback
@param linkViewController A Plaid Link view controller object informing the delegate a certain
event in the Link flow has occurred.
@param event A NSString indicating the type of Link flow event that occurred.
@param metadata A NSDictionary object containing information about the event.
*/
- (void)linkViewController:(PLKPlaidLinkViewController*)linkViewController
didHandleEvent:(NSString*)event
metadata:(NSDictionary<NSString*,id>* _Nullable)metadata;
@end

NS_ASSUME_NONNULL_END
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 modified ios/LinkKit.framework/LinkKit.storyboardc/AccountSelectPane.nib
Binary file not shown.
Binary file modified ios/LinkKit.framework/LinkKit.storyboardc/CredentialPane.nib
Binary file not shown.
Binary file modified ios/LinkKit.framework/LinkKit.storyboardc/CustomInitializer.nib
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 modified ios/LinkKit.framework/LinkKit.storyboardc/InstitutionSelectPane.nib
Binary file not shown.
Binary file modified ios/LinkKit.framework/LinkKit.storyboardc/LoadingPane.nib
Binary file not shown.
Binary file not shown.
Binary file modified ios/LinkKit.framework/LinkKit.storyboardc/MfaCodePane.nib
Binary file not shown.
Binary file modified ios/LinkKit.framework/LinkKit.storyboardc/MfaDevicePane.nib
Binary file not shown.
Binary file modified ios/LinkKit.framework/LinkKit.storyboardc/MfaQuestionPane.nib
Binary file not shown.
Binary file modified ios/LinkKit.framework/LinkKit.storyboardc/MfaSelectionPane.nib
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified ios/LinkKit.framework/LinkKit.storyboardc/RecaptchaPane.nib
Binary file not shown.
Binary file modified ios/LinkKit.framework/LinkKit.storyboardc/ResultPane.nib
Binary file not shown.
Binary file not shown.
Binary file modified ios/LinkKit.framework/LinkKit.storyboardc/SandboxInfo.nib
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.

0 comments on commit 5855726

Please sign in to comment.