Lakshya Jain
Lakshya Jain

Reputation: 196

Uploading Images To A Common Google Drive Account Using Flutter

I am trying to find a way to upload images to one particular account in google drive from my flutter app. Please see the below flowchart for reference.

User 1 -> Selects Image From Device -> Show that image in flutter app -> Upload In [email protected] Google Drive -> Enable sharing to everyone who has the link -> Get link in flutter app.

Do note that the user 1 does not have access to [email protected]

Upvotes: 2

Views: 2678

Answers (1)

minchaej
minchaej

Reputation: 1824

Yes, you can upload images to Google Drive.

You can upload the image and download the image using Google Drive API.

Here is the manual:

Let me know if you have more questions.

PS: However, it is NOT encouraged to use Google Drive as your CDN because Google Drive will limit your API usage when your traffic is quite large. If you plan on scaling your app in the future, I would recommend a proper CDN.

Upvotes: 2

Related Questions