Skip to content

Commit

Permalink
add checkPermissions flag and bump package
Browse files Browse the repository at this point in the history
  • Loading branch information
walmat committed Jan 3, 2025
1 parent 64de9d5 commit 37c5731
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@
"react-native-branch": "5.3.1",
"react-native-change-icon": "4.0.0",
"react-native-circular-progress": "1.3.8",
"react-native-cloud-fs": "rainbow-me/react-native-cloud-fs#9b204615b76cf3d29bd86a9094dbd95d717b6a7a",
"react-native-cloud-fs": "rainbow-me/react-native-cloud-fs#d890deeaa0bb21c1679addbcfb5db9b98c36024d",
"react-native-crypto": "2.2.0",
"react-native-dark-mode": "0.2.2",
"react-native-device-info": "5.3.1",
Expand Down
2 changes: 1 addition & 1 deletion src/handlers/cloudBackup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export async function getGoogleAccountUserData(): Promise<GoogleDriveUserData |
if (!IS_ANDROID) {
return;
}
return RNCloudFs.getCurrentlySignedInUserData();
return RNCloudFs.getCurrentlySignedInUserData({ checkPermissions: true });
}

// This is used for dev purposes only!
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -8882,7 +8882,7 @@ __metadata:
react-native-branch: "npm:5.3.1"
react-native-change-icon: "npm:4.0.0"
react-native-circular-progress: "npm:1.3.8"
react-native-cloud-fs: "rainbow-me/react-native-cloud-fs#9b204615b76cf3d29bd86a9094dbd95d717b6a7a"
react-native-cloud-fs: "rainbow-me/react-native-cloud-fs#d890deeaa0bb21c1679addbcfb5db9b98c36024d"
react-native-crypto: "npm:2.2.0"
react-native-dark-mode: "npm:0.2.2"
react-native-device-info: "npm:5.3.1"
Expand Down Expand Up @@ -22280,10 +22280,10 @@ __metadata:
languageName: node
linkType: hard

"react-native-cloud-fs@rainbow-me/react-native-cloud-fs#9b204615b76cf3d29bd86a9094dbd95d717b6a7a":
"react-native-cloud-fs@rainbow-me/react-native-cloud-fs#d890deeaa0bb21c1679addbcfb5db9b98c36024d":
version: 2.6.2
resolution: "react-native-cloud-fs@https://github.com/rainbow-me/react-native-cloud-fs.git#commit=9b204615b76cf3d29bd86a9094dbd95d717b6a7a"
checksum: 10c0/db1c719b90475201aa1e1177209723598ac38689a827d387dd281ea5190ad09f3e6c8fee77caff70b46a228b6552459d9a9e73e4159c18a29d19d235e17d7907
resolution: "react-native-cloud-fs@https://github.com/rainbow-me/react-native-cloud-fs.git#commit=d890deeaa0bb21c1679addbcfb5db9b98c36024d"
checksum: 10c0/4ee21476080754953bdd88adb6242339fe13cfe5fd98f64767e301a59a04f035d6072959945d516487080afa5075ca683d035d7501328de13fc069fca08e3d3a
languageName: node
linkType: hard

Expand Down

0 comments on commit 37c5731

Please sign in to comment.