jorgefspereira / plaid_flutter

Plaid Link for Flutter. Integrates the native iOS, Android and Web SDKs.
https://pub.dev/packages/plaid_flutter
MIT License
67 stars 49 forks source link

Plaid Identity flow crashes at Document Capture on iOS 13 #96

Open carlossosvos opened 1 year ago

carlossosvos commented 1 year ago

Tested on plaid_flutter version 3.1.0 with sandbox environment, running on iOS Simulator with iOS 13

[✓] Flutter (Channel stable, 3.3.10, on macOS 12.6 21G115 darwin-arm, locale en-HN)
[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 14.2)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2021.3)
[✓] VS Code (version 1.75.1)
[✓] Connected device (4 available)
[✓] HTTP Host Availability

Simulator Screen Recording - TEST plaid fix  - 2023-02-27 at 15 19 17

Steps to reproduce :

  1. Generate Link Token for Identity Verification
  2. Create Token Configuration
  3. Open Widget
  4. Get through flow until Document Verification
  5. Select any document
  6. Press take photo button

While testing on devices with iOS version > 13 , I get prompted with the following permission:

image

Perhaps the issue is more related to plaid's iOS SDK, but sharing just in case.

jorgefspereira commented 1 year ago

You're right. I also tested here on iOS simulator 13.7 and crashed.

It seems to be something related to the Plaid SDK itself when trying to present a UIDocumentMenuViewController. There's nothing I can do on my end but I'll try to reach out to the Plaid team and report the issue.

For now I'll leave it open until further news.

alexnebulageek commented 4 months ago

Has anyone found a solution to this? I am facing something different but similar. See attached video

https://github.com/jorgefspereira/plaid_flutter/assets/142758792/6dba38bb-9beb-4dc9-b545-d76a5a3cc88e

Want to add I am new to flutter so not sure if the issue could be related to a configuration I am missing. Please, let me know if you have an idea on how to fix this. Thanks

alexnebulageek commented 4 months ago

Updating my previous message with the error I get. For some reason that part is cut out when I upload the video Simulator Screenshot - iphone 13 Pro Max - 2024-03-04 at 23 05 39

jhionan commented 4 months ago

Did you test with a real device?

I didn't test this flow, but simulator didn't have camera (I'm not sure if it works now).

alexnebulageek commented 4 months ago

Haven't tried it with a real device. Will do that and keep this thread updated