3 ms·
Why not try PWA. I built a marketplace app and used gravity forms and you get camera in the browser. Unless you need device hardware, you can get away with PWA.
by adamqureshi 9y ago
Why not try PWA. I built a marketplace app and used gravity forms and you get camera in the browser. Unless you need device hardware, you can get away with PWA. The web is much larger then app islands with 30% fees. Then the bi-weekly updates. Then you get a message " this developer needs to update their app for iOS (latest version) jesus.
- AndrewKemendo 9y agocamera in the browser How so? Do you mean through UIImagePickerController or AVCaptureDevice? Even with the latest iOS 11 release I haven't seen AVCaptureDevice available to WebKit anywhere. getusermedia isn't supported and I've yet to see a successful implementation of WebRTC on WebKit [1]. Maybe I missed something. Would be great to be able to do that finally. [1]https://webkit.org/blog/7763/a-closer-look-into-webrtc/ https://webkit.org/blog/7763/a-closer-look-into-webrtc/
- adamqureshi 9y agowe used gravity forms for one gig. On mobile a mobile browser say an iphone, you can take snap a pic with a camera and upload / attach it and send it via the form. That was our basic need / feature for this particular MVP. i found this article in stakoverflow: In 2015 Google introduced a new approach for developing web apps for Android: progressive web apps. One can create an application that will look like a native application, will be able to use device's hardware like camera and accelerometers, receive push notifications, have a launcher icon, work in offline, store local data, etc.
- AndrewKemendo 9y agoYea Android supports all of that including camera through getusermedia, iOS doesn't.
- adamqureshi 9y agoSo i tested the form. OnClick attach a pic / or take a pic in iOS i took a pic and attached and on submit it sent the form with image to the email the form was going too. Is that not it?
- AndrewKemendo 9y agoYea that's UIImagePickerController, but obfuscated by whatever other wrapper you're using. You can do that to transfer images or upload images through iOS, basic file picker/transfer basically but doesn't invoke any other frameworks or deeper integration. What you can't do is get the video feed into a WebKit browser. It's a business decision Apple did to prevent image based Web Apps on iOS. They want them all on native apps, though we might see it with WebRTC integration.
- adamqureshi 9y agooh gotcha, yes my use case was very simple. in iOS chrome / safari after filling out basic form fields, name / email then upload pic / attach image ( pulls up the camera / attach image icons) Select or take a pic with camera Upload / attach pic Send / Submit form. That was all i needed. Then that image comes through email. For a local messenger start up in NYC. Pick up / delivery. Customer needs upload a pic of the bags being picked up then delivered to destination. All local / same day stuff. I maybe didn't need all the other stuff, just enough to solve this specific problem in a mobile web app. Customer was happy with the demo i showed them. Got the gig.
- marpstar 9y agoSupport for HTML5 audio is junk on iOS: http://debuggerdotbreak.judahgabriel.com/2016/12/13/its-almost-2017-and-html5-audio-is-still-broken-on-ios/ http://debuggerdotbreak.judahgabriel.com/2016/12/13/its-almo...