- NativeScript Core
- NativeScript with Angular
- NativeScript with Vue.js
- API Reference
- NativeScript Sidekick
Gets the type of the current device. Available values: "Phone", "Tablet".
Gets the preferred language. For example "en" or "en-US".
Gets the manufacturer of the device. For example: "Apple" or "HTC" or "Samsung".
Gets the model of the device. For example: "Nexus 5" or "iPhone".
Gets the OS of the device. For example: "Android" or "iOS".
Gets the OS version. For example: 4.4.4(android), 8.1(ios)
Gets the preferred region. For example "US".
Gets the SDK version. For example: 19(android), 8.1(ios).
Gets the uuid. On iOS this will return a new uuid if the application is re-installed on the device. If you need to receive the same uuid even after the application has been re-installed on the device, use this plugin: https://www.npmjs.com/package/nativescript-ios-uuid