react-native-plaid-link-sdk 11.0.3 → 11.1.0
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 +11 -1
- package/android/.gradle/7.4.2/checksums/checksums.lock +0 -0
- package/android/.gradle/7.4.2/checksums/md5-checksums.bin +0 -0
- package/android/.gradle/7.4.2/checksums/sha1-checksums.bin +0 -0
- package/android/src/main/AndroidManifest.xml +1 -1
- package/dist/PlaidLink.js +4 -3
- package/dist/Types.d.ts +1 -1
- package/ios/RNLinksdk.m +1 -1
- package/package.json +1 -1
- package/react-native-plaid-link-sdk.podspec +2 -2
- package/android/.gradle/6.9/executionHistory/executionHistory.bin +0 -0
- package/android/.gradle/6.9/executionHistory/executionHistory.lock +0 -0
- package/android/.gradle/6.9/fileChanges/last-build.bin +0 -0
- package/android/.gradle/6.9/fileHashes/fileHashes.bin +0 -0
- package/android/.gradle/6.9/fileHashes/fileHashes.lock +0 -0
- package/android/.gradle/6.9/fileHashes/resourceHashesCache.bin +0 -0
- package/android/.gradle/6.9/gc.properties +0 -0
- package/android/.gradle/6.9/javaCompile/classAnalysis.bin +0 -0
- package/android/.gradle/6.9/javaCompile/jarAnalysis.bin +0 -0
- package/android/.gradle/6.9/javaCompile/javaCompile.lock +0 -0
- package/android/.gradle/6.9/javaCompile/taskHistory.bin +0 -0
package/README.md
CHANGED
|
@@ -67,7 +67,8 @@ const MyPlaidComponent = () => {
|
|
|
67
67
|
token: "#GENERATED_LINK_TOKEN#",
|
|
68
68
|
// OPTIONAL - log level.
|
|
69
69
|
logLevel: LinkLogLevel.ERROR,
|
|
70
|
-
// OPTIONAL -
|
|
70
|
+
// OPTIONAL - A `Bool` indicating that Link should skip displaying a loading animation until the Link UI is fully loaded.
|
|
71
|
+
// See Types.ts for more information.
|
|
71
72
|
noLoadingState: false,
|
|
72
73
|
}}
|
|
73
74
|
onSuccess={(success: LinkSuccess) => { console.log(success) }}
|
|
@@ -143,6 +144,14 @@ You can also use the `usePlaidEmitter` hook in react functional components:
|
|
|
143
144
|
})
|
|
144
145
|
```
|
|
145
146
|
|
|
147
|
+
## Upgrading
|
|
148
|
+
|
|
149
|
+
Plaid releases updates to the SDK approximately every few months. For the best user experience, we recommend using the latest version of the SDK.
|
|
150
|
+
|
|
151
|
+
Major SDK versions are released annually. SDK versions are supported for two years; with each major SDK release, Plaid will stop officially supporting any previous SDK versions that are more than two years old.
|
|
152
|
+
|
|
153
|
+
While these older versions are expected to continue to work without disruption, Plaid will not provide assistance with unsupported SDK versions.
|
|
154
|
+
|
|
146
155
|
## Version compatibility
|
|
147
156
|
|
|
148
157
|
| Plaid SDK Version | Min React Native Version | Android SDK | Android Min Version | Android Compile Version| iOS SDK | iOS Min Version | Status |
|
|
@@ -151,6 +160,7 @@ You can also use the `usePlaidEmitter` hook in react functional components:
|
|
|
151
160
|
| 11.0.2 | * | [4.0.0+] | 21 | 33 | >=5.0.0 | 14.0 | Active, supports Xcode 15.0.1 |
|
|
152
161
|
| 11.0.1 | * | [4.0.0+] | 21 | 33 | >=5.0.0 | 14.0 | Active, supports Xcode 15.0.1 |
|
|
153
162
|
| 11.0.0 | * | [4.0.0+] | 21 | 33 | >=5.0.0 | 14.0 | Active, supports Xcode 15.0.1 |
|
|
163
|
+
| 10.9.1 | >= 0.66.0 | [3.14.1+] | 21 | 33 | >=4.7.0 | 11.0 | Active, supports Xcode 14 |
|
|
154
164
|
| 10.9.0 | >= 0.66.0 | [3.14.1+] | 21 | 33 | >=4.7.0 | 11.0 | Active, supports Xcode 14 |
|
|
155
165
|
| 10.8.0 | >= 0.66.0 | [3.14.0+] | 21 | 33 | >=4.7.0 | 11.0 | Active, supports Xcode 14 |
|
|
156
166
|
| 10.7.0 | >= 0.66.0 | [3.14.0+] | 21 | 33 | >=4.6.4 | 11.0 | Active, supports Xcode 14 |
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/dist/PlaidLink.js
CHANGED
|
@@ -29,10 +29,11 @@ export const usePlaidEmitter = (LinkEventListener) => {
|
|
|
29
29
|
}, []);
|
|
30
30
|
};
|
|
31
31
|
export const openLink = (props) => __awaiter(void 0, void 0, void 0, function* () {
|
|
32
|
-
var _a;
|
|
32
|
+
var _a, _b;
|
|
33
33
|
let config = props.tokenConfig;
|
|
34
|
+
let noLoadingState = (_a = config.noLoadingState) !== null && _a !== void 0 ? _a : false;
|
|
34
35
|
if (Platform.OS === 'android') {
|
|
35
|
-
NativeModules.PlaidAndroid.startLinkActivityForResult(config.token,
|
|
36
|
+
NativeModules.PlaidAndroid.startLinkActivityForResult(config.token, noLoadingState, (_b = config.logLevel) !== null && _b !== void 0 ? _b : LinkLogLevel.ERROR, (result) => {
|
|
36
37
|
if (props.onSuccess != null) {
|
|
37
38
|
props.onSuccess(result);
|
|
38
39
|
}
|
|
@@ -47,7 +48,7 @@ export const openLink = (props) => __awaiter(void 0, void 0, void 0, function* (
|
|
|
47
48
|
});
|
|
48
49
|
}
|
|
49
50
|
else {
|
|
50
|
-
NativeModules.RNLinksdk.create(config.token,
|
|
51
|
+
NativeModules.RNLinksdk.create(config.token, noLoadingState);
|
|
51
52
|
let presentFullScreen = props.iOSPresentationStyle == LinkIOSPresentationStyle.FULL_SCREEN;
|
|
52
53
|
NativeModules.RNLinksdk.open(presentFullScreen, (result) => {
|
|
53
54
|
if (props.onSuccess != null) {
|
package/dist/Types.d.ts
CHANGED
package/ios/RNLinksdk.m
CHANGED
package/package.json
CHANGED
|
@@ -10,11 +10,11 @@ Pod::Spec.new do |s|
|
|
|
10
10
|
|
|
11
11
|
s.authors = package['author']
|
|
12
12
|
s.homepage = "https://plaid.com/docs/link/ios/"
|
|
13
|
-
s.platform = :ios, "
|
|
13
|
+
s.platform = :ios, "14.0"
|
|
14
14
|
|
|
15
15
|
s.source = { :git => "https://github.com/plaid/react-native-plaid-link-sdk.git", :tag => "v#{s.version}" }
|
|
16
16
|
s.source_files = "ios/*.{h,m,swift}"
|
|
17
17
|
|
|
18
18
|
s.dependency 'React-Core'
|
|
19
|
-
s.dependency 'Plaid', '~> 5.
|
|
19
|
+
s.dependency 'Plaid', '~> 5.1.0'
|
|
20
20
|
end
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
File without changes
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|