This plugin can be used to get information about the device.
You can refer to the code present in /partials/cordova-plugins/device.html file and use it accordingly.
/partials/cordova-plugins/device.html
https://www.npmjs.com/package/cordova-plugin-devicearrow-up-right
Last updated 2 years ago