Skip to content

cordova-plugin-device

https://github.com/apache/cordova-plugin-device

What

This plugin defines a global device object, which describes the device's hardware and software.

See https://github.com/kaarbontech/drains/blob/devel/packages/%40kt-utils/cordova/src/getCordovaDevice.ts for our typed CordovaPluginDeviceProperties

Why

  • Used in getting uuid of device
  • Used in getting platform of device(eg. Android or iOS)