Web App Device Information

I use the phonegap build application to get the device information like the serial number (using cordova-device-plugin). If I run the app as web app, it won’t work. Is there any way to capture these information in web app?

You might be able to do this if you change your web app to an Electron app (which will also run on the desktop).
https://wiki.appstudio.dev/Using_Node_and_Electron_to_build_Desktop_Apps

Apple will not approve iOS apps which access information such as the serial number, to help keep users secure.

No. The browser doesn’t return that type of information to the web app.

The browser does return a great deal of information to the server when it’s accessing a static or generated html page.

Thanks. I think I will stick back to Phonegap.