react-native-plaid-link-sdk 11.12.0 → 11.12.1

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
@@ -35,6 +35,10 @@ npm install --save react-native-plaid-link-sdk
35
35
 
36
36
  Add `Plaid` to your project’s Podfile as follows (likely located at `ios/Podfile`). The latest version is ![version](https://img.shields.io/cocoapods/v/Plaid).
37
37
 
38
+ ```bash switcher=false
39
+ pod 'Plaid', '~> <insert latest version>'
40
+ ```
41
+
38
42
  Autolinking should install the CocoaPods dependencies for iOS project. If it fails you can run
39
43
 
40
44
  ```sh
@@ -49,6 +53,7 @@ cd ios && bundle install && bundle exec pod install
49
53
 
50
54
  AutoLinking should handle all of the Android setup.
51
55
 
56
+ Remember to register your Android package name in the [Dashboard](https://dashboard.plaid.com/developers/api). This is required in order to connect to OAuth institutions (which includes most major banks).
52
57
 
53
58
  ### React Native Setup
54
59
 
@@ -179,6 +184,7 @@ While these older versions are expected to continue to work without disruption,
179
184
 
180
185
  | Plaid SDK Version | Min React Native Version | Android SDK | Android Min Version | Android Compile Version| iOS SDK | iOS Min Version | Status |
181
186
  |-------------------|--------------------------|-------------|---------------------|------------------------|---------|-----------------|-------------------------------|
187
+ | 11.12.1 | * | [4.6.0+] | 21 | 34 | >=5.6.0 | 14.0 | Active, supports Xcode 15.0.1 |
182
188
  | 11.12.0 | * | [4.6.0+] | 21 | 34 | >=5.6.0 | 14.0 | Active, supports Xcode 15.0.1 |
183
189
  | 11.11.2 | * | [4.5.1+] | 21 | 34 | >=5.6.0 | 14.0 | Active, supports Xcode 15.0.1 |
184
190
  | 11.11.1 | * | [4.5.1+] | 21 | 34 | >=5.6.0 | 14.0 | Active, supports Xcode 15.0.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.12.0" />
7
+ android:value="11.12.1" />
8
8
  </application>
9
9
 
10
10
  </manifest>
@@ -18,6 +18,12 @@ using namespace facebook::react;
18
18
  PLKEmbeddedView *_view;
19
19
  }
20
20
 
21
+ // Needed because of this: https://github.com/facebook/react-native/pull/37274
22
+ + (void)load
23
+ {
24
+ [super load];
25
+ }
26
+
21
27
  - (instancetype)initWithFrame:(CGRect)frame
22
28
  {
23
29
  if (self = [super initWithFrame:frame]) {
@@ -5,8 +5,12 @@
5
5
  #if __has_include(<rnplaidlink/react_native_plaid_link_sdk-Swift.h>)
6
6
  #import <rnplaidlink/react_native_plaid_link_sdk-Swift.h>
7
7
  #else
8
+ #ifdef USE_FRAMEWORKS
9
+ #import <react_native_plaid_link_sdk/react_native_plaid_link_sdk-Swift.h>
10
+ #else
8
11
  #import <react_native_plaid_link_sdk-Swift.h>
9
12
  #endif
13
+ #endif
10
14
 
11
15
  // copied from RCTFollyConvert
12
16
  folly::dynamic PLKConvertIdToFollyDynamic(id json)
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.12.0"; // SDK_VERSION
31
+ return @"11.12.1"; // 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.12.0",
3
+ "version": "11.12.1",
4
4
  "description": "React Native Plaid Link SDK",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -21,6 +21,13 @@ Pod::Spec.new do |s|
21
21
  # we don't want this to be seen by Swift
22
22
  s.private_header_files = 'ios/PLKFabricHelpers.h'
23
23
 
24
+ if ENV['USE_FRAMEWORKS'] == '1'
25
+ s.pod_target_xcconfig = {
26
+ "OTHER_CFLAGS" => "$(inherited) -DUSE_FRAMEWORKS",
27
+ "OTHER_CPLUSPLUSFLAGS" => "$(inherited) -DUSE_FRAMEWORKS",
28
+ }
29
+ end
30
+
24
31
  if fabric_enabled
25
32
  install_modules_dependencies(s)
26
33
  else