Skip to content

Latest commit

 

History

History
42 lines (30 loc) · 857 Bytes

README.md

File metadata and controls

42 lines (30 loc) · 857 Bytes

MIT License

cordova-plugin-osbuildinfo

This plugin defines a global OSBuildInfo object.

window.cordova.OSBuildInfo.getInfo(callback);

function callback(result) {
	console.log(result);
}

Installation

cordova plugin add https://github.com/PetruMagdeleine/cordova-plugin-osbuildinfo.git

Supported Platforms

  • Android [ONLY]

Properties

Check Android official specs here : https://developer.android.com/reference/android/os/Build.html

  • OSBuildInfo.board
  • OSBuildInfo.bootloader
  • OSBuildInfo.brand
  • OSBuildInfo.device
  • OSBuildInfo.display
  • OSBuildInfo.fingerprint
  • OSBuildInfo.hardware
  • OSBuildInfo.host
  • OSBuildInfo.id
  • OSBuildInfo.manufacturer
  • OSBuildInfo.model
  • OSBuildInfo.product
  • OSBuildInfo.serial