Re:Snapchat open-sources Valdi a cross-platform UI framework
by littlecranky67 on Saturday November 08, 2025 @02:29AM
(#45854864)
There is no reason you can't do that via web. Image capture in a canvas gives you access to the raw image pixmap data.
[ Parent
| on HN ]
Re:Snapchat open-sources Valdi a cross-platform UI framework
by sebmellen on Saturday November 08, 2025 @10:15PM
(#45862592)
Trust me, native camera access is extremely important if you need to directly control focus (for example). We have web and mobile apps that scan ID images and our ability to capture high quality images on mobile native devices is 5x better.
AVFoundation on iOS especially.
Re:Snapchat open-sources Valdi a cross-platform UI framework
by DecoPerson on Saturday November 08, 2025 @10:29PM
(#45862669)
You can still have native views that appear over the WebView for certain tasks. I think you can also provide your own rendering context for <canvas> elements, so you could roll your own <video> element for showing the current camera view. Either way, you can still have full native camera control without having a 100% native app.