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.2 to 1.3.3

7

CHANGELOG.md
# Changelog
## v1.3.3
- Android: Adjust required API levels
- iOS: add CoreTelephony imports
- docs: Ionic 2 Usage
- docs: API level 25 codes
## v1.3.2

@@ -4,0 +11,0 @@

2

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

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

@@ -67,2 +67,26 @@ # cordova-plugin-sim

### Ionic 2 Usage
```typescript
import { Sim } from 'ionic-native';
Sim.getSimInfo().then(
(info) => console.log('Sim info: ', info),
(err) => console.log('Unable to get sim info: ', err)
);
Sim.hasReadPermission().then(
(info) => console.log('Has permission:', info)
);
Sim.requestReadPermission().then(
() => console.log('Permission granted'),
() => console.log('Permission denied')
);
```
Required: [ionic-native](https://www.npmjs.com/package/ionic-native) v2.2.13
See [Ionic Native documentation](https://ionicframework.com/docs/v2/native/sim/).
## Android Quirks

@@ -182,2 +206,5 @@

| 15 | `NETWORK_TYPE_HSPAP` | HSPA+
| 16 | `NETWORK_TYPE_GSM` | GSM
| 17 | `NETWORK_TYPE_TD_SCDMA` | TD-SCDMA
| 18 | `NETWORK_TYPE_IWLAN` | IWLAN

@@ -184,0 +211,0 @@

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

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