Flutter-Mobile-Number-Plugin
Flutter-Mobile-Number-Plugin copied to clipboard
Flutter Plugin to get the mobile number
i am using MobileNumber class and getSimCards static property of this class but on some devices i am getting only 1 sim number from available 2 sim cards and in...
in dual sim showing only first slot sim card please give me solution
in the next link you can find info about getActiveSubscriptionInfoList() returning null https://developer.android.com/reference/android/telephony/SubscriptionManager#getActiveSubscriptionInfoList() error PlatformException(error, Attempt to invoke interface method 'java.util.Iterator java.util.List.iterator()' on a null object reference, null, java.lang.NullPointerException: Attempt...
I think this logic doesn't seem quite right, can you confirm it? The line assigning number in the if statement has no effect. 
I used your library to get the phone number, but it doesn't work with eSIM. I tried replacing `subscriptionInfo.getNumber();` with `final int id = SubscriptionManager.getActiveDataSubscriptionId(); final String phoneNumber = subscriptionManager.getPhoneNumber(id);`...
Hi, while upgrading to ### flutter v3.22.0 **We have this following error on console** `../pub.dev/mobile_number-2.1.1/android/src/main/java/com/amorenew/mobile_number/MobileNumberPlugin.java uses or overrides a deprecated API.` **To be precise, here is the error** ` /MethodChannel#mobile_number:...