Git Product home page Git Product logo

Comments (16)

veejayts avatar veejayts commented on May 30, 2024 2

Yes the current fat APK is pretty small. The new cropper library dependency relies on OpenCV which bloats up the fat APK (which is multi arch).

I will attach the armeabi build and ping you here.

Thanks for the pointers regarding F-Droid!

from openscan.

test2a avatar test2a commented on May 30, 2024 1

@IzzySoft heh. never used open note scanner before. yep. that is what i am suggesting. this should bypass the size constraint of the stores. hope this app gets better and people have a good choice when it comes to phone scanning

from openscan.

veejayts avatar veejayts commented on May 30, 2024 1

Well that does seem interesting. I will have to look into learning how to do that but no promises. Will resume development on this app in a week or so.

from openscan.

veejayts avatar veejayts commented on May 30, 2024 1

Agreed, you make valid points. One of the reasons I am hesitant about making the user download content/code from external sources is because I don't want to even accidentally compromise the users privacy. I know that is a little paranoid, but I would rather larger file size than compromised privacy. Plus it would mean more work to maintain it.

from openscan.

test2a avatar test2a commented on May 30, 2024 1

one suggestion. the app currently works fine "as is". So, how about for getting improved functionality once the user is using the app, it can suggest to download the package from a direct link which would be on github, unlike the open note scanner app earlier mentioned which refuses to work without the package.

from openscan.

IzzySoft avatar IzzySoft commented on May 30, 2024 1

Good idea: Deploy the app with "base functionality" and leave it to the user to pull in OpenCV for "advanced functionality".

To top that: unless/until OpenCV is available from a "trusted source" like F-Droid, to lower the barrier you could include it with your repo here as git submodule – which leaves you in control as you are now: the submodule points to a specific commit in the OpenCV repository, leaving it up to you which version will be fetched – while the user sees it comes from your repo (so if they trust you with your app, they can also trust you with this).

from openscan.

IzzySoft avatar IzzySoft commented on May 30, 2024 1

Thanks a lot! Your app will become available here with the next sync in about 5.5h 😃

If you want to apply for listing at F-Droid.org, your app will certainly be welcome there as well. Should you need help with that, I'll be available there.

from openscan.

veejayts avatar veejayts commented on May 30, 2024

I tried to publish it on f-droid but the build kept failing and I had issues on my end with the commits getting messed up. (edit: using GitLab as is specified on the fdroid website)

Could you elaborate more on ways to provide the APK to non-Google users?

from openscan.

IzzySoft avatar IzzySoft commented on May 30, 2024

Sure: if you'd attach the APK to releases, I could take it into my F-Droid repo, which with currently ~550 apps is the second largest public one (only F-Droid's own repo is larger) and used by many non-Google users to get access to a broader range of apps (it can be added to the F-Droid app like any other compatible repo). Rules are slightly less restrictive with mine (see here or here for details). Updates will be fetched automatically as soon as you created a new tag and attached an APK to it (within 24h thereafter).

I also could check what the issues with your publishing to F-Droid were; unfortunately, today GitLab broke their site for my browser so I'm a bit handicapped concerning that (I hope that's only temporary).

from openscan.

veejayts avatar veejayts commented on May 30, 2024

Yes we can do that, but I am afraid the fat APK on our next release will be way more(~70 MB) than the 30 MB limit that you have mentioned in your rules due to a library dependency.

If that is not a problem, we will include the binary in the next release and ping you back on this thread?

Regarding F-Droid, an upload guide or template for flutter apps would be greatly appreciated, a few other flutter developers have have also mentioned having a difficult time getting their app on F-Droid due to lack of guidance.

from openscan.

IzzySoft avatar IzzySoft commented on May 30, 2024

I am afraid the fat APK on our next release will be way more(~70 MB) than the 30 MB limit

Uh, yes, definitely! I only saw the 19M mentioned at Appbrain for the current version. What is the reason for that huge size? Multi-Arch? If that's it, maybe for now attach just the armeabi build and I pick that (and yes, please just ping me here when it's there).

As for F-Droid.org: we have a lot of Flutter apps there (disclosure: I'm one of the maintainers). I'm neither dev nor packager, so I cannot give technical details – but for a starter, you could take a look at the RPFs and MRs of some of those. Just hacked GitLab with a UserScript to get my browser working again, so I can give you a few starter URLs:

You'll want to start with the latter, and also follow up to their corresponding MRs (usually linked: watch out for "Related merge requests" directly below their initial posts).

from openscan.

test2a avatar test2a commented on May 30, 2024

@veejayts can you have the apk without the library and once installed, download it and then use it? just like how f-droid syncs the repos and stuff.

from openscan.

IzzySoft avatar IzzySoft commented on May 30, 2024

That's basically what Open Note Scanner does at well. From the description of that app:

In order to work, Open Note Scanner needs to have access to the OpenCV Manager application installed. If it could not find it, it will offer to download it from GitHub or Play Store. It is also possible to manualy install it from the OpenCV SDK for Android, available on http://opencv.org

Note that app is also available at F-Droid.

from openscan.

IzzySoft avatar IzzySoft commented on May 30, 2024

Yeah, that's the idea. Further, why have it included (unchanged) with each update if there's a more elegant way to deal with it? Btw: I haven't used that app either (lazyness and, admittedly, skepsis as for downloading a dependency "from somewhere else"). For the latter reason, it's good to have a corresponding hint in the app's description (that it downloads that library when not already installed, what it's for and why it's safe to do so)…

TBH, I'd feel much better about that library if it where available at F-Droid and would be fetched from there. But as it's not an app, I guess the client cannot handle that, unfortunately.

from openscan.

IzzySoft avatar IzzySoft commented on May 30, 2024

Just a small heads-up including best new-year wishes – and the gentle question if there are news on this topic?

from openscan.

veejayts avatar veejayts commented on May 30, 2024

A happy new year to you too! Finalizing and updating the 2.0 release right now. Do let me know if any assistance is required from my end for the release.

Edit: Published the release

from openscan.

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.