esim_installer 0.0.5 copy "esim_installer: ^0.0.5" to clipboard
esim_installer: ^0.0.5 copied to clipboard

A Flutter plugin to install eSIM on Android and open provisioning URL on iOS for easy setup.

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:esim_installer/esim_installer.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        appBar: AppBar(title: const Text('eSIM Installer Example')),
        body: Center(
          child: ElevatedButton(
            onPressed: () async {
              final result = await EsimInstaller.installEsim(
                code:
                    'LPA:1\$123456789012345678901234567890', // مثال لكود تنشيط
              );
              debugPrint(result ? 'تم التثبيت' : 'فشل التثبيت');
            },
            child: const Text('تثبيت eSIM'),
          ),
        ),
      ),
    );
  }
}
0
likes
160
points
38
downloads

Publisher

unverified uploader

Weekly Downloads

A Flutter plugin to install eSIM on Android and open provisioning URL on iOS for easy setup.

Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

flutter, plugin_platform_interface, url_launcher

More

Packages that depend on esim_installer