
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
cordova-plugin-device-descriptor
Advanced tools
Cordova plugin to get the device's descriptor based on model (brand, name)
This is a cordova plugin to get device's descriptor based on model (brand, name).
Underlying components:
cordova plugin add cordova-plugin-device-descriptor
document.addEventListener("deviceready", onDeviceReady, false);
function onDeviceReady() {
window.descriptor.get(successCallback, errorCallback);
}
function successCallback(result) {
console.log(result);
}
function errorCallback(error) {
console.log(error);
}
The plugin returns a JSON object.
{
brand: "LGE",
device: "p1",
model: "LG-H815",
name: "LG G4"
}
{
brand: "Apple",
name: 'iPhone 5c',
model: 'iPhone5,3',
ANumber: [ 'A1456', 'A1532' ],
FCCID: [ 'BCG‑E2644A' ]
}
cordova-plugin-device-descriptor is licensed under the MIT Open Source license. For more information, see the LICENSE file in this repository.
FAQs
Cordova plugin to get the device's descriptor based on model (brand, name)
We found that cordova-plugin-device-descriptor demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.