I was curious if anyone knew a javascript based method for detecting whether the web experience was being run as a PWA (progressive web app) or it was simply being run as a
In my PWA, created with Microsoft Visual Studio 2017, following statement works:
var isPWA = navigator.userAgent.match(/MSAppHost/i);