Ionic PWA Device ID

Hey, does anyone know of a way to get the device’s ID with a PWA? the unique device id plugin doesn’t seem to work with PWAs

It would only work with cordova. I doubt you can get that device ID.

If you are wanting to essentially tag a phone with a unique Id for the sake of identification I would suggest when the app opens up for the first time to generate a guid and store it in localstorage.

1 Like