react-native-plaid-link-sdk 11.13.2 → 11.13.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -184,6 +184,8 @@ While these older versions are expected to continue to work without disruption,
184
184
 
185
185
  | Plaid SDK Version | Min React Native Version | Android SDK | Android Min Version | Android Compile Version| iOS SDK | iOS Min Version | Status |
186
186
  |-------------------|--------------------------|-------------|---------------------|------------------------|---------|-----------------|-------------------------------|
187
+ | 11.13.3 | * | [4.6.1+] | 21 | 34 | >=5.6.1 | 14.0 | Active, supports Xcode 15.0.1 |
188
+ | 11.13.2 | * | [4.6.1+] | 21 | 34 | >=5.6.1 | 14.0 | Active, supports Xcode 15.0.1 |
187
189
  | 11.13.1 | * | [4.6.1+] | 21 | 34 | >=5.6.1 | 14.0 | Active, supports Xcode 15.0.1 |
188
190
  | 11.13.0 | * | [4.6.1+] | 21 | 34 | >=5.6.1 | 14.0 | Active, supports Xcode 15.0.1 |
189
191
  | 11.12.1 | * | [4.6.0+] | 21 | 34 | >=5.6.0 | 14.0 | Active, supports Xcode 15.0.1 |
@@ -1,2 +1,2 @@
1
- #Tue Nov 12 13:40:54 PST 2024
1
+ #Fri Nov 15 14:04:39 PST 2024
2
2
  gradle.version=8.1.1
@@ -4,7 +4,7 @@
4
4
  <application>
5
5
  <meta-data
6
6
  android:name="com.plaid.link.react_native"
7
- android:value="11.13.2" />
7
+ android:value="11.13.3" />
8
8
  </application>
9
9
 
10
10
  </manifest>
@@ -2,20 +2,56 @@
2
2
  #import <folly/dynamic.h>
3
3
  #import <objc/runtime.h>
4
4
 
5
+ // This block checks for the appropriate header file inclusion for the Plaid Link SDK.
6
+ // It handles various project configurations such as the presence of `USE_FRAMEWORKS`
7
+ // and whether the new architecture (`RCT_NEW_ARCH_ENABLED`) is enabled.
8
+
5
9
  #if __has_include(<rnplaidlink/react_native_plaid_link_sdk-Swift.h>)
10
+ // If the header file is available under the rnplaidlink module, include it.
11
+ // This is typically the case when the module is structured with this specific header path.
6
12
  #import <rnplaidlink/react_native_plaid_link_sdk-Swift.h>
13
+
7
14
  #else
8
- #ifdef USE_FRAMEWORKS
15
+ // If the header is not found at the above path, check for other configurations.
16
+ #if defined(RCT_NEW_ARCH_ENABLED) && defined(USE_FRAMEWORKS)
17
+ // Include the header for projects with the new React Native architecture and `use_frameworks!` enabled.
18
+ // This path supports modular builds with frameworks.
9
19
  #import <react_native_plaid_link_sdk/react_native_plaid_link_sdk-Swift.h>
20
+
10
21
  #else
11
- #ifdef RCT_NEW_ARCH_ENABLED
22
+ #ifdef USE_FRAMEWORKS
23
+ // Include the header for projects using frameworks (`use_frameworks!` in the Podfile).
12
24
  #import <react_native_plaid_link_sdk/react_native_plaid_link_sdk-Swift.h>
25
+
13
26
  #else
27
+ // Default to including the header directly for non-framework builds.
14
28
  #import <react_native_plaid_link_sdk-Swift.h>
15
29
  #endif
16
30
  #endif
17
31
  #endif
18
32
 
33
+ /*
34
+
35
+ ### Notes for Developers: If you experience a compiler error above!
36
+
37
+ 1. If you're using frameworks - Ensure your pods are installed with the `USE_FRAMEWORKS=1` environment variable:
38
+ USE_FRAMEWORKS=1 bundle exec pod install
39
+
40
+ 2. Verify that your `Podfile` includes either:
41
+ use_frameworks! :linkage => :dynamic
42
+ or
43
+ use_frameworks! :linkage => :static
44
+
45
+ 3. Refer to these GitHub issues for more details:
46
+ - https://github.com/plaid/react-native-plaid-link-sdk/issues/713
47
+ - https://github.com/plaid/react-native-plaid-link-sdk/issues/732
48
+
49
+ ### Troubleshooting:
50
+ - If `USE_FRAMEWORKS` is not working, ensure it is correctly passed as a preprocessor macro in your Xcode build settings.
51
+ - For new architecture projects, confirm `RCT_NEW_ARCH_ENABLED` is properly set in your environment.
52
+ */
53
+
54
+
19
55
  // copied from RCTFollyConvert
20
56
  folly::dynamic PLKConvertIdToFollyDynamic(id json)
21
57
  {
package/ios/RNLinksdk.mm CHANGED
@@ -28,7 +28,7 @@ static NSString* const kRNLinkKitVersionConstant = @"version";
28
28
  RCT_EXPORT_MODULE();
29
29
 
30
30
  + (NSString*)sdkVersion {
31
- return @"11.13.2"; // SDK_VERSION
31
+ return @"11.13.3"; // SDK_VERSION
32
32
  }
33
33
 
34
34
  + (NSString*)objCBridgeVersion {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-plaid-link-sdk",
3
- "version": "11.13.2",
3
+ "version": "11.13.3",
4
4
  "description": "React Native Plaid Link SDK",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
File without changes