Follow

Is the Web SDK compatible with PWAs?

Yes.  The Web SDK can be used in PWAs, but with one limitation on iOS.

At the moment, saving to the web app to the home screen renders the PWA in a Safari webview (not the full Safari) which doesn't support WebRTC (video access).

By default, single Image Mode is provided: you take a single image and we decode the barcode from it.

If that's not an option and you prefer to scan from video feed, you can still allow the user to save the app to the desktop, but remove the meta tag "apple-mobile-web-app-capable".  This will open the app in native Safari, with the only difference being a URL shown at the top of the browser. 

 

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request