react-native-plaid-link-sdk icon indicating copy to clipboard operation
react-native-plaid-link-sdk copied to clipboard

Android app showing white screen after doing OAuth in bank and app callback

Open congkhanh197 opened this issue 2 years ago • 1 comments

The problem

Android app showing white screen after doing OAuth in bank and app callback. I try to update android:launchMode="singleInstance", it show error screen.

Environment

Plaid Link React Native 8.0.0
ReactNative Version 0.66.3
Occurs on Android yes
Android OS Version 9.0.0 (28)
Android Devices/Emulators Pixel 4 Emulator
Occurs on iOS no

Steps to Reproduce

  • Get plaid link_token.
  • Click on plaid link. Choose Chase bank
  • Navigate to bank OAuth
  • Done OAuth, choose the app to callback to the app.
{
  "client_id": "xxx",
  "secret": "xxx",
  "user": .....,
  "client_name": "xxx",
  "country_code": [
    "US",
    "CA",
    "GB",
    "FR",
    "ES",
    "IE",
    "NL"
  ],
  "language": "en",
  "webhook": "/api/webhooks/plaid",
  "update": false,
  "link_customization_name": "default",
  "product": ["transactions"],
  "android_package_name": "com.test.abc"
}

Expected Result

Should return the Plaid Link screen with public-token

Screenshots

Screen Shot 2022-08-05 at 19 16 20

Code To Reproduce Issue

<PlaidLink
          tokenConfig={{
            token: linkToken,
            noLoadingState: false,
          }}
          onSuccess={onSuccess}
          onExit={(data) => {
            toaster.show({ message: JSON.stringify(data, null, 2), type: 'error', duration: 10000, position: 'top' });
          }}>
          <View>
            <Text>Button</Text>
          </View>
</PlaidLink>

congkhanh197 avatar Aug 08 '22 04:08 congkhanh197

I think the error related to this issue I try to revert the plaid link react native to 7.4.0, it resolve the white screen issue. But the error message still show.

congkhanh197 avatar Aug 08 '22 04:08 congkhanh197

Closing because Plaid Link React Native 8.x.x is no longer supported. If the issue persists in the latest SDK please open a new issue.

dtroupe-plaid avatar Jul 18 '23 16:07 dtroupe-plaid