Skip to content

Commit

Permalink
Merge pull request #707 from plaid/release/11.13.0
Browse files Browse the repository at this point in the history
[Release] - 11.13.0
  • Loading branch information
dtroupe-plaid authored Sep 16, 2024
2 parents 0d203e2 + 14faa1e commit 0d5ccee
Show file tree
Hide file tree
Showing 8 changed files with 105 additions and 27 deletions.
44 changes: 44 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,49 @@
# RELEASES

## LinkKit V11.13.0 — 2024-09-13

### React Native

#### Requirements

This SDK now works with any supported version of React Native.

#### Changes

- Update Android and iOS SDKs.

### Android

Android SDK [4.6.1](https://github.com/plaid/plaid-link-android/releases/tag/v4.6.1)

#### Changes
-

#### Requirements

| Name | Version |
|------|---------|
| Android Studio | 4.0+ |
| Kotlin | 1.8+ |

### iOS

iOS SDK [5.6.1](https://github.com/plaid/plaid-link-ios/releases/tag/5.6.1)

#### Changes

- Add missing event names submitEmail, skipSubmitEmail, rememberMeEnabled, rememberMeDisabled, rememberMeHoldout, selectSavedInstitution, selectSavedAccount, autoSelectSavedInstitution, plaidCheckPane.
- Add missing view names submitEmail and verifyEmail.
- Add haptics support.
- Fix Embedded search view dynamic resizing.

#### Requirements

| Name | Version |
|------|---------|
| Xcode | >= 15.0.1 |
| iOS | >= 14.0 |

## LinkKit V11.12.1 — 2024-08-23

### React Native
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,7 @@ While these older versions are expected to continue to work without disruption,

| Plaid SDK Version | Min React Native Version | Android SDK | Android Min Version | Android Compile Version| iOS SDK | iOS Min Version | Status |
|-------------------|--------------------------|-------------|---------------------|------------------------|---------|-----------------|-------------------------------|
| 11.13.0 | * | [4.6.1+] | 21 | 34 | >=5.6.1 | 14.0 | Active, supports Xcode 15.0.1 |
| 11.12.1 | * | [4.6.0+] | 21 | 34 | >=5.6.0 | 14.0 | Active, supports Xcode 15.0.1 |
| 11.12.0 | * | [4.6.0+] | 21 | 34 | >=5.6.0 | 14.0 | Active, supports Xcode 15.0.1 |
| 11.11.2 | * | [4.5.1+] | 21 | 34 | >=5.6.0 | 14.0 | Active, supports Xcode 15.0.1 |
Expand Down
2 changes: 1 addition & 1 deletion android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ repositories {

dependencies {
implementation "com.facebook.react:react-native:+"
implementation "com.plaid.link:sdk-core:4.6.0"
implementation "com.plaid.link:sdk-core:4.6.1"
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
implementation "com.jakewharton.rxrelay2:rxrelay:2.1.1"
}
2 changes: 1 addition & 1 deletion android/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<application>
<meta-data
android:name="com.plaid.link.react_native"
android:value="11.12.1" />
android:value="11.13.0" />
</application>

</manifest>
24 changes: 23 additions & 1 deletion ios/RNLinksdk.mm
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ @implementation RNLinksdk
RCT_EXPORT_MODULE();

+ (NSString*)sdkVersion {
return @"11.12.1"; // SDK_VERSION
return @"11.13.0"; // SDK_VERSION
}

+ (NSString*)objCBridgeVersion {
Expand Down Expand Up @@ -485,6 +485,24 @@ + (NSString *)stringForEventName:(PLKEventName *)eventName {
return @"LAYER_READY";
case PLKEventNameValueLayerNotAvailable:
return @"LAYER_NOT_AVAILABLE";
case PLKEventNameValueSubmitEmail:
return @"SUBMIT_EMAIL";
case PLKEventNameValueSkipSubmitEmail:
return @"SKIP_SUBMIT_EMAIL";
case PLKEventNameValueRememberMeEnabled:
return @"REMEMBER_ME_ENABLED";
case PLKEventNameValueRememberMeDisabled:
return @"REMEMBER_ME_DISABLED";
case PLKEventNameValueRememberMeHoldout:
return @"REMEMBER_ME_HOLDOUT";
case PLKEventNameValueSelectSavedInstitution:
return @"SELECT_SAVED_INSTITUTION";
case PLKEventNameValueSelectSavedAccount:
return @"SELECT_SAVED_ACCOUNT";
case PLKEventNameValueAutoSelectSavedInstitution:
return @"AUTO_SELECT_SAVED_INSTITUTION";
case PLKEventNameValuePlaidCheckPane:
return @"PLAID_CHECK_PANE";
}
return @"unknown";
}
Expand Down Expand Up @@ -632,6 +650,10 @@ + (NSString *)stringForViewName:(PLKViewName *)viewName {
return @"SELECT_SAVED_ACCOUNT";
case PLKViewNameValueProfileDataReview:
return @"PROFILE_DATA_REVIEW";
case PLKViewNameValueSubmitEmail:
return @"SUBMIT_EMAIL";
case PLKViewNameValueVerifyEmail:
return @"VERIFY_EMAIL";
}

return @"unknown";
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-native-plaid-link-sdk",
"version": "11.12.1",
"version": "11.13.0",
"description": "React Native Plaid Link SDK",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion react-native-plaid-link-sdk.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,5 @@ Pod::Spec.new do |s|
end

s.dependency 'React-Core'
s.dependency 'Plaid', '~> 5.6.0'
s.dependency 'Plaid', '~> 5.6.1'
end
55 changes: 33 additions & 22 deletions src/Types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -438,54 +438,63 @@ export interface LinkEventMetadata {
}

export enum LinkEventName {
BANK_INCOME_INSIGHTS_COMPLETED = "BANK_INCOME_INSIGHTS_COMPLETED",
AUTO_SELECT_SAVED_INSTITUTION = 'AUTO_SELECT_SAVED_INSTITUTION',
BANK_INCOME_INSIGHTS_COMPLETED = 'BANK_INCOME_INSIGHTS_COMPLETED',
CLOSE_OAUTH = 'CLOSE_OAUTH',
CONNECT_NEW_INSTITUTION = 'CONNECT_NEW_INSTITUTION',
ERROR = 'ERROR',
EXIT = 'EXIT',
FAIL_OAUTH = 'FAIL_OAUTH',
HANDOFF = 'HANDOFF',
IDENTITY_VERIFICATION_START_STEP = 'IDENTITY_VERIFICATION_START_STEP',
IDENTITY_VERIFICATION_PASS_STEP = 'IDENTITY_VERIFICATION_PASS_STEP',
IDENTITY_VERIFICATION_FAIL_STEP = 'IDENTITY_VERIFICATION_FAIL_STEP',
IDENTITY_VERIFICATION_PENDING_REVIEW_STEP = 'IDENTITY_VERIFICATION_PENDING_REVIEW_STEP',
IDENTITY_VERIFICATION_PENDING_REVIEW_SESSION = 'IDENTITY_VERIFICATION_PENDING_REVIEW_SESSION',
IDENTITY_VERIFICATION_CLOSE_UI = 'IDENTITY_VERIFICATION_CLOSE_UI',
IDENTITY_VERIFICATION_CREATE_SESSION = 'IDENTITY_VERIFICATION_CREATE_SESSION',
IDENTITY_VERIFICATION_RESUME_SESSION = 'IDENTITY_VERIFICATION_RESUME_SESSION',
IDENTITY_VERIFICATION_PASS_SESSION = 'IDENTITY_VERIFICATION_PASS_SESSION',
IDENTITY_VERIFICATION_FAIL_SESSION = 'IDENTITY_VERIFICATION_FAIL_SESSION',
IDENTITY_VERIFICATION_FAIL_STEP = 'IDENTITY_VERIFICATION_FAIL_STEP',
IDENTITY_VERIFICATION_OPEN_UI = 'IDENTITY_VERIFICATION_OPEN_UI',
IDENTITY_VERIFICATION_PASS_SESSION = 'IDENTITY_VERIFICATION_PASS_SESSION',
IDENTITY_VERIFICATION_PASS_STEP = 'IDENTITY_VERIFICATION_PASS_STEP',
IDENTITY_VERIFICATION_PENDING_REVIEW_SESSION = 'IDENTITY_VERIFICATION_PENDING_REVIEW_SESSION',
IDENTITY_VERIFICATION_PENDING_REVIEW_STEP = 'IDENTITY_VERIFICATION_PENDING_REVIEW_STEP',
IDENTITY_VERIFICATION_RESUME_SESSION = 'IDENTITY_VERIFICATION_RESUME_SESSION',
IDENTITY_VERIFICATION_RESUME_UI = 'IDENTITY_VERIFICATION_RESUME_UI',
IDENTITY_VERIFICATION_CLOSE_UI = 'IDENTITY_VERIFICATION_CLOSE_UI',
LAYER_READY = `LAYER_READY`,
LAYER_NOT_AVAILABLE = `LAYER_NOT_AVAILABLE`,
IDENTITY_VERIFICATION_START_STEP = 'IDENTITY_VERIFICATION_START_STEP',
LAYER_NOT_AVAILABLE = 'LAYER_NOT_AVAILABLE',
LAYER_READY = 'LAYER_READY',
MATCHED_CONSENT = 'MATCHED_CONSENT',
MATCHED_SELECT_INSTITUTION = 'MATCHED_SELECT_INSTITUTION',
MATCHED_SELECT_VERIFY_METHOD = 'MATCHED_SELECT_VERIFY_METHOD',
OPEN = 'OPEN',
OPEN_MY_PLAID = 'OPEN_MY_PLAID',
OPEN_OAUTH = 'OPEN_OAUTH',
PROFILE_ELIGIBILITY_CHECK_READY = 'PROFILE_ELIGIBILITY_CHECK_READY',
PLAID_CHECK_PANE = 'PLAID_CHECK_PANE',
PROFILE_ELIGIBILITY_CHECK_ERROR = 'PROFILE_ELIGIBILITY_CHECK_ERROR',
PROFILE_ELIGIBILITY_CHECK_READY = 'PROFILE_ELIGIBILITY_CHECK_READY',
REMEMBER_ME_DISABLED = 'REMEMBER_ME_DISABLED',
REMEMBER_ME_ENABLED = 'REMEMBER_ME_ENABLED',
REMEMBER_ME_HOLDOUT = 'REMEMBER_ME_HOLDOUT',
SEARCH_INSTITUTION = 'SEARCH_INSTITUTION',
SELECT_AUTH_TYPE = 'SELECT_AUTH_TYPE',
SELECT_BRAND = 'SELECT_BRAND',
SELECT_DEGRADED_INSTITUTION = 'SELECT_DEGRADED_INSTITUTION',
SELECT_DOWN_INSTITUTION = 'SELECT_DOWN_INSTITUTION',
SELECT_FILTERED_INSTITUTION = 'SELECT_FILTERED_INSTITUTION',
SELECT_INSTITUTION = 'SELECT_INSTITUTION',
SELECT_BRAND = 'SELECT_BRAND',
SELECT_AUTH_TYPE = 'SELECT_AUTH_TYPE',
SELECT_SAVED_ACCOUNT = 'SELECT_SAVED_ACCOUNT',
SELECT_SAVED_INSTITUTION = 'SELECT_SAVED_INSTITUTION',
SKIP_SUBMIT_EMAIL = 'SKIP_SUBMIT_EMAIL',
SKIP_SUBMIT_PHONE = 'SKIP_SUBMIT_PHONE',
SUBMIT_ACCOUNT_NUMBER = 'SUBMIT_ACCOUNT_NUMBER',
SUBMIT_CREDENTIALS = 'SUBMIT_CREDENTIALS',
SUBMIT_DOCUMENTS = 'SUBMIT_DOCUMENTS',
SUBMIT_DOCUMENTS_SUCCESS = 'SUBMIT_DOCUMENTS_SUCCESS',
SUBMIT_DOCUMENTS_ERROR = 'SUBMIT_DOCUMENTS_ERROR',
SUBMIT_ROUTING_NUMBER = 'SUBMIT_ROUTING_NUMBER',
VIEW_DATA_TYPES = 'VIEW_DATA_TYPES',
SUBMIT_PHONE = 'SUBMIT_PHONE',
SKIP_SUBMIT_PHONE = 'SKIP_SUBMIT_PHONE',
VERIFY_PHONE = 'VERIFY_PHONE',
SUBMIT_CREDENTIALS = 'SUBMIT_CREDENTIALS',
SUBMIT_DOCUMENTS_SUCCESS = 'SUBMIT_DOCUMENTS_SUCCESS',
SUBMIT_EMAIL = 'SUBMIT_EMAIL',
SUBMIT_MFA = 'SUBMIT_MFA',
SUBMIT_PHONE = 'SUBMIT_PHONE',
SUBMIT_ROUTING_NUMBER = 'SUBMIT_ROUTING_NUMBER',
TRANSITION_VIEW = 'TRANSITION_VIEW',
CONNECT_NEW_INSTITUTION = 'CONNECT_NEW_INSTITUTION',
VERIFY_PHONE = 'VERIFY_PHONE',
VIEW_DATA_TYPES = 'VIEW_DATA_TYPES',
}

export enum LinkEventViewName {
Expand Down Expand Up @@ -513,6 +522,7 @@ export enum LinkEventViewName {
SCREENING = 'SCREENING',
SELECT_ACCOUNT = 'SELECT_ACCOUNT',
SELECT_AUTH_TYPE = 'SELECT_AUTH_TYPE',
SUBMIT_EMAIL = "SUBMIT_EMAIL",
SUBMIT_PHONE = 'SUBMIT_PHONE',
VERIFY_PHONE = 'VERIFY_PHONE',
SELECT_SAVED_INSTITUTION = 'SELECT_SAVED_INSTITUTION',
Expand All @@ -523,6 +533,7 @@ export enum LinkEventViewName {
SUBMIT_DOCUMENTS_SUCCESS = 'SUBMIT_DOCUMENTS_SUCCESS',
SUBMIT_DOCUMENTS_ERROR = 'SUBMIT_DOCUMENTS_ERROR',
UPLOAD_DOCUMENTS = 'UPLOAD_DOCUMENTS',
VERIFY_EMAIL = "VERIFY_EMAIL",
VERIFY_SMS = 'VERIFY_SMS',
}

Expand Down

0 comments on commit 0d5ccee

Please sign in to comment.