The simcards package is a Flutter plugin designed to query active SIM cards on Android devices. It provides developers with programmatic access to information about the device's SIM card status, such as carrier details, SIM state, and ICCID. This enables apps to adapt functionality based on the presence or state of SIM cards, useful for connectivity management, network-aware features, or user authentication workflows. The plugin is platform-specific, supporting only Android at this time.
Use cases
- Checking SIM card availability
- Displaying carrier information
- Enabling SIM-dependent features
- Managing multi-SIM devices
- Implementing network-aware app logic
Key features
- Android-only support
- Access to SIM card details
- SIM state detection
- Carrier and ICCID retrieval
- Simple API integration
Suitable for
- Android app developers
- Network-aware applications
- Telecom-related apps
- Multi-SIM device handling
- Apps requiring SIM-based logic
Considerations
- Limited to Android platforms
- Requires runtime permissions
- No iOS support
- Depends on device manufacturer implementation
- May not work on all Android devices