Hi,
I’ve been around the block a few times with building native apps for Android and IOS and am attempting to dip my toe in the PWA waters.
My apps publish up nicely to my webserver and they work absolutely fine until i need to take photos and use a camera-preview plugin.
Is there a simple answer to this - (am I missing something) or is this where it gets really complicated and means I’ll have to deploy the app to PWA then start editing code on my webserver to start using the app the way it runs on my native builds?
(I’m really hoping that maybe my issue is one of missing permissions or ‘on event’ code that’ll suddenly fire up the plugins involved!)
PWA are nothing special when it comes to running code - it’s the same JavaScript. The difference is that it has a way of caching the JavaScript so the app can run offline.
Well, simply to have my Apps (which run on native Android and IOS) run as PWAs with the camera and camera preview features working (along with a few others - which are less important for now (OCR app etc)
I’m not a web programmer ( although I’m always learning ) so I’m exploring how to convert the existing app code into something that works via PWA.
No. Ideally I’d like a PWA which works equally well on IPad and Android tablets.
Our apps are used by a finite number of people to work with backoffice systems. Installing via apk is fine on Android, but installing on Ipad is problematic, hence I was exploring using PWAs as an alternative.
@Neil_HNF
I have a very basic PWA which can take, view and save a png photo with camera. See https://bsommer.de/nsbapps/FotoPNG/index.html
Maybe this could be a first step with camera and PWA.
Sorry. Text is in German. I can translate or explain if needed.
Bernd
Currently I am in a hotel network and struggle with strange restrictions. Not certain, if I can find and send the source from my notebook. Will try tomorrow. Should be at home again on July 12. Meanwhile you could try to view the source code with the web app and Chrome debugger.