Giter Site home page Giter Site logo

Distribution about code-scanner HOT 11 OPEN

czlucius avatar czlucius commented on June 15, 2024
Distribution

from code-scanner.

Comments (11)

IzzySoft avatar IzzySoft commented on June 15, 2024 1

I didn't find them in the repo, but in the resulting APK file. The above is quoting results from my own library scanner, used by F-Droid's issuebot and in my repo as well. If you want to use it for yourself, the one from issuebot can be used more-or-less stand-alone (less dependencies than the full-fledged one I use), dependencies and an example call are contained at the head of the file (libsmali-java/testing seems to be required by the issuebot framework only, as the script works perfectly fine here without that package).

And to explain: those two are dependencies drawn in by the third. MLKit is based on Vision which in turn requires GMS, as you can tell by its package name.

from code-scanner.

czlucius avatar czlucius commented on June 15, 2024 1

Thanks

from code-scanner.

czlucius avatar czlucius commented on June 15, 2024 1

I will refactor the code to use zxing(for scanning) in the future so that it can be added to F-Droid's main repo, but I do not have the time now.
Thanks

from code-scanner.

czlucius avatar czlucius commented on June 15, 2024

App has been distributed to the Galaxy Store.
View here

from code-scanner.

czlucius avatar czlucius commented on June 15, 2024

App tested on API 23 emulator without Google Play Services and worked.
Packaged ML Kit library removes need for GMS, but ML Kit is still closed source, hence app cannot be published to F-Droid due to closed source third party libraries.

from code-scanner.

IzzySoft avatar IzzySoft commented on June 15, 2024

For F-Droid, there are 3 show-stoppers currently:

Offending libs:
---------------
* Android Vision (/com/google/android/gms/vision): NonFreeDep
* Google Mobile Services (/com/google/android/gms): NonFreeDep
* ML Kit (/com/google/mlkit): NonFreeDep

3 offenders.

These libraries are not libre. Is it possible to have a build flavor coming without them, and not losing too much functionality that way? Or else, to replace them (I see #2 may be an attempt to that)?

from code-scanner.

czlucius avatar czlucius commented on June 15, 2024

Yes, I plan to add a build variant removing the need for these non free dependencies in the future.

from code-scanner.

czlucius avatar czlucius commented on June 15, 2024

I will solve this in the future(probably this year), but right now I do not have much time to fix this.

from code-scanner.

czlucius avatar czlucius commented on June 15, 2024

On a side note, where did you find the first 2 dependencies in this repo? (Android Vision and GMS)? I can't seem to find them in the repo, only ML Kit is used (to my knowledge)

from code-scanner.

czlucius avatar czlucius commented on June 15, 2024

Code Scanner is now available on F-Droid through a custom repository.

Add https://czlucius.gitlab.io/czlucius-fdroid-repo/fdroid to the list of repositories in the F-Droid app.

from code-scanner.

czlucius avatar czlucius commented on June 15, 2024

ZXing returns scanned data as plain text, unlike ML Kit which provides it in structured form.

I'm trying to write a library to parse this data so I can detect the data types (e.g. URL, VCF, Email)

https://github.com/czlucius/codes-data-parsing

from code-scanner.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.