react-native-webrtc / react-native-carrier-info

React Native module bridge to obtain information about the user’s home cellular service provider,
MIT License
85 stars 39 forks source link

Safely access getSimOperator in case of empty string #11

Closed mikehardy closed 5 years ago

mikehardy commented 5 years ago

I have a tablet that returns an empty string from getSimOperator but we only check for null - this makes the module's APIs safe in case of empty strings

zxcpoiu commented 5 years ago

thanks!