Cordova Device Name Plugin
This plugin allows you to get the user-friendly name of the device.
On Android, a bluetooth adapter is required. Android emulator does not have bluetooth capabilities!
Installation
In your application project directory:
cordova plugin add cordova-plugin-device-name
Usage
var deviceName = cordovapluginsdeviceName; console // e.g: Becvert's iPad deviceName;
if you installed cordova-plugin-device you can use:
windowdevicename
Credits
All the credits go to the official cordova-plugin-device plugin.
Licence
The MIT License