CoreTelephony eSIM functions not working on device

前端 未结 2 1718
死守一世寂寞
死守一世寂寞 2021-01-05 15:03

I\'ve been having some trouble implementing eSIM into an existing iOS carrier-application.

The setup

  • The app has received the
2条回答
  •  盖世英雄少女心
    2021-01-05 15:44

    So... after a lot of trial an error I was able to solve this little issue.

    There are 2 things to know about supportsCellularPlan() (other then having the eSIM entitlements of course).

    First:
    You need to have WiFi enabled for it to work as it seems to need to connect with Apple for some checks.

    Second:
    It requires the CarrierDescriptors to be entered correctly in your info.plist as it is carrier-bound.

    Once you have that, it should work as expected.

提交回复
热议问题