googlesamples / mlkit

A collection of sample apps to demonstrate how to use Google's ML Kit APIs on Android and iOS
Apache License 2.0
3.6k stars 2.94k forks source link

[ML Kit Document scanner] Compatibility issue? #791

Closed RoberFranko closed 8 months ago

RoberFranko commented 8 months ago

I just tried the new document scanner api and tested it on several devices and works perfectly fine, until I started testing it in recent devices. All devices and emulators with API34 don't seem to run it. Checking the log cat theres no errors, nor anything that seems to be incorrect. when I press the scan button does not crash, nor do anything, like if there was no action there.

Any thoughts about this? If you need my code I am able to share it.

Kind regards

ai-plays commented 8 months ago

Hi RoberFranko,

I just tested on API34 and it worked fine for me.

For anyone seeing similar issues, could you please upvote this issue and share more details if you could see any related logs?

RoberFranko commented 8 months ago

Hi RoberFranko,

I just tested on API34 and it worked fine for me.

For anyone seeing similar issues, could you please upvote this issue and share more details if you could see any related logs?

It's quite strange but i have tested it again with the same code that i had and with the same devices and emulators, weirdly it works now. Not sure why. But thanks anyway

ai-plays commented 8 months ago

Glad it works now.