You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is it possible to upload files from the WEB through googleapis DriveApi instance?
How to convert File() (dart instance) to media file which create method need?
I tried to read the file with FileReader() as readAsArrayBuffer or readAsDataUrl but in first case I'm receiving Uint8List, in second String (base64).
Issue here is that Media() want first parameter to be async.Stream<core.List<core.int>>;
Can someone give me a solution of creating a file from web with that google package?
pub dependencies: googleapis: ^0.52.0+1
The text was updated successfully, but these errors were encountered:
ggeorgiev92
changed the title
Uploading files through DriveApi.files.create()
Uploading files through DriveApi.files.create() on web
Jun 6, 2019
That's close to what I need.
How can I do that magic with a File? I have file object - do I need to read it with FileReader() and if yes how? I tried with replace encode parameter with reader.result but the file was with broken encoding after that. Any idea?
Is it possible to upload files from the WEB through googleapis DriveApi instance?
How to convert File() (dart instance) to media file which create method need?
I tried to read the file with FileReader() as readAsArrayBuffer or readAsDataUrl but in first case I'm receiving Uint8List, in second String (base64).
Part of my code:
Issue here is that Media() want first parameter to be
async.Stream<core.List<core.int>>
;Can someone give me a solution of creating a file from web with that google package?
pub dependencies: googleapis: ^0.52.0+1
The text was updated successfully, but these errors were encountered: