We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I'm using react-native-plaid-link-sdk v8.0.0. The verificationStatus field on the LinkAccount interface is typed like so:
export interface LinkAccount { id: string; name?: string; mask?: string; type: LinkAccountType; subtype: LinkAccountSubtype; verificationStatus?: LinkAccountVerificationStatus; }
However, on android this field is being returned as verification_status.
verification_status
N/A
Examine the result of a LinkAccount
The verificationStatus field should be consistent on both android and ios and match the types defined in the sdk.
const onSuccess = (linkSuccess: LinkSuccess) => { const { publicToken, metadata } = linkSuccess; console.log(metadata.accounts); }
The text was updated successfully, but these errors were encountered:
Having similar issue within the LinkEvent metadata, where it's snake_case on Android and CamelCase on iOS
Sorry, something went wrong.
Plus one on this one. As a temporary fix you can use metadata.metadataJson field. Looks like both android and ios returned verification_status field.
metadata.metadataJson
I used like this one
const parsedMetadata = metadata.metadataJson ? JSON.parse(metadata.metadataJson) : null;
After that you can use parsedMetadata.verification_status
parsedMetadata.verification_status
No branches or pull requests
The problem
I'm using react-native-plaid-link-sdk v8.0.0. The verificationStatus field on the LinkAccount interface is typed like so:
However, on android this field is being returned as
verification_status
.Environment
N/A
Steps to Reproduce
Examine the result of a LinkAccount
Expected Result
The verificationStatus field should be consistent on both android and ios and match the types defined in the sdk.
Code To Reproduce Issue
The text was updated successfully, but these errors were encountered: