this post was submitted on 05 Jan 2024
437 points (97.6% liked)

Ask Lemmy

26669 readers
3202 users here now

A Fediverse community for open-ended, thought provoking questions


Rules: (interactive)


1) Be nice and; have funDoxxing, trolling, sealioning, racism, and toxicity are not welcomed in AskLemmy. Remember what your mother said: if you can't say something nice, don't say anything at all. In addition, the site-wide Lemmy.world terms of service also apply here. Please familiarize yourself with them


2) All posts must end with a '?'This is sort of like Jeopardy. Please phrase all post titles in the form of a proper question ending with ?


3) No spamPlease do not flood the community with nonsense. Actual suspected spammers will be banned on site. No astroturfing.


4) NSFW is okay, within reasonJust remember to tag posts with either a content warning or a [NSFW] tag. Overtly sexual posts are not allowed, please direct them to either !asklemmyafterdark@lemmy.world or !asklemmynsfw@lemmynsfw.com. NSFW comments should be restricted to posts tagged [NSFW].


5) This is not a support community.
It is not a place for 'how do I?', type questions. If you have any questions regarding the site itself or would like to report a community, please direct them to Lemmy.world Support or email info@lemmy.world. For other questions check our partnered communities list, or use the search function.


Reminder: The terms of service apply here too.

Partnered Communities:

Tech Support

No Stupid Questions

You Should Know

Reddit

Jokes

Ask Ouija


Logo design credit goes to: tubbadu


founded 1 year ago
MODERATORS
 

Seriously. I don't want to install something on my phone when the dev is just using a WebView, if that's what it's called. When the app is basically just a website with the browser hidden.

What's the reason for that? To attach the customer? To sell the app for money? Is there more ad revenue that way? Do you reach more people?

(Are there any good reasons for it, too? Security, maybe?)

you are viewing a single comment's thread
view the rest of the comments
[–] AgentGrimstone@lemmy.world 50 points 10 months ago (3 children)

We had a project once that ran completely fine as a website except for the ability to scan bar codes. That one thing forced us to create an app and the rest of the app was just showing the website.

[–] stackPeek@lemmy.world 8 points 10 months ago* (last edited 10 months ago)

Can't you use camera on browser? I actually seen a project that does some complex things using camera [1] and it ran in browser. I'm confident scanning bar codes is possible.

[1] https://qiblafinder.withgoogle.com/intl/en/desktop

[–] Syenite@lemmy.world 2 points 10 months ago

There are JS barcode libraries out there, some better than others, some free, others paid. A few years back at a corporate job I built just the thing - a web app designed to replace a 3rd party mobile app. The back-end was Laravel + various AWS services, with a responsive front-end made with Tailwind.

The requirements were to make it mimic most of the mobile app's functionality. There was also location tracking via browser APIs (to track the cargo at all times) and a barcode scanner. I used a paid library for that, and it was quite expensive, but very reliable. So it can definitely be done as a web app.

[–] bradbeattie@lemmy.ca 2 points 10 months ago

https://serratus.github.io/quaggaJS/ and whatnot exist. Any reason why such an approach couldn't be taken?