wwayne / react-native-user-defaults

All you need is set and get
MIT License
58 stars 10 forks source link

Support App Groups #6

Closed skilesare closed 8 years ago

skilesare commented 8 years ago

It would be great to have some documentation on how to set this up to use app groups.

wwayne commented 8 years ago

Do you mean something like this?

userDefaults.set("key2", [1, true], "group.com.company.app", (err, data) => {
  if(!err) console.log(data)         // Save success
})

^
userDefaults.set(kay, value, suitName, callback)