1.Introduction
Description: Using this extension you can use user’s App Data Folder of Drive.
Latest Version: 1
Released:
June 18, 2021 12:00 AM → June 19, 2021 12:00 AM
June 17, 2021 8:30 PM → June 18, 2021 8:30 PM
June 17, 2021 11:30 AM → June 18, 2021 11:30 AM
” style=”cursor: pointer; border-bottom: 1px dashed rgb(189, 189, 189); white-space: nowrap;”>Today
Last Updated:
June 18, 2021 12:00 AM → June 19, 2021 12:00 AM
June 17, 2021 8:30 PM → June 18, 2021 8:30 PM
June 17, 2021 11:30 AM → June 18, 2021 11:30 AM
” style=”cursor: pointer; border-bottom: 1px dashed rgb(189, 189, 189); white-space: nowrap;”>Today
Permissions: android.permission.READ_EXTERNAL_STORAGE,android.permission.WRITE_EXTERNAL_STORAGE,android.permission.GET_ACCOUNTS,android.permission.MANAGE_ACCOUNTS
Note: You may not need to ask any of the above permission
2.Blocks
3.Documentation
AuthFailed
Event invoked when authentication fails and returns the error message
Params |
---|
errorMessage | text
AuthSuccess
Event indicating that authentication was successful and returns the necessary credentials
Params |
---|
displayName | text
email | text
photoUrl | text
FileDeleted
Event invoked after ‘DeleteFile’ method with result which will be either true(boolean) or the error message
Params |
---|
result | text
FileDownloaded
Event indicating that file has been downloaded and returns the file’s path
Params |
---|
filePath | text
FileUpdated
Event indicating that file has been updated and returns the file’s id
Params |
---|
fileId | text
FileUploaded
Event indicating that file has been uploaded and returns the file’s id
Params |
---|
fileId | text
FolderCreated
Event invoked after creating folder and returns the newly created foder’s id
Params |
---|
folderId | text
GotError
Event invoked in most of cases when an error occurs and provides the error message
Params |
---|
errorMessage | text
GotFileInfo
Event invoked after getting file’s info as a dictionary
Params |
---|
infoDictionary | dictionary
GotFilesList
Event invoked after getting files list which is a dictionary having file name as key and id as value
Params |
---|
files | dictionary
CreateFolder
Creates folder in parent folder (App Data Folder if set to empty)
Params |
---|
parentId | text
folderName | text
DeleteFile
Deletes the specified file
Params |
---|
fileId | text
DownloadFile
Downloads specified file to the given path
Params |
---|
fileId | text
downloadPath | text
GetFileInfo
Gets info of given folder/file from its id
Params |
---|
fileId | text
IsAuthorized
Returns whether user has signed in and granted access or not.
It must be called before using any other method except LaunchAuthFlow.
Return type : boolean
LaunchAuthFlow
Launches auth flow to get access from user
ListFiles
Lists files present in specified folder with given filter i.e. includeFolders
Params |
---|
folderId | text
includeFolders | boolean
RevokeAccess
Revokes access and signs out the user
SignOut
Signs out the user from app
UpdateFile
Tries to update the already existing file
Params |
---|
fileId | text
newFilePath | text
newMetadata | dictionary
UploadFile
Uploads files to specified folder,if folderId is empty then uploads to root of app data folder
Params |
---|
folderId | text
filePath | text
4.Buy/Donate
Kindly email([email protected]) me.
———————–
External References:
Hope it helps!
OO nice Bru !