Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[iOS] Add Plan issue, setupEsim returns immediately as soon as LPA UI is launched #81

Open
Neeal20 opened this issue Jul 24, 2024 · 4 comments

Comments

@Neeal20
Copy link

Neeal20 commented Jul 24, 2024

Hello,

We're encountering a problem with eSIM installation on iOS. When invoking SimCardManager.setupEsim(config), the promise resolves immediately as the LPA (Local Profile Assistant) UI initiates, specifically when it prompts the user for authorization to install the eSIM.

Consequently, we receive an "unknown error" result every time, regardless of whether the installation succeeds or not, because the promise returns before the actual installation outcome is determined.

Has anyone found a solution to this issue?

Thank you in advance.

@zensimau
Copy link

zensimau commented Sep 16, 2024

I am encountering the same issue on Android (S24+). My try/catch returns the following error:

EMBEDDED_SUBSCRIPTION_RESULT_RESOLVABLE_ERROR - Can't setup eSim due to Activity error null

Note my UI also prompts for a confirmation code (pin) as the eSIM requires this.

@Neeal20
Copy link
Author

Neeal20 commented Nov 28, 2024

Did you find a solution for this, @zensimau? I found one for the LPA on iOS and just created a PR for it. However, we now have the same issue on Android, but not on every device.

The issue is similar: launching the setup, the permissions pop-up appears, I authorize it, then I get "EMBEDDED_SUBSCRIPTION_RESULT_RESOLVABLE_ERROR - Can't setup eSim due to Activity error null." Despite this error, the setup continues in the background and the eSIM is installed.

@zensimau
Copy link

zensimau commented Dec 4, 2024

Hey @Neeal20, I did not find a solution for IOS we ended up implementing the IOS dynamic link which works for IOS version 17.4 and above where you can just use a dynamic URL and if the user clicks on it, the eSIM will be installed ie.
https://esimsetup.apple.com/esim_qrcode_provisioning?carddata={esimAddress}

@Neeal20
Copy link
Author

Neeal20 commented Dec 5, 2024

Hello @zensimau. Check my pull request #91 it fix the unknow result for iOS when the LPA is lauching for us.

But, we now have the same problem on android till the 1.0.24 version with Android 14.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants