How to get a phone's number in React Native?
With React Native, how do you get the number of the current phone?
Along the same lines, can I get the user's name?
You cannot. This cannot be done using iOS public APIs and therefore cannot be done via React Native.
它看起来像react-native-sim
库可以在Android上做到这一点,但@xanadont提到,它目前不可能在iOS上。
上一篇: self.window总是零