Hi ,
I'm using Device plugin on PWA application ( angular 5 and Capacitor ) , when I build the app android or IOS , the device plugin works great and returns all the info about the device.
but when I build it on PWA and access the local host from chrome on mobile ,
that's what i get
{
"__zone_symbol__state": true,
"__zone_symbol__value": {
"model": "web",
"platform": "web",
"appVersion": "",
"osVersion": "",
"manufacturer": "",
"isVirtual": false,
"batteryLevel": 0.23,
"isCharging": true,
"uuid": "680cf9d1-60f9-421a-8f46-b52a2848c9e8"
}
}
as you can see , the osVersion and "manufacturer are empty and diskFree isn't available , also why the platform is web when I run it on chrome from mobile ??
Thanks
Hi ,
I'm using Device plugin on PWA application ( angular 5 and Capacitor ) , when I build the app android or IOS , the device plugin works great and returns all the info about the device.
but when I build it on PWA and access the local host from chrome on mobile ,
that's what i get
{
"__zone_symbol__state": true,
"__zone_symbol__value": {
"model": "web",
"platform": "web",
"appVersion": "",
"osVersion": "",
"manufacturer": "",
"isVirtual": false,
"batteryLevel": 0.23,
"isCharging": true,
"uuid": "680cf9d1-60f9-421a-8f46-b52a2848c9e8"
}
}
as you can see , the osVersion and "manufacturer are empty and diskFree isn't available , also why the platform is web when I run it on chrome from mobile ??
Thanks