plaid / plaid-link-android

Plaid Link Android SDK
https://plaid.com/docs/link/android
MIT License
115 stars 48 forks source link

Infinite loading when running on a Pixel 2 emulator SDK 28 #275

Open dmytroKarataiev opened 6 months ago

dmytroKarataiev commented 6 months ago

The problem

When running on an emulator in our testing environment Plaid shows an infinitely loading screen:

Screenshot 2024-04-23 at 14 00 11

The only valuable info from the logs is this:

[INFO:CONSOLE(2)] "Uncaught ReferenceError: globalThis is not defined", source: https://secure.plaid.com/link/2.0.1906/vendors~flink.js (2)

Environment

Android OS Version 28
Android Devices/Emulators Pixel 2 Emulator

Steps to Reproduce

Call PlaidHandler.open(fragment) and that will be the first screen.

Expected Result

Working Plaid.

Screenshots

Attached above.

Logs

[INFO:CONSOLE(2)] "Uncaught ReferenceError: globalThis is not defined", source: https://secure.plaid.com/link/2.0.1906/vendors~flink.js (2)