arnaudambro
arnaudambro

Reputation: 2653

React-native - get user settings

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

Answers (1)

c-chavez
c-chavez

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

Related Questions