4 ms·
All of your points are incorrect. - Web does have access to the camera. I regularly upload images to the Facebook mobile site. You can also do live previews of
by TheAceOfHearts 9y ago
All of your points are incorrect.
- Web does have access to the camera. I regularly upload images to the Facebook mobile site. You can also do live previews of images and allow users to experiment with filters before uploading.
- Live streaming on mobile web is also possible. If you support DASH and HLS you can reach the vast majority of mobile users [0]
- It's possible to support offline apps with mobile web, but it's definitely tricky. The biggest issue for most people is that you can't perform work in the background. Service workers are an attempt at improving on that. But you can still save data in localStorage or IndexedDB and push it up when the user reconnects. There's an offline and online event you can hook into.
- Native apps aren't magical. If you're dealing with large collections on the web you can also virtualize em, look at react-virtualized for an example [1]. That lets you avoid having to create as many DOM nodes all at once.
- You can achieve the same thing by writing your web app as a shell that later loads additional content. That way the initial load feels faster. Check out Progressive Web Apps to see the direction that's headed.
- Mobile web apps usually use JSON too. Nothing special about native apps here.
- Both DASH and HLS fully support dynamic quality. Heck, DASH literally means "Dynamic Adaptive Streaming over HTTP". By supporting both you can target most mobile web browsers. Native apps use these same protocols. It's already implemented by the browser vendor or by native APIs.
- You can jump to the middle of a video stream on mobile web. It's exactly the same as with a desktop browser. Go open up YouTube and skip a few minutes ahead.
[0] https://developer.mozilla.org/en-US/Apps/Fundamentals/Audio_and_video_delivery/Live_streaming_web_audio_and_video https://developer.mozilla.org/en-US/Apps/Fundamentals/Audio_...
[1] https://github.com/bvaughn/react-virtualized https://github.com/bvaughn/react-virtualized