Reputation: 2653
Is there a way to get user settings in react-native (both iOS and Android) ? For example, I would like to show the user's contacts with the chosen sorting preferences (last name - first name, or the opposite)
Thanks !
Upvotes: 2
Views: 628
Reputation: 7506
For iOS you can use React-Native's Settings which is a wrapper for iOS nsuserdefaults.
For accessing some system settings like volume, brightness, location, you can use react-native-system-setting.
If you want to access the user's contacts, have a look at react-native-contacts.
Upvotes: 1