matrix-org / matrix-ios-kit

Reusable UI interfaces to ease building of Matrix client apps
http://www.matrix.org
Apache License 2.0
128 stars 71 forks source link

Remove automatic contacts access request. #879

Closed pixlwave closed 3 years ago

pixlwave commented 3 years ago

Part of https://github.com/vector-im/element-ios/issues/4484.

Removes the automatic contacts access request when refreshing local contacts, instead behaving as if the user rejected access. This allows the app to decide the best time to make the request for access.

Additionally a new setting syncLocalContactsPermissionOpenedSystemSettings has been added to detect when the user has chosen "Settings" if they previously declined access. This can be used to check whether they enabled access the next time the app is launched. The name feels a bit long, open to other options.