-
Notifications
You must be signed in to change notification settings - Fork 64
Open
Description
Get the file or selected file path from google drive. state any example for that?
my code:
const sourceUri = {uri: 'https://drive.google.com'};
const destinationPath = "foo-bar/docs/info.pdf";
const mimeType = null;
const scope = 'visible';
RNCloudFs.copyToCloud({
sourcePath: sourceUri,
targetPath: destinationPath,
mimeType: mimeType,
scope: scope
})
.then((path) => {
console.log("it worked", path);
})
.catch((err) => {
console.warn("it failed", err);
})
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels