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

Make possible to encode data in the app #17

Open
User1l0 opened this issue Apr 11, 2023 · 9 comments
Open

Make possible to encode data in the app #17

User1l0 opened this issue Apr 11, 2023 · 9 comments
Labels
maybe some day it'd be cool, but it's not a current priority

Comments

@User1l0
Copy link

User1l0 commented Apr 11, 2023

Using the internet to encode your data really makes this app unusable. I'll be very pleased if this app could fully function at it's own

@sz3
Copy link
Owner

sz3 commented Apr 12, 2023

While it's not in the app, the code that runs on the cimbar.org website is available to download and should work in your local browser, even when not connected to the internet:
https://github.com/sz3/libcimbar/releases/tag/v0.5.12

The easiest way to get it working (on android, for example) is probably to use the version packaged as a single html file: https://github.com/sz3/libcimbar/releases/download/v0.5.12/cimbar.html

(I should add this to the cfc readme)

@sz3 sz3 added the wontfix This will not be worked on label Aug 15, 2023
@Wjxfi
Copy link

Wjxfi commented Aug 19, 2023

99% don't know what you're talking about. I certainly don't either. Please do what the issue asks. Doesn't matter how. The whole idea behind these new qr codes is to circumvent the internet. It even says it works in airplane mode... please do it. @sz3

@sz3
Copy link
Owner

sz3 commented Aug 19, 2023

Ok, let me try again:

If you download the cimbar.html file to your phone, you can open it with the files app (or equivalent) and use the web browser (even offline!) to encode. So it does work offline already, it just requires an extra couple steps in preparation.

Ideally cfc would be able to do this too, but the reality is that this is a hobby project right now and there are other parts of it (improving the format, improving the color decode) that I'm focusing on when I get a chance to work on it.

@sz3 sz3 added maybe some day it'd be cool, but it's not a current priority and removed wontfix This will not be worked on labels Aug 21, 2023
@nathgit
Copy link

nathgit commented Aug 22, 2023

I downloaded the html file & it's blank. I tried opening it with Chrome browser & 2 different text editors. In all cases it shows it's blank. No offense, but this isn't useful for me at all, without the ability to transfer things totally offline on both sides. If I didn't care about it working offline, I already have a way to transfer files over the internet. I was only interested in this because it claimed it worked offline.

@justinormont
Copy link

@sz3: What do you think about adding an Android WebView within the app, which displays a locally stored copy of the website?

@sz3
Copy link
Owner

sz3 commented Feb 21, 2024

@sz3: What do you think about adding an Android WebView within the app, which displays a locally stored copy of the website?

I think it's a good idea. (in particular, re-using cimbar_js should make it easier to maintain)

@User1l0
Copy link
Author

User1l0 commented Feb 22, 2024

@sz3: What do you think about adding an Android WebView within the app, which displays a locally stored copy of the website?

What about just trying to include this feature in the app. It will save your time while using the app. No offense but your app Is not complete at all...

@sz3
Copy link
Owner

sz3 commented Feb 23, 2024

@sz3: What do you think about adding an Android WebView within the app, which displays a locally stored copy of the website?

What about just trying to include this feature in the app. It will save your time while using the app. No offense but your app Is not complete at all...

They are suggesting a way to include the feature in the app, but in a way that will hopefully not create much burden on the maintainer (me!). Which is appreciated.

For what it's worth, I think this is mostly a communication issue:

  1. The cimbar.js encoder does work offline. You don't need an internet connection to run the "website", it's just packaged as a website. But, I didn't realize (unfortunately, given my answer above from 6 months ago) that many versions of Android now prevent users from opening html files directly. It didn't used to be that way, which makes my previous advice out of date... But that's also why...
  2. The cimbar.org website (which is a hosted cimbar.js) is now a progressive web app (PWA) that can be installed and run offline. This would be the preferred way to run the encoder on android offline.

I never mentioned (2) in this thread, so that's my bad.

@deknos
Copy link

deknos commented Nov 24, 2024

Hi,
yes, i second this, please make the app in a way, however you do it, that you can select files from the smartphone and encode them, so another smartphone with your app can decode it and download. It's okay, if it's an webappview, i just want to install your app on two phones and have the encode and decode functionality which works offline without internet or wireless, only with camera and screens.

I would even pitch some money in some money if you have a liberay/patreon account.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
maybe some day it'd be cool, but it's not a current priority
Projects
None yet
Development

No branches or pull requests

6 participants