CoreTelephony eSIM functions not working on device

前端 未结 2 1714
死守一世寂寞
死守一世寂寞 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:40

    Apple documentation of class CTCellularPlanProvisioning which have supportsCellularPlan() instance function:

    Overview

    This class is only available to carrier apps with suitable entitlements.

    Therefore we need to request for eSIM entitlement using developer account. Manual can be found here.

    0 讨论(0)
  • 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.

    0 讨论(0)
提交回复
热议问题