christianrowlands / android-network-survey

Cellular Survey Android App
https://www.networksurvey.app
Apache License 2.0
131 stars 25 forks source link

German Carrier Telekom didn't show #36

Closed Dtrieb closed 2 months ago

Dtrieb commented 3 months ago

Screenshot_20240405-234320

As you can see on my screenshot the German Carrier "Telekom" didn't show in the carrier field.

Pixel 7 pro - Android 14

christianrowlands commented 3 months ago

Hey, thanks for reporting this bug.

I have a similar problem with Mint Mobile in the US. I have a dual sim setup with Verizon and Mint Mobile, and for whatever reason Mint Mobile is always blank on my phone just like in your screenshot. I am running on a Pixel 8 Pro.

I have debugged the code on this and when I ask for the provider from Android it gives me an empty value. This seems to be an Android issue of some variety.

Dtrieb commented 3 months ago

Yes the other SIM card and carrier is showing right.

Maybe you can look how they make it: https://github.com/mroczis/netmonster-core?utm_source=android_app

christianrowlands commented 3 months ago

Yeah I will take a look at how they do it. I wonder if they are performing a lookup using the MCC and MNC. I could probably put something like that together.

christianrowlands commented 2 months ago

I might have a fix for this. I found some other approaches to getting the carrier name that worked with Mint Mobile. I implemented one of them and just not committed the change. I will push out a release this week so you can take a look and see if it works on your device.

Dtrieb commented 2 months ago

On Version 1.23 now it works. Thank you!