-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Throwing error and returning null on Mobile phone wihtout SimCard injected #33
Comments
will take a look this week, may I know which commit are you using? |
I am using the latest commit of version 2.0.8 . |
can you try replacing this line in pubspec. yaml
with these 2 lines:
and see if it works? |
Still the same problem unfortunately :/ |
I'm unable to repro this issue even when using a device with no sim card inserted. Did you ran
Also, may I know which Android version that you're using? |
facing same issue |
Try this solution |
When Trying on a phone where there is no sim card injected, the package throws this error :
PlatformException(no_carrier_name, No carrier name, java.lang.StringIndexOutOfBoundsException: length=0; index=3, null)
The text was updated successfully, but these errors were encountered: