react-native-sim-cards-manager
react-native-sim-cards-manager copied to clipboard
On iOS, setupEsim returns immediately as soon as LPA UI is launched
This is the same issue as reported here https://developer.apple.com/forums/thread/718896.
On iOS, when await SimCardManager.setupEsim(config);
is called, the promise is resolved as soon as the LPA UI is started with the response code of CTCellularPlanProvisioningAddPlanResultUnknown
(which results a rejected promise).
I have tested the suggested solution but found a couple of issues:
- Promise is resolved later in the LPA UI flow but not on the last screen, i.e. when the promise is resolved there are several other screens that are still presented to a user,
- When the promise is resolved, rather than returning
true
, I'm getting a number, e.g.1
even though the actual installation is successful