GertjanReynaert / react-native-device

A UIDevice class wrapper for React Native
179 stars 34 forks source link

Get the full device name? #10

Closed pickhardt closed 9 years ago

pickhardt commented 9 years ago

Can I get the full device name, usually something like "John Smith's iPhone"?

I'd like to do something like this:

http://stackoverflow.com/a/21343625/3011531

So that I can get the user's full name from their device name.

kkjdaniel commented 9 years ago

11

Created a pull request updating the entire package to use the native UIDevice class, inside is a property that you can use to fetch the device name.

In the mean time you can use my fork