cordova-plugin-sim
Advanced tools
Comparing version 1.2.0 to 1.2.1
{ | ||
"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
15
226
25141
54