RichUtils / pyxis.uzuki.live.richutilskt.utils / android.content.Context / getLine1Number

getLine1Number

fun Context.getLine1Number(): String

get Line1Number (as know as PhoneNumber) of device

this methods will grant READ_PHONE_STATE automatically if your application target SDK 23 and above.

Return
Line1Number of device