npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2025 – Pkg Stats / Ryan Hefner

expo-esim

v1.0.7

Published

Esim Installation Native Module For React Native

Downloads

1,098

Readme

📱 expo-esim

eSIM Installation Native Module for React Native (Expo)

A native module for managing eSIM activation and QR code scanning in React Native apps using Expo.


🚀 Features

  • Install eSIM profiles using activation codes
  • Scan QR codes for eSIM activation
  • Seamless integration with Expo and React Native

📦 Installation

npx expo install expo-esim

Make sure you are using the custom development client:

npx expo run:android

⚙️ Usage

1️⃣ Install eSIM

import ExpoEsimModule from 'expo-esim';

const installEsim = async (activationCode: string) => {
  try {
    const result = await ExpoEsimModule.install(activationCode);
    console.log('Success:', result);
  } catch (error) {
    console.error('Error:', error);
  }
};

2️⃣ Scan eSIM QR Code

import ExpoEsimModule from 'expo-esim';

const scanEsimQrCode = async () => {
  try {
    const result = await ExpoEsimModule.scanQrCode();
    console.log('Success:', result);
  } catch (error) {
    console.error('Error:', error);
  }
};

📋 API Reference

install(activationCode: string): Promise<string>

  • Description: Installs an eSIM profile using the provided activation code.
  • Parameters:
    • activationCode (string): The eSIM activation code.
  • Returns: Promise resolving with a success message or rejecting with an error.

scanQrCode(): Promise<string>

  • Description: Opens the QR code scanner to activate an eSIM.
  • Returns: Promise resolving with a success message or rejecting with an error.

📱 Android Requirments

Ensure the app targets Android 11 (API level 30) or higher for eSIM functionality.


💡 Example Project

You can find a complete example implementation in the repository under the /example folder.

To run the example:

cd example
npx expo run:android

🐛 Reporting Issues

Found a bug or want to request a feature? Open an issue here.


👨‍💻 Author

Ahmed Mones
🔗 GitHub - Al-Taie


📄 License

This project is licensed under the MIT License.


🌟 Support

If you find this module helpful, please consider starring the repository to support the project!

⭐ Star the repo