burstware / expo-plaid-link

Use the Plaid Link flow inside your expo app
MIT License
35 stars 20 forks source link

White Blank Page #13

Open jetonk opened 3 years ago

jetonk commented 3 years ago

I installed expo-plaid-link it shows just white blank page for the whole app.

"expo": "^40.0.0", "react-native": "https://github.com/expo/react-native/archive/sdk-40.0.0.tar.gz",

I'm running it into iOS Simulator from a Macbook

JBaczuk commented 3 years ago

@jetonk thanks for the report.

lucidprojects commented 2 years ago

I'm having a similar issue

on these package versions: "expo": "^42.0.0", "react-native": "https://github.com/expo/react-native/archive/sdk-42.0.0.tar.gz",

console shows the call to plaidlink but just shows blank CONSENT view

plaidlink://event?event_name=OPEN&error_code&error_message&error_type&exit_status&institution_search_query&link_session_id=0e0e67f3-6f06-4561-a07c-a74111d6d88c&mfa_type&view_name=CONSENT&request_id&timestamp=2021-09-29T22%3A45%3A07.256Z
Object {
  "eventName": "OPEN",
  "metadata": Object {
    "errorCode": null,
    "errorMessage": null,
    "errorType": null,
    "exitStatus": undefined,
    "institutionId": undefined,
    "institutionName": undefined,
    "institutionSearchQuery": null,
    "linkSessionId": "0e0e67f3-6f06-4561-a07c-a74111d6d88c",
    "mfaType": null,
    "requestId": null,
    "timestamp": "2021-09-29T22:45:07.256Z",
    "viewName": "CONSENT",
  },
}

Comparing to running the demo, I get the same OPEN event but I am never shown the "CONSENT" webview.

lucidprojects commented 2 years ago

Ok a little more context, I was attempting to call the PlaidLink component within a modal component. Moving that out to its own component up the tree seems to have fixed the issue.

Any known issues with running it within a react-native modal component?

JBaczuk commented 2 years ago

@lucidprojects https://github.com/burstware/expo-plaid-link/issues/10

lucidprojects commented 2 years ago

Thanks for the response and the great package @JBaczuk but I'm not following how #10 relates to the issue I'm having.

I'm using the most recent version of your package "@burstware/expo-plaid-link": "^1.0.5"

I have it working without issue in its own component it's only when I try to load it in a modal component that its blank and never gets past the OPEN event.

JBaczuk commented 2 years ago

@lucidprojects Was just pointing out that issue seems to be using a modal as well, and wasn't working until they patched something. Did you try that patch?

erikgoins commented 2 years ago

We're hitting an issue running this on Draftbit expo where the code doesn't run.