diff --git a/native/utils/android-permissions.js b/native/utils/android-permissions.js --- a/native/utils/android-permissions.js +++ b/native/utils/android-permissions.js @@ -11,7 +11,7 @@ type PermissionsResult = { +[permission: string]: boolean }; async function getAndroidPermissions( - permissions: $ReadOnlyArray, + permissions: Array, checkOrRequest: CheckOrRequest, throwExceptions?: ThrowExceptions, ): Promise { @@ -61,14 +61,14 @@ } function requestAndroidPermissions( - permissions: $ReadOnlyArray, + permissions: Array, throwExceptions?: ThrowExceptions, ): Promise { return getAndroidPermissions(permissions, 'request', throwExceptions); } function checkAndroidPermissions( - permissions: $ReadOnlyArray, + permissions: Array, throwExceptions?: ThrowExceptions, ): Promise { return getAndroidPermissions(permissions, 'check', throwExceptions);