Web forum is in read-only mode. Login as active registered customer for write access
  Forum Search   New Posts New Posts

IOS Google Drive Connect(), GetFolder() issue

 Post Reply Post Reply
Author
Lee Jeong Kwon View Drop Down
New Member
New Member
Avatar

Joined: 01 Apr 2019
Posts: 4
Post Options Post Options   Quote Lee Jeong Kwon Quote  Post ReplyReply Direct Link To This Post Topic: IOS Google Drive Connect(), GetFolder() issue
    Posted: 15 Nov 2019 at 1:42am
Hello,

 An error occurred while creating a program that display a list of files in Google Drive, asking for help.

Enviroment:
 IDE Version : RadStudio 10.3.2
 Language    : C++ builder
 Build Type   : IOS
 TMSCloudPack Version : 3.5.4.0( 2019/11/08 )

Conent: 
1st. After setting app key and app secret in TMSFMXCloudGDrive component, app terminates when connect(). However, the authentication screen in called with the DoAuth() function.

2nd. The following message occurs when executing GetFolderList() function after authentication.
"No drive info returned. Verify that the Drive API is turned on in the Google servies panel."

Note. Google Drive is set to Enabled in the GoogleAPI.

In this situation, How can I get a list of files from GoogleDrive on IOS?
Thank you.
Back to Top
Bart Holvoet View Drop Down
TMS Support
TMS Support
Avatar

Joined: 18 May 2010
Posts: 2157
Post Options Post Options   Quote Bart Holvoet Quote  Post ReplyReply Direct Link To This Post Posted: 18 Nov 2019 at 3:04pm
Hi,

Can you please make sure ExternalBrowser is set to True?
Does the issue only occur on iOS or also on Windows?
If it happens on Windows as well, you can try to enable logging to see if there are any error messages.
Logging can be enabled by setting Logging to True and LogLevel to llDetail.
The LOG file is automatically generated in the machine's Documents folder.
Back to Top
Lee Jeong Kwon View Drop Down
New Member
New Member
Avatar

Joined: 01 Apr 2019
Posts: 4
Post Options Post Options   Quote Lee Jeong Kwon Quote  Post ReplyReply Direct Link To This Post Posted: 19 Nov 2019 at 4:49am
Hi~

I solved the problem.

The problem was caused by not registering SafariServices in the iOS SDK.

Thank you for your help.
Back to Top
Bart Holvoet View Drop Down
TMS Support
TMS Support
Avatar

Joined: 18 May 2010
Posts: 2157
Post Options Post Options   Quote Bart Holvoet Quote  Post ReplyReply Direct Link To This Post Posted: 19 Nov 2019 at 8:25am
Thank you for notifying the issue was resolved.
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down