Skip to content

@capgo/capacitor-sim

Retrieve SIM card information including carrier name, country code, and phone number

Retrieve SIM card information including carrier name, country code, and phone number

Start with getSimCards() and the other core methods listed below.

PlatformSupportNotes
iOSYesNative
AndroidYesNative
WebNoGuard with Capacitor.getPlatform()
  • 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.
MethodDescription
getSimCardsGet information from the device’s SIM cards.
checkPermissionsCheck permission to access SIM card information.
requestPermissionsRequest permission to access SIM card information.
getPluginVersionGet the native Capacitor plugin version.

This reference is synced from src/definitions.ts in 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.