Flutter-Mobile-Number-Plugin icon indicating copy to clipboard operation
Flutter-Mobile-Number-Plugin copied to clipboard

Flutter Plugin to get the mobile number

Results 6 Flutter-Mobile-Number-Plugin issues
Sort by recently updated
recently updated
newest added

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. ![Screenshot 2024-07-09 at 15 02 28](https://github.com/amorenew/Flutter-Mobile-Number-Plugin/assets/48423769/dd0e4cf2-32fa-4c60-9760-02b039397729)

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:...