Skip to content
pubscout

esim_compatibility

1.0.3, released 7 weeks ago by an unverified publisher

Check if the current Android or iOS device supports eSIM compatibility.

WASM-ready
$ flutter pub add esim_compatibility
Source repository

What it does

Checks whether the current Android or iOS device supports eSIM using native platform code. Provides a simple asynchronous method to return a boolean compatibility result.

AI-written summary of version 1.0.3, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You need to check eSIM compatibility before prompting users for eSIM activation.
  • You are building a telecom or carrier app targeting Android and iOS.

Skip it when

  • You need to manage or install eSIM profiles rather than just checking device capability.
  • You are targeting web, desktop, or unsupported platforms.

Strengths

  • No extra permissions required.
  • Uses native Android and iOS code for accurate detection.
  • Simple one-line Dart API.

Weaknesses

  • Only supports Android and iOS platforms.
  • iOS detection relies on a hardcoded device model list that requires updates for new devices.

Setup

Kind
Plugin (native code)
Effort
Low
Code generation
No
Direct dependencies
1

No extra permissions required. Simply add the dependency to pubspec.yaml.

import 'package:esim_compatibility/esim_compatibility.dart';

void main() async {
  final isCompatible = await EsimCompatibility.isEsimCompatible();

  if (isCompatible) {
    print("✅ Device supports eSIM");
  } else {
    print("❌ Device does not support eSIM");
  }
}

Alternatives

Packages that do the same job and could replace esim_compatibility.

  • device_info_plus

    Provides general device and OS information which can be used to manually inspect OS versions and hardware properties.

Works with

Packages commonly used together with esim_compatibility: ones it builds on, ones built on it, and its own family.