react-native-plaid-link-sdk 10.0.0 → 10.2.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 +12 -9
- package/android/.gradle/6.1/executionHistory/executionHistory.lock +0 -0
- package/android/.gradle/6.1/fileChanges/last-build.bin +0 -0
- package/android/.gradle/6.1/fileHashes/fileHashes.lock +0 -0
- package/android/.gradle/6.1/gc.properties +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.lock +0 -0
- package/android/.gradle/6.9/gc.properties +0 -0
- package/android/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
- package/android/.gradle/buildOutputCleanup/cache.properties +2 -0
- package/android/.gradle/checksums/checksums.lock +0 -0
- package/android/.gradle/checksums/md5-checksums.bin +0 -0
- package/android/.gradle/checksums/sha1-checksums.bin +0 -0
- package/android/.gradle/vcs-1/gc.properties +0 -0
- package/android/build.gradle +1 -1
- package/android/src/main/AndroidManifest.xml +1 -1
- package/dist/PlaidLink.d.ts +0 -1
- package/dist/PlaidLink.js +1 -15
- package/dist/index.d.ts +2 -2
- package/dist/index.js +2 -2
- package/ios/RNLinksdk.m +1 -1
- package/ios/RNLinksdk.xcodeproj/xcuserdata/dtroupe.xcuserdatad/xcschemes/xcschememanagement.plist +14 -0
- package/ios/RNLinksdk.xcworkspace/xcuserdata/dtroupe.xcuserdatad/UserInterfaceState.xcuserstate +0 -0
- package/package.json +1 -1
- package/react-native-plaid-link-sdk.podspec +1 -1
package/README.md
CHANGED
|
@@ -165,15 +165,18 @@ When upgrading from a previous major version of this library, see the following
|
|
|
165
165
|
# Version compatibility
|
|
166
166
|
| React Native SDK | Android SDK | iOS SDK | Status |
|
|
167
167
|
|---|---|---|---|
|
|
168
|
-
|
|
|
169
|
-
|
|
|
170
|
-
|
|
|
171
|
-
|
|
|
172
|
-
|
|
|
173
|
-
|
|
|
174
|
-
|
|
|
175
|
-
|
|
|
176
|
-
|
|
|
168
|
+
| 10.2.0 | [3.12.0+] | >=4.3.0 | Active, supports Xcode 14 |
|
|
169
|
+
| 10.1.0 | [3.11.0+] | >=4.2.0 | Active, supports Xcode 14 |
|
|
170
|
+
| 10.0.0 | [3.10.1+] | >=4.1.0 | Deprecated, supports Xcode 14 |
|
|
171
|
+
| 9.x.x | [3.10.1+] | >=4.1.0 | Deprecated, supports Xcode 14 |
|
|
172
|
+
| 8.x.x | [3.10.1+] | >=3.1.0 | Deprecated, supports Xcode 14 |
|
|
173
|
+
| 7.x.x | [3.2.0+] | >=2.0.11 | Deprecated, supports Xcode <= 13 |
|
|
174
|
+
| 6.x.x | [3.0.0-3.2.0) | >=2.0.1 | Deprecated |
|
|
175
|
+
| 5.x.x | [2.1.0-3.0.0) | >=1.1.34 | Deprecated |
|
|
176
|
+
| 4.x.x | [2.0.0-2.1.0) | <=1.1.33 | Deprecated |
|
|
177
|
+
| 3.x.x | [1.0.0-2.0.0) | <=1.1.33 | Deprecated |
|
|
178
|
+
| 2.x.x | [0.3.0-1.0.0) | <=1.1.27 | Deprecated |
|
|
179
|
+
| 1.x.x | [0.1.0-0.3.0) | <=1.1.24 | Deprecated |
|
|
177
180
|
|
|
178
181
|
|
|
179
182
|
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
File without changes
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
File without changes
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
File without changes
|
package/android/build.gradle
CHANGED
|
@@ -64,7 +64,7 @@ repositories {
|
|
|
64
64
|
|
|
65
65
|
dependencies {
|
|
66
66
|
implementation "com.facebook.react:react-native:+"
|
|
67
|
-
implementation "com.plaid.link:sdk-core:3.
|
|
67
|
+
implementation "com.plaid.link:sdk-core:3.12.0"
|
|
68
68
|
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
|
|
69
69
|
implementation "com.jakewharton.rxrelay2:rxrelay:2.1.1"
|
|
70
70
|
}
|
package/dist/PlaidLink.d.ts
CHANGED
|
@@ -8,5 +8,4 @@ import { LinkEventListener, PlaidLinkComponentProps, PlaidLinkProps } from './Ty
|
|
|
8
8
|
export declare const usePlaidEmitter: (LinkEventListener: LinkEventListener) => void;
|
|
9
9
|
export declare const openLink: (props: PlaidLinkProps) => Promise<void>;
|
|
10
10
|
export declare const dismissLink: () => void;
|
|
11
|
-
export declare const useDeepLinkRedirector: () => void;
|
|
12
11
|
export declare const PlaidLink: (props: PlaidLinkComponentProps) => JSX.Element;
|
package/dist/PlaidLink.js
CHANGED
|
@@ -8,7 +8,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
8
8
|
});
|
|
9
9
|
};
|
|
10
10
|
import React, { useEffect } from 'react';
|
|
11
|
-
import {
|
|
11
|
+
import { NativeEventEmitter, NativeModules, Platform, TouchableOpacity, } from 'react-native';
|
|
12
12
|
/**
|
|
13
13
|
* A hook that registers a listener on the Plaid emitter for the 'onEvent' type.
|
|
14
14
|
* The listener is cleaned up when this view is unmounted
|
|
@@ -72,25 +72,11 @@ export const dismissLink = () => {
|
|
|
72
72
|
NativeModules.RNLinksdk.dismiss();
|
|
73
73
|
}
|
|
74
74
|
};
|
|
75
|
-
export const useDeepLinkRedirector = () => {
|
|
76
|
-
const _handleListenerChange = (event) => {
|
|
77
|
-
if (event.url !== null && Platform.OS === 'ios') {
|
|
78
|
-
NativeModules.RNLinksdk.continueFromRedirectUriString(event.url);
|
|
79
|
-
}
|
|
80
|
-
};
|
|
81
|
-
useEffect(() => {
|
|
82
|
-
const listener = Linking.addEventListener('url', _handleListenerChange);
|
|
83
|
-
return function cleanup() {
|
|
84
|
-
listener.remove();
|
|
85
|
-
};
|
|
86
|
-
}, []);
|
|
87
|
-
};
|
|
88
75
|
export const PlaidLink = (props) => {
|
|
89
76
|
function onPress() {
|
|
90
77
|
var _a;
|
|
91
78
|
(_a = props.onPress) === null || _a === void 0 ? void 0 : _a.call(props);
|
|
92
79
|
openLink(props);
|
|
93
80
|
}
|
|
94
|
-
useDeepLinkRedirector();
|
|
95
81
|
return <TouchableOpacity onPress={onPress}>{props.children}</TouchableOpacity>;
|
|
96
82
|
};
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { openLink, dismissLink,
|
|
1
|
+
import { openLink, dismissLink, usePlaidEmitter, PlaidLink } from './PlaidLink';
|
|
2
2
|
export * from './Types';
|
|
3
3
|
export default PlaidLink;
|
|
4
|
-
export { PlaidLink, openLink, dismissLink,
|
|
4
|
+
export { PlaidLink, openLink, dismissLink, usePlaidEmitter, };
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { openLink, dismissLink,
|
|
1
|
+
import { openLink, dismissLink, usePlaidEmitter, PlaidLink, } from './PlaidLink';
|
|
2
2
|
export * from './Types';
|
|
3
3
|
export default PlaidLink;
|
|
4
|
-
export { PlaidLink, openLink, dismissLink,
|
|
4
|
+
export { PlaidLink, openLink, dismissLink, usePlaidEmitter, };
|
package/ios/RNLinksdk.m
CHANGED
package/ios/RNLinksdk.xcodeproj/xcuserdata/dtroupe.xcuserdatad/xcschemes/xcschememanagement.plist
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
|
3
|
+
<plist version="1.0">
|
|
4
|
+
<dict>
|
|
5
|
+
<key>SchemeUserState</key>
|
|
6
|
+
<dict>
|
|
7
|
+
<key>RNLinksdk.xcscheme_^#shared#^_</key>
|
|
8
|
+
<dict>
|
|
9
|
+
<key>orderHint</key>
|
|
10
|
+
<integer>0</integer>
|
|
11
|
+
</dict>
|
|
12
|
+
</dict>
|
|
13
|
+
</dict>
|
|
14
|
+
</plist>
|
package/ios/RNLinksdk.xcworkspace/xcuserdata/dtroupe.xcuserdatad/UserInterfaceState.xcuserstate
ADDED
|
Binary file
|
package/package.json
CHANGED