Commit 2d7fe8fc authored by Sai Srinivas's avatar Sai Srinivas
Browse files

ios

parent 924f8732
......@@ -516,18 +516,4 @@ class _ContactListScreenState extends State<ContactListScreen> {
),
);
}
Future<void> _requestContactsPermission() async {
final status = await Permission.contacts.status;
if (status.isPermanentlyDenied) {
// Show dialog and send user to settings
await openAppSettings();
return;
}
if (!status.isGranted) {
await Permission.contacts.request();
}
}
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment