Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Release] - 11.13.3 #733

Merged
merged 1 commit into from
Dec 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
47 changes: 47 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,52 @@
# RELEASES

## LinkKit V11.13.3 — 2024-12-06

### React Native

#### Requirements

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

#### Changes

- Updates to clarify and resolve the following issues:
- [Issue 713](https://github.com/plaid/react-native-plaid-link-sdk/issues/713)
- [Issue 732](https://github.com/plaid/react-native-plaid-link-sdk/issues/732)

### Android

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

#### Changes
- Add BANK_INCOME_INSIGHTS_COMPLETED, SUBMIT_EMAIL, SKIP_SUBMIT_EMAIL, SUBMIT_OTP, REMEMBER_ME_ENABLED, REMEMBER_ME_DISABLED, REMEMBER_ME_DISABLED, REMEMBER_ME_HOLDOUT, PLAID_CHECK_PANE, AUTO_SELECT_SAVED_INSTITUTION event names.
- Add SUBMIT_DOCUMENTS, SUBMIT_DOCUMENTS_SUCCESS, SUBMIT_DOCUMENTS_ERROR, SUBMIT_EMAIL, and VERIFY_EMAIL event view names.

#### 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.13.2 — 2024-11-12

### 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.3 | * | [4.6.1+] | 21 | 34 | >=5.6.1 | 14.0 | Active, supports Xcode 15.0.1 |
| 11.13.2 | * | [4.6.1+] | 21 | 34 | >=5.6.1 | 14.0 | Active, supports Xcode 15.0.1 |
| 11.13.1 | * | [4.6.1+] | 21 | 34 | >=5.6.1 | 14.0 | Active, supports Xcode 15.0.1 |
| 11.13.0 | * | [4.6.1+] | 21 | 34 | >=5.6.1 | 14.0 | Active, supports Xcode 15.0.1 |
Expand Down
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.13.2" />
android:value="11.13.3" />
</application>

</manifest>
40 changes: 38 additions & 2 deletions ios/PLKFabricHelpers.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,56 @@
#import <folly/dynamic.h>
#import <objc/runtime.h>

// This block checks for the appropriate header file inclusion for the Plaid Link SDK.
// It handles various project configurations such as the presence of `USE_FRAMEWORKS`
// and whether the new architecture (`RCT_NEW_ARCH_ENABLED`) is enabled.

#if __has_include(<rnplaidlink/react_native_plaid_link_sdk-Swift.h>)
// If the header file is available under the rnplaidlink module, include it.
// This is typically the case when the module is structured with this specific header path.
#import <rnplaidlink/react_native_plaid_link_sdk-Swift.h>

#else
#ifdef USE_FRAMEWORKS
// If the header is not found at the above path, check for other configurations.
#if defined(RCT_NEW_ARCH_ENABLED) && defined(USE_FRAMEWORKS)
// Include the header for projects with the new React Native architecture and `use_frameworks!` enabled.
// This path supports modular builds with frameworks.
#import <react_native_plaid_link_sdk/react_native_plaid_link_sdk-Swift.h>

#else
#ifdef RCT_NEW_ARCH_ENABLED
#ifdef USE_FRAMEWORKS
// Include the header for projects using frameworks (`use_frameworks!` in the Podfile).
#import <react_native_plaid_link_sdk/react_native_plaid_link_sdk-Swift.h>

#else
// Default to including the header directly for non-framework builds.
#import <react_native_plaid_link_sdk-Swift.h>
#endif
#endif
#endif

/*

### Notes for Developers: If you experience a compiler error above!

1. If you're using frameworks - Ensure your pods are installed with the `USE_FRAMEWORKS=1` environment variable:
USE_FRAMEWORKS=1 bundle exec pod install

2. Verify that your `Podfile` includes either:
use_frameworks! :linkage => :dynamic
or
use_frameworks! :linkage => :static

3. Refer to these GitHub issues for more details:
- https://github.com/plaid/react-native-plaid-link-sdk/issues/713
- https://github.com/plaid/react-native-plaid-link-sdk/issues/732

### Troubleshooting:
- If `USE_FRAMEWORKS` is not working, ensure it is correctly passed as a preprocessor macro in your Xcode build settings.
- For new architecture projects, confirm `RCT_NEW_ARCH_ENABLED` is properly set in your environment.
*/


// copied from RCTFollyConvert
folly::dynamic PLKConvertIdToFollyDynamic(id json)
{
Expand Down
2 changes: 1 addition & 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.13.2"; // SDK_VERSION
return @"11.13.3"; // SDK_VERSION
}

+ (NSString*)objCBridgeVersion {
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.13.2",
"version": "11.13.3",
"description": "React Native Plaid Link SDK",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand Down
Loading