Security News
Weekly Downloads Now Available in npm Package Search Results
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
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)
The npm package cordova-plugin-device-descriptor receives a total of 3 weekly downloads. As such, cordova-plugin-device-descriptor popularity was classified as not popular.
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
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
Security News
A Stanford study reveals 9.5% of engineers contribute almost nothing, costing tech $90B annually, with remote work fueling the rise of "ghost engineers."
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.