Skip to content
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

celll id issue #39

Open
Mujjafar-Momin opened this issue Nov 7, 2023 · 2 comments
Open

celll id issue #39

Mujjafar-Momin opened this issue Nov 7, 2023 · 2 comments

Comments

@Mujjafar-Momin
Copy link

i was using to get only carrier name but I am getting issue on this line
cellId: CellId.fromMap(map['cellId']),

E/flutter ( 8993): [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: type 'Null' is not a subtype of type 'Map<dynamic, dynamic>'
E/flutter ( 8993): #0 new TelephonyInfo.fromMap (package:carrier_info/src/models/android_carrier_data.dart:382:33)
E/flutter ( 8993): #1 new AndroidCarrierData.fromMap. (package:carrier_info/src/models/android_carrier_data.dart:64:58)
E/flutter ( 8993): #2 MappedListIterable.elementAt (dart:_internal/iterable.dart:415:31)
E/flutter ( 8993): #3 ListIterator.moveNext (dart:_internal/iterable.dart:344:26)
E/flutter ( 8993): #4 new List.from (dart:core-patch/array_patch.dart:37:17)
E/flutter ( 8993): #5 new AndroidCarrierData.fromMap (package:carrier_info/src/models/android_carrier_data.dart:63:22)
E/flutter ( 8993): #6 CarrierInfo.getAndroidInfo (package:carrier_info/src/carrier_info.dart:12:31)
E/flutter ( 8993):
E/flutter ( 8993): #7 SimName.init (package:ffclite/utils/app_device_info.dart:52:26)
E/flutter ( 8993):
E/flutter ( 8993): #8 main (package:ffclite/main.dart:23:3)
E/flutter ( 8993):
please check

@LarssK-TS
Copy link

did you manage to resolve this?

@saiful00000
Copy link

What is you android version?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants