@capgo/capacitor-sim 8.0.41 → 8.0.43

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,11 +1,11 @@
1
1
  # @capgo/capacitor-sim
2
2
 
3
- Read SIM card details in your Capacitor app, including carrier, country and network codes, with dual SIM support on Android.
3
+ Read SIM card details in your Capacitor app, including carrier, country and network codes, with multiple active subscriptions on Android.
4
4
 
5
5
  <a href="https://capgo.app/?ref=plugin_sim"><img src="https://capgo.app/readme-banner.svg?repo=Cap-go/capacitor-sim" alt="Capgo - Instant updates for Capacitor" /></a>
6
6
 
7
7
  <div align="center">
8
- <p><b>Capgo</b>: open-source live updates for Ionic and Capacitor apps. Ship OTA fixes and features instantly, without waiting for app store review.</p>
8
+ <p><b>Capgo</b>: push fixes to your Capacitor users in minutes, build signed iOS and Android apps without a Mac, and roll back in one click.</p>
9
9
  <h2><a href="https://capgo.app/register/?ref=plugin_sim">➡️ Get started for free</a></h2>
10
10
  <p>14-day unlimited free trial. No credit card required</p>
11
11
  <p><a href="https://capgo.app/consulting/?ref=plugin_sim">Missing a feature? We'll build the plugin for you 💪</a></p>
@@ -17,10 +17,10 @@ Read SIM card details in your Capacitor app, including carrier, country and netw
17
17
 
18
18
  ## Key features
19
19
 
20
- - **SIM info**: `getSimCards()` returns every SIM with carrier name, ISO country code, MCC and MNC.
21
- - **Dual SIM on Android**: one entry per slot with the slot index and, when available, the phone number.
20
+ - **SIM info**: `getSimCards()` returns the available SIM records with carrier name, ISO country code, MCC and MNC.
21
+ - **Android subscriptions**: one entry per active subscription with its slot index and, when available, the phone number.
22
22
  - **Permissions**: `checkPermissions()` and `requestPermissions()` for phone state access on Android.
23
- - **iOS**: carrier data from Core Telephony. On iOS 16.4 and later the system may return `--` or empty values.
23
+ - **iOS**: carrier data from Core Telephony. On iOS 16.4 and later the system may return `65535`, `--` or empty strings instead of real values.
24
24
  - **Platforms**: iOS and Android. Not available on web.
25
25
 
26
26
  ## Documentation
@@ -28,7 +28,7 @@ import java.util.List;
28
28
  )
29
29
  public class SimPlugin extends Plugin {
30
30
 
31
- private final String pluginVersion = "8.0.41";
31
+ private final String pluginVersion = "8.0.43";
32
32
 
33
33
  static final String READ_PHONE_STATE = "readPhoneState";
34
34
  static final String READ_PHONE_NUMBERS = "readPhoneNumbers";
@@ -4,7 +4,7 @@ import Foundation
4
4
 
5
5
  @objc(SimPlugin)
6
6
  public class SimPlugin: CAPPlugin, CAPBridgedPlugin {
7
- private let pluginVersion: String = "8.0.41"
7
+ private let pluginVersion: String = "8.0.43"
8
8
  public let identifier = "SimPlugin"
9
9
  public let jsName = "Sim"
10
10
  public let pluginMethods: [CAPPluginMethod] = [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@capgo/capacitor-sim",
3
- "version": "8.0.41",
3
+ "version": "8.0.43",
4
4
  "description": "Capacitor plugin to get information from device's sim cards",
5
5
  "main": "dist/plugin.cjs.js",
6
6
  "module": "dist/esm/index.js",
@@ -64,7 +64,7 @@
64
64
  "@ionic/eslint-config": "^0.5.0",
65
65
  "@ionic/prettier-config": "^4.0.0",
66
66
  "@ionic/swiftlint-config": "^2.0.0",
67
- "@types/node": "^24.10.1",
67
+ "@types/node": "^26.0.0",
68
68
  "@typescript-eslint/eslint-plugin": "^8.70.0",
69
69
  "@typescript-eslint/parser": "^8.70.0",
70
70
  "eslint": "^10.0.0",