Firstly, thanks for your work on this project! 🙂
Today I used patch-package to patch react-native-sim-cards-manager@1.0.18 for the project I'm working on.
The setupEsim function doesn't distinguish a success result from cancellation, at least on iOS (I think also on Android, but I'm not an Android developer so I'm not sure the flow is the same). Since the function returns a boolean in case of no error, I've patched it to return true only on success, and return false if the user cancels.
Hi! 👋
Firstly, thanks for your work on this project! 🙂
Today I used patch-package to patch
react-native-sim-cards-manager@1.0.18
for the project I'm working on.The setupEsim function doesn't distinguish a success result from cancellation, at least on iOS (I think also on Android, but I'm not an Android developer so I'm not sure the flow is the same). Since the function returns a boolean in case of no error, I've patched it to return true only on success, and return false if the user cancels.
Here is the diff that solved my problem:
This issue body was partially generated by patch-package.
Regards, Uriah Eisenstein