More bug fixes
This commit is contained in:
@@ -26,19 +26,6 @@ export const ensurePermissions = (
|
||||
onSuccess,
|
||||
onError
|
||||
) => {
|
||||
if (Platform.OS === "ios") {
|
||||
if (onSuccess) {
|
||||
onSuccess(
|
||||
permissions.reduce(
|
||||
(dict, permission) =>
|
||||
(dict[permission] = PermissionsAndroid.RESULTS.GRANTED),
|
||||
{}
|
||||
)
|
||||
)
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
PermissionsAndroid.requestMultiple(permissions, rationale)
|
||||
.then((results) => {
|
||||
if (
|
||||
|
||||
Reference in New Issue
Block a user