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上。

链接地址: http://www.djcxy.com/p/87342.html

上一篇: self.window总是零

下一篇: 如何在React Native中获取电话号码?