ChromeRestClient icon indicating copy to clipboard operation
ChromeRestClient copied to clipboard

Google drive integration

Open RanGold opened this issue 9 years ago • 16 comments

  1. I don't see any files to select from
  2. I can't choose which account do I want to integrate with

Versions

App: 7.7.26.168-stable Chrome: 50.0.2661.75 Platform: Windows (7)

RanGold avatar Apr 19 '16 13:04 RanGold

Hi,

Thank you for issue report.

Chrome identity API works only on a currently signed in profile in Chrome. My as an author can't do nothing about that since it is internal procedure to get the token. If you need to change the account to connect with the Drive, please, create new chrome profile and install the app there. Alternatively you can file an issue in Chromium and when the API will be available then I can consider using it to select between different accounts.

As for right now I'm closing this issue as WAI.

jarrodek avatar Apr 19 '16 14:04 jarrodek

What about the first problem? I can't seem to find any file on the drive? Does this work for you?

RanGold avatar Apr 19 '16 14:04 RanGold

It is working well. What do you see when you open a dialog?

jarrodek avatar Apr 19 '16 15:04 jarrodek

An empty window as such: (Also the search yields no results) image

RanGold avatar Apr 20 '16 05:04 RanGold

Is signing out and in helps? And do you have ARC's files on your drive?

jarrodek avatar Apr 20 '16 10:04 jarrodek

I tried Sing-in and out again, and still no change. I have an arc file (saved using the previous version) in the root Google drive dir

RanGold avatar Apr 20 '16 11:04 RanGold

Can you see any message in app's logs? Or you can debug the app and paste the XHR response from the drive call.

jarrodek avatar Apr 20 '16 12:04 jarrodek

As expected: { "files": [] }

RanGold avatar Apr 20 '16 12:04 RanGold

as for the permissions: image

RanGold avatar Apr 20 '16 12:04 RanGold

Thank you for your clarification.

Google Drive API returns empty list of requests. Can you try open the file from Drive UI (right click on the file and open with)? Just to check if that works.

jarrodek avatar Apr 20 '16 12:04 jarrodek

Open with worked, and it was added as an option on the "Saved" list. Still the Open from Google drive yields no results, but I can manage with this.

RanGold avatar Apr 20 '16 12:04 RanGold

I don't know the reason for this behaviour. The list of files is returned when I'm trying to get files from Drive. Maybe there's some other issue here..

jarrodek avatar Apr 20 '16 12:04 jarrodek

Ran in to the same issue, no files visible on drive in "Select file" modal.

happycze avatar Apr 22 '16 09:04 happycze

@happycze Thank you for joining the discussion. Can you please try to open the file using Drive UI (on drive.google.com) and check if this helps?

jarrodek avatar Apr 25 '16 20:04 jarrodek

@jarrodek i got no file yet, "Select file" modal still blank.

happycze avatar Apr 26 '16 21:04 happycze

I am seeing the exact same issue.

ghost avatar Aug 08 '17 19:08 ghost