Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
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 1.3.1 to 1.3.2

5

CHANGELOG.md
# Changelog
## v1.3.2
- Android: use Cordova Permissions API
- Android: drop Android Support Library requirement
## v1.3.1

@@ -4,0 +9,0 @@

2

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

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

@@ -40,2 +40,12 @@ # cordova-plugin-sim

}
// Android only: check permission
function hasReadPermission() {
window.plugins.sim.hasReadPermission(successCallback, errorCallback);
}
// Android only: request permission
function requestReadPermission() {
window.plugins.sim.requestReadPermission(successCallback, errorCallback);
}
```

@@ -60,6 +70,2 @@

### Requirements
Install `Extras` / `Android Support Library` from Android SDK.
### Under the hood

@@ -280,2 +286,2 @@

cordova-plugin-sim is licensed under the MIT Open Source license. For more information, see the LICENSE file in this repository.
**cordova-plugin-sim** is licensed under the MIT Open Source license. For more information, see the LICENSE file in this repository.

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc