cordova-device-name-plugin

This plugin returns the device name.

On iOS this is the name the user has given his/her device under Settings > General > About > Name.

On Android it is a combination of the device model and the manufacturer, since you would need 'Bluetooth Permissons' to display the device name the user can set.

Installation

  $ cordova plugin add https://github.com/MathiasTim/cordova-device-name-plugin.git

Supported Platforms

  • iOS 7+
  • Android 4.4+

License

Code licensed under MIT. Docs under Apache 2. PhoneGap is a trademark of Adobe.