wwayne/react-native-user-defaults

Support App Groups

skilesare opened this issue · 1 comments

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

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)