Skip to content
New issue

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

Android signed SDK triggers onExit with oAuth institutions #552

Open
gastondisacco opened this issue Aug 24, 2023 · 8 comments
Open

Android signed SDK triggers onExit with oAuth institutions #552

gastondisacco opened this issue Aug 24, 2023 · 8 comments

Comments

@gastondisacco
Copy link

The problem

We have integrated our app with react-native-plaid-link-sdk and it has worked great so far, for quiet a good time.

Last week we started getting reports from users unable to complete the flow using Plaid Link SDK on Android.
We have been troubleshooting this since then and unable to get a solution.

Our findings: working locally with development builds it works well, working with an SDK (not signed) it works well.
But it fails when we try the flow with a Google signed APK. It triggers the onExit prop on the PlaidLink component and no data is present on the error (LinkExit) data.
Appreciate any guidance or thoughts on this. We haven't changed our code about this implementation.

Environment

Plaid Link React Native 10.3.0
ReactNative Version e.g. 0.71.8
Occurs on Android yes.
Android OS Version 11.RP1A.200720.011
Android Devices/Emulators Redmi Note 9
Occurs on iOS no
@dtroupe-plaid
Copy link
Collaborator

dtroupe-plaid commented Aug 28, 2023

Hi @gastondisacco thanks for reporting this issue.

Since this only impacts OAuth traffic I am wondering if this could be related to this issue mentioned in our contributing docs

@gastondisacco
Copy link
Author

Thank you @dtroupe-plaid . I don't think it's the same issue. We are not killing the app in background. Also, please note that it works perfectly fine when testing with a not signed APK. It only fails when using a Play Store build / signed APK.

Thanks

@dtroupe-plaid
Copy link
Collaborator

@gastondisacco any update on this issue?

@gastondisacco
Copy link
Author

@dtroupe-plaid thanks for asking! Unfortunately we couldn't fix it yet. I was able to validate that the same flow on an empty app works well. My theory is that there is some config blocking the incoming data from the redirect from being captured but so far no luck on all of the tests we did. Any thoughts? Thanks so much.

@zohaibahmed-22
Copy link

any update on this issue ?

@dtroupe-plaid
Copy link
Collaborator

Hi @zohaibahmed-22,

We haven't heard of this issue from any of our Android customers. Additionally, this doesn't appear to be a widespread issue with our React Native SDK. Happy to help debug further but we have very limited information to go on and no minimum reproducible example.

If you are able to provide more information that might help resolve this issue.

Thanks 😄

@Mndiong15
Copy link

Hi @dtroupe-plaid

I am also having this issue. I am using the sandbox environment to test the OAuth flow with Platypus OAuth Bank and the entire app crashes. This is happening for me on an Android emulator. The other banks that don't require a redirect to the institution's page are working as expected.

Thank you

@melissaosullivan
Copy link
Collaborator

Hi @Mndiong15,

I'm also not able to reproduce this bug. Could you please provide a an example app where this occurs?

Thanks,
Melissa

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants