@capgo/capacitor-sim
Retrieve SIM card information including carrier name, country code, and phone number
Overview
Section titled “Overview”Retrieve SIM card information including carrier name, country code, and phone number
Start with getSimCards() and the other core methods listed below.
Platform support
Section titled “Platform support”| Platform | Support | Notes |
|---|---|---|
| iOS | Yes | Native |
| Android | Yes | Native |
| Web | No | Guard with Capacitor.getPlatform() |
Core Capabilities
Section titled “Core Capabilities”getSimCards- Get information from the device’s SIM cards.checkPermissions- Check permission to access SIM card information.requestPermissions- Request permission to access SIM card information.
Public API
Section titled “Public API”| Method | Description |
|---|---|
getSimCards | Get information from the device’s SIM cards. |
checkPermissions | Check permission to access SIM card information. |
requestPermissions | Request permission to access SIM card information. |
getPluginVersion | Get the native Capacitor plugin version. |
Source Of Truth
Section titled “Source Of Truth”This reference is synced from src/definitions.ts in capacitor-sim.
Keep going from @capgo/capacitor-sim
Section titled “Keep going from @capgo/capacitor-sim”If you are using @capgo/capacitor-sim to plan dashboard and API operations, connect it with Using @capgo/capacitor-sim for the native capability in Using @capgo/capacitor-sim, API Overview for the implementation detail in API Overview, Introduction for the implementation detail in Introduction, API Keys for the implementation detail in API Keys, and Devices for the implementation detail in Devices.