esim_check 1.2.1 copy "esim_check: ^1.2.1" to clipboard
esim_check: ^1.2.1 copied to clipboard

Check eSIM support using native APIs (EuiccManager on Android, device model identifier on iOS).

example/lib/main.dart

// ignore_for_file: avoid_print
import 'package:esim_check/esim_check.dart';

Future<void> main() async {
  // Returns true if the device has eSIM hardware, false otherwise.
  final supported = await EsimCheck.isSupported();
  print('eSIM supported: $supported');

  // Optional: correct the verdict for specific iOS model identifiers.
  final corrected = await EsimCheck.isSupported(
    includeIosModels: ['iPad19,3'], // cellular model the heuristic misses
    excludeIosModels: ['iPad18,4'], // WiFi-only model the heuristic matches
  );
  print('eSIM supported (corrected): $corrected');
}
0
likes
160
points
233
downloads

Documentation

API reference

Publisher

verified publisherecift.com

Weekly Downloads

Check eSIM support using native APIs (EuiccManager on Android, device model identifier on iOS).

Repository (GitHub)
View/report issues

Topics

#esim

License

MIT (license)

Dependencies

flutter

More

Packages that depend on esim_check

Packages that implement esim_check