[PAID] GDrive: Just a Google Drive(App Data Folder) extension [$8 or INR 551]

1.Introduction

Description: Using this extension you can use user's App Data Folder of Drive.
Latest Version: 1
Released: 2021-06-17T18:30:00Z
Last Updated: 2021-06-17T18:30:00Z
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

image

image

image

image

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 PM me. :heart:

5.How does extension work?

Get Access to App Data Folder of User's drive

First of all to access a google service we need credentials from google (will be discussed next) and consent from user.
This is how we get consent from user:


Since all the authentication happens by Google Sign In activities so app/extension will be able to access data which was granted by user.

Scopes Requested
The extension works with App Data Folder so the only requested scope is DriveScopes.DRIVE_APPDATA.
It does not allow any app/service to read/write files outside of the folder assigned to it by Drive.
However, there is no any other limit so app can do whatever it wants with that specific space.

Create OAuth Client for your app

To get Google verify your app to use Drive you need to register your app in Google Console, for which steps are given here: https://github.com/mesadhan/google-drive-app#registering-for-google-drive

Is it safe?

Yes, app/extension will not request for any sensitive data.
It gets following information, on the consent of user:

  • display name
  • email
  • photo url

These are usually public for a Google Account

6.Demo Video

Hope it helps! :slightly_smiling_face:

12 Likes

Great Extension

I tested it and it works perfectly :blush:

I would also appreciate the hard work and time given by @vknow360 on this extension on my demand.

4 Likes

Epic extension @vknow360

:smiling_face_with_three_hearts:

Why your extensions always amaze me ? :thinking:

1 Like

Great extension!
Working great! :slight_smile:

2 Likes

Another Gr8 Extension by @vknow360 :partying_face:

2 Likes

Hola, vi la extension y me interesa. Como me envias la extension? Como te mando el pago?

1 Like

As you are new, you might not be able to send PMs.
@vknow360

Great extension :heart:

There is a translation feature in every post.

But the Yandex translate doesn't work well..
Edit: You saw that :wink:

2 Likes

Can you get direct link to download or you have to download from gdrive preview page?

You can get direct download link and also preview link.

Cool. I'll message you to buy it

@isheetdb

Wait...there is still some doubt which I need to confirm.

1 Like

Just messaged you

1 Like

Confirmed, you can't share or view files stored in App Data Folder.
So you can only download them from your own app.

1 Like

Price has been reduced to $8 or INR 551.

Spoilers
Spoiler 1

Extended version of GDrive is coming

Spoiler 2

Extended version will have all features of this extension

2 Likes

link for buy/?

Send a private message (PM), or wait for one, if you can't PM yet...

Demo apk please