🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

cordova-plugin-sim

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cordova-plugin-sim - npm Package Compare versions

Comparing version

to
1.2.1

.npmignore

2

package.json
{
"name": "cordova-plugin-sim",
"version": "1.2.0",
"version": "1.2.1",
"description": "A plugin to get the device's SIM data (carrier name, mcc mnc, country code, telephonenumber, imei, etc)",

@@ -5,0 +5,0 @@ "cordova": {

@@ -186,2 +186,4 @@ # cordova-plugin-sim

Wiki: [How to test permissions](https://github.com/pbakondy/cordova-plugin-sim/wiki/Testing-Android-API-23-Permissions)
## iOS Quirks

@@ -188,0 +190,0 @@

@@ -0,0 +0,0 @@ exports.defineAutoTests = function() {

@@ -1,20 +0,5 @@

var sim = {
module.exports = {
getSimInfo: function(successCallback, errorCallback) {
cordova.exec(successCallback, errorCallback, 'Sim', 'getSimInfo', []);
},
hasReadPermission: function(successCallback, errorCallback) {
cordova.exec(successCallback, errorCallback, 'Sim', 'hasReadPermission', []);
},
requestReadPermission: function(successCallback, errorCallback) {
cordova.exec(successCallback, errorCallback, 'Sim', 'requestReadPermission', []);
}
};
cordova.addConstructor(function() {
if (!window.plugins) {
window.plugins = {};
}
window.plugins.sim = sim;
return window.plugins.sim;
});

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet