I’m having an issue with the Expo Cellular library. I basically want to see if the user is able to handle normal, cellular calls. If they can’t, I’d like to hide the calling feature from the app.
I’ve tried a few methods, none of which seem to work. Here’s what I’ve tried (some non Expo):
- The NetInfo Library. It only shows the currently active connection. So on phones with Cellular that are on WiFi it shows as only WiFi.
- SDK Version: 39.0.5 (got from packages.json)
- Platforms(Android/iOS/web/all): iOS (other platforms untested)
I’m not sure why Cellular.carrier doesn’t work for me. Well, actually, it works on my specific phone with a specific carrier. My friend with a different carrier shows as null. Is there some reason why it wouldn’t be able to detect that? We compared settings on our devices and found nothing that changed it.
Thank you all so much!