npm
:
npm install --save @meshconnect/react-native-link-sdk
With yarn
:
yarn add @meshconnect/react-native-link-sdk
💡 This package requires react-native-webview
to be installed in your project. Although it is listed as direct dependency, some times it is not installed automatically (This is a known npm issue). You should install it manually via following command in this case:
/api/v1/linktoken
endpoint. API reference for this request is available here. The request must be performed from the server side because it requires the client’s secret. You will get the response in the following format:
LinkConnect
component argumentsKey | Type | Required/Optional |
---|---|---|
linkToken | string | required |
onIntegrationConnected | (payload: LinkPayload) => void | optional |
onTransferFinished | (payload: TransferFinishedPayload) => void | optional |
onExit | (err: string) => void) | optional |
@meshconnect/react-native-link-sdk
are built into the npm package.
<dict></dict>
tag.