Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Distribution #5

Open
czlucius opened this issue Jun 8, 2021 · 11 comments
Open

Distribution #5

czlucius opened this issue Jun 8, 2021 · 11 comments
Labels
fdroid Issues relating to publishing on F-Droid play Issues relating to publishing on Google Play.

Comments

@czlucius
Copy link
Owner

czlucius commented Jun 8, 2021

This app needs to be distributed to platforms and app stores to increase its reach

Suggested app stores:

  • Samsung Galaxy Store
  • Aptoide(via Catappult)
  • Apkpure
  • Uptodown

Other app stores (requires decoupling of ML Kit):

  • Amazon App Store
  • Huawei AppGallery
  • F-Droid
@czlucius
Copy link
Owner Author

czlucius commented Jul 3, 2021

App has been distributed to the Galaxy Store.
View here

@czlucius
Copy link
Owner Author

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.

@IzzySoft
Copy link

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)?

@czlucius
Copy link
Owner Author

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

@czlucius
Copy link
Owner Author

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

@czlucius
Copy link
Owner Author

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)

@IzzySoft
Copy link

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.

@czlucius
Copy link
Owner Author

Thanks

@czlucius czlucius added fdroid Issues relating to publishing on F-Droid play Issues relating to publishing on Google Play. labels Nov 17, 2021
@czlucius
Copy link
Owner Author

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.

@czlucius
Copy link
Owner Author

czlucius commented Feb 17, 2022

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

@czlucius
Copy link
Owner Author

czlucius commented Mar 1, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fdroid Issues relating to publishing on F-Droid play Issues relating to publishing on Google Play.
Projects
None yet
Development

No branches or pull requests

2 participants