zynkware / Document-Scanning-Android-SDK

Document Scanner is an Android library (kotlin based) for scanning documents based on CameraX API and a tiny version of OpenCV.
163 stars 63 forks source link

Android app is supported by 0 devices #4

Closed Dankospark-team closed 1 year ago

Dankospark-team commented 3 years ago

Hi

Thanks for the Awesome work on this and making this available.

When publishing to the Play store, 0 Devices are available.

I suspect that this permission:

needs the android:required="false" flag as per this post: https://stackoverflow.com/questions/14020237/android-app-is-supported-by-0-devices

Could you possibly look into this?

Kind Regards, Henno Bakker

Dankospark-team commented 3 years ago

@iulian-buzila

de0phantom commented 3 years ago

@iulian-buzila , I agree with @Dankospark-team . Had the same issue. The moment I removed library the supported devices bounced to 9k+ as expected. My assessment is "camera2" usage in the manifest is causing this issue. Another stack-overflow link (if it helps :)

https://stackoverflow.com/questions/52760131/my-app-compatible-with-0-devices-android

Dankospark-team commented 3 years ago

Can confirm that this is the issue. In the end I just added the project as a module and published to Playstore with success.

jayashankar commented 2 years ago

Same issue still exists.

fukemy commented 2 years ago

big problem, any solution?

Piidro commented 2 years ago

I bumped into this issue as well. Any solutions from anyone?

sujay-appringer commented 1 year ago

I had the same issue. I fixed it by overriding the camera feature in my manifest.

<uses-feature
        android:name="android.hardware.camera2"
        android:required="false"
        tools:replace="required"/>
iulian-buzila commented 1 year ago

Sorry for late response. You guys can try a new version 1.1.1 if still use this library https://github.com/zynkware/Document-Scanning-Android-SDK/commit/74a10c9c7859f7ab324a93c53ea21d93fc363117

fukemy commented 1 year ago

too late for 2 years, I have some forum + skype communites then I warn them to avoid this lib