|
@@ -111,7 +111,7 @@ async function getRequestedPermissions() {
|
111
|
111
|
async function setRequestedPermissions(permissions: string[]) {
|
112
|
112
|
const requested = await getRequestedPermissions();
|
113
|
113
|
const dedup = [...new Set([...requested, ...permissions])];
|
114
|
|
- return AsyncStorage.setItem(requestedKey, dedup);
|
|
114
|
+ return AsyncStorage.setItem(requestedKey, JSON.stringify(dedup));
|
115
|
115
|
}
|
116
|
116
|
|
117
|
117
|
async function internalCheck(
|