Skip to content
Eungi Kim edited this page Oct 31, 2019 · 13 revisions

This wiki explains what data you can get, what it is, and how to get.

Refer to README for installing and useage.

Data Description
Allows VoIP Indicates if the carrier allows making VoIP calls on its network.
Carrier Name The name of the user’s home cellular service provider.
ISO Country Code The ISO country code for the user’s cellular service provider.
Mobile Country Code The mobile country code (MCC) for the user’s cellular service provider.
Mobile Network Code The mobile network code (MNC) for the user’s cellular service provider.

  • Not in the current version.

Error result

  • "SIM_STATE_NOT_READY"

On android: Call getSimState method and if SIM_STATE_READY is not returned, this error will be returned.
On iOS: Get SIM data and if return NIL, this error will be returned.

  • "PERMISSION_DENIED"

On android: Have not READ_PHONE_STATE permission, this error will be returned.

  • "null"

On android: An error occurs when all of the above conditions are passed but no data is available.

Clone this wiki locally