No cloud login possible with my app and your demo

Hello,

Rad Studio 10.3.3
FMX Cloud Pack 3.4.5.2
Android 9

I just wanted recompile my working App with the new Rad Studio for Android 64Bit.
But there is the problem, that the App will be closed (died) if I want to login in a Cloud, e.g. Dropbox or Google Drive.

Okay, that's why I checked your current CloudStorageDemo and the same problem appears.
E.g. try to connect to Dropbox. Wait some seconds and then make the login. The website will tell you 127.0.0.1 is not reachable.

Could you check it? But take care to wait some seconds before you end the login.

Hi,


Can you please make sure to follow instructions detailed in this blog post?
https://www.tmssoftware.com/site/blog.asp?post=571

Hello,


  1. Install/Update one of the products in the above list
  2. Update the macOS & Android 64 bit library path with the path to the source files (*.pas)
  3. Compile/Deploy your application for macOS & Android 64 bit by changing the target platform

Yes, I did it für "all configurations - Android 64 Bit" and also for "all configurations - iOS 64 Bit".

I was able to check you demo als under iOS and there it works, also my app.
It seems that the problem appears under Android 64 Bit compilation.

Is 127.0.0.1 configured as the callback URL (on all devices you use?)

Yes, of course. I didn't change anything on my previous working app. I work with this component since 3 or 4 years!


The only thing I changed was to install RAD Studio 10.3.3 with 64Bit Android Support.
It was also installed a previous version of TMS FMX Cloud Pack and the problem appears.
That's why I did make an update of TMS FMX Cloud Pack to the current version and the problem is still alive.

Then I was testing your CloudStorageDemo. I had to make some adjustments for saving the tokens in ini.file, but no changes at Changeback URL or Changeback Port. And the problem also appears in this version.

The effect is, that after switching to the external login page, the app crashes (the ADB monitor means "app died") after some seconds. And this is the reason after finishing the login procedure I will get the error message "The website http://127.0.0.1/8888/?code=...." isn't available. The login procedure takes a few seconds.

And if I switch back to the app I can see that the app restarts.


This is the error message: 

01-21 10:06:08.001: I/ActivityManager(1571): Process com.embarcadero.CloudStorageDemo (pid 4605) has died: cch+3CAC 

This is the complete report with "CloudStorageDemo" filter:


01-21 10:05:25.331: I/PhoneWindow(4605): isAPPNeedChange pkgName: com.embarcadero.CloudStorageDemo needKeep: false
01-21 10:05:25.444: D/StatusBarManagerService(1571): manageDisableList userId=0 what=0x0 pkg=Window{fbc6b0e u0 com.embarcadero.CloudStorageDemo/com.embarcadero.firemonkey.FMXNativeActivity}
01-21 10:05:25.445: D/StatusBarManagerService(1571): disableLocked net1 = 0; net2 = 0 pkg=Window{fbc6b0e u0 com.embarcadero.CloudStorageDemo/com.embarcadero.firemonkey.FMXNativeActivity}
01-21 10:05:25.769: D/StatusBarManagerService(1571): manageDisableList userId=0 what=0x0 pkg=Window{fbc6b0e u0 com.embarcadero.CloudStorageDemo/com.embarcadero.firemonkey.FMXNativeActivity}
01-21 10:05:25.769: D/StatusBarManagerService(1571): disableLocked net1 = 0; net2 = 0 pkg=Window{fbc6b0e u0 com.embarcadero.CloudStorageDemo/com.embarcadero.firemonkey.FMXNativeActivity}
01-21 10:05:25.772: D/StatusBarManagerService(1571): manageDisableList userId=0 what=0x0 pkg=Window{fbc6b0e u0 com.embarcadero.CloudStorageDemo/com.embarcadero.firemonkey.FMXNativeActivity}
01-21 10:05:25.772: D/StatusBarManagerService(1571): disableLocked net1 = 0; net2 = 0 pkg=Window{fbc6b0e u0 com.embarcadero.CloudStorageDemo/com.embarcadero.firemonkey.FMXNativeActivity}
01-21 10:05:25.777: D/StatusBarManagerService(1571): manageDisableList userId=0 what=0x0 pkg=Window{fbc6b0e u0 com.embarcadero.CloudStorageDemo/com.embarcadero.firemonkey.FMXNativeActivity}
01-21 10:05:25.777: D/StatusBarManagerService(1571): disableLocked net1 = 0; net2 = 0 pkg=Window{fbc6b0e u0 com.embarcadero.CloudStorageDemo/com.embarcadero.firemonkey.FMXNativeActivity}
01-21 10:05:25.780: I/InputDispatcher(1571): Window 'Window{fbc6b0e u0 com.embarcadero.CloudStorageDemo/com.embarcadero.firemonkey.FMXNativeActivity}' spent 2036.0ms processing the last input event: MotionEvent(deviceId=5, source=0x00001002, action=UP, actionButton=0x00000000, flags=0x00000000, metaState=0x00000000, buttonState=0x00000000, edgeFlags=0x00000000, xPrecision=1.0, yPrecision=1.0, displayId=0, pointers=[0: (192.7, 533.6)]), policyFlags=0x62000000
01-21 10:05:25.783: D/StatusBarManagerService(1571): manageDisableList userId=0 what=0x0 pkg=Window{fbc6b0e u0 com.embarcadero.CloudStorageDemo/com.embarcadero.firemonkey.FMXNativeActivity}
01-21 10:05:25.783: D/StatusBarManagerService(1571): disableLocked net1 = 0; net2 = 0 pkg=Window{fbc6b0e u0 com.embarcadero.CloudStorageDemo/com.embarcadero.firemonkey.FMXNativeActivity}
01-21 10:05:25.872: D/StatusBarManagerService(1571): manageDisableList userId=0 what=0x0 pkg=Window{fbc6b0e u0 com.embarcadero.CloudStorageDemo/com.embarcadero.firemonkey.FMXNativeActivity}
01-21 10:05:25.872: D/StatusBarManagerService(1571): disableLocked net1 = 0; net2 = 0 pkg=Window{fbc6b0e u0 com.embarcadero.CloudStorageDemo/com.embarcadero.firemonkey.FMXNativeActivity}
01-21 10:05:25.896: W/cr_CrashFileManager(4605): /data/user/0/com.embarcadero.CloudStorageDemo/cache/WebView/Crash Reports does not exist or is not a directory
01-21 10:05:25.896: D/ActivityManager(1571): handleProcessStartedLocked mDoneFinishBooting && app.pid != 0 ---> notifyProcessStart, app.processName = com.opera.browser, app.info = ApplicationInfo{27f790b com.opera.browser}, app.hostingType = activity, getHostingName() = ComponentInfo{com.opera.browser/com.opera.android.MainLauncherActivity}, getIntentFlag() = 0, getIsPackageRunning() = true, app = ProcessRecord{e2a9ae7 4726:com.opera.browser/u0a173}, getExtraData() = Bundle[{ACTIVITY_TASK_AFFINITY=com.opera.browser, ACTIVITY_INTENT=Intent { act=android.intent.action.VIEW dat=https://www.dropbox.com/... flg=0x800000 cmp=com.opera.browser/com.opera.android.MainLauncherActivity (has extras) }, CALLER_PACKAGE=com.embarcadero.CloudStorageDemo, ACTIVITY_INFO=ActivityInfo{9008694 com.opera.android.MainLauncherActivity}}]
01-21 10:05:25.930: D/StatusBarManagerService(1571): manageDisableList userId=0 what=0x0 pkg=Window{fbc6b0e u0 com.embarcadero.CloudStorageDemo/com.embarcadero.firemonkey.FMXNativeActivity}
01-21 10:05:25.930: D/StatusBarManagerService(1571): disableLocked net1 = 0; net2 = 0 pkg=Window{fbc6b0e u0 com.embarcadero.CloudStorageDemo/com.embarcadero.firemonkey.FMXNativeActivity}
01-21 10:05:25.951: D/StatusBarManagerService(1571): manageDisableList userId=0 what=0x0 pkg=Window{fbc6b0e u0 com.embarcadero.CloudStorageDemo/com.embarcadero.firemonkey.FMXNativeActivity}
01-21 10:05:25.951: D/StatusBarManagerService(1571): disableLocked net1 = 0; net2 = 0 pkg=Window{fbc6b0e u0 com.embarcadero.CloudStorageDemo/com.embarcadero.firemonkey.FMXNativeActivity}
01-21 10:05:25.951: D/StatusBarManagerService(1571): manageDisableList userId=0 what=0x0 pkg=Window{fbc6b0e u0 com.embarcadero.CloudStorageDemo/com.embarcadero.firemonkey.FMXNativeActivity}
01-21 10:05:25.951: D/StatusBarManagerService(1571): disableLocked net1 = 0; net2 = 0 pkg=Window{fbc6b0e u0 com.embarcadero.CloudStorageDemo/com.embarcadero.firemonkey.FMXNativeActivity}
01-21 10:05:26.363: D/StatusBarManagerService(1571): manageDisableList userId=0 what=0x0 pkg=Window{fbc6b0e u0 com.embarcadero.CloudStorageDemo/com.embarcadero.firemonkey.FMXNativeActivity}
01-21 10:05:26.363: D/StatusBarManagerService(1571): disableLocked net1 = 0; net2 = 0 pkg=Window{fbc6b0e u0 com.embarcadero.CloudStorageDemo/com.embarcadero.firemonkey.FMXNativeActivity}
01-21 10:05:26.367: D/StatusBarManagerService(1571): manageDisableList userId=0 what=0x0 pkg=Window{fbc6b0e u0 com.embarcadero.CloudStorageDemo/com.embarcadero.firemonkey.FMXNativeActivity}
01-21 10:05:26.367: D/StatusBarManagerService(1571): disableLocked net1 = 0; net2 = 0 pkg=Window{fbc6b0e u0 com.embarcadero.CloudStorageDemo/com.embarcadero.firemonkey.FMXNativeActivity}
01-21 10:05:26.379: D/StatusBarManagerService(1571): manageDisableList userId=0 what=0x0 pkg=Window{fbc6b0e u0 com.embarcadero.CloudStorageDemo/com.embarcadero.firemonkey.FMXNativeActivity}
01-21 10:05:26.379: D/StatusBarManagerService(1571): disableLocked net1 = 0; net2 = 0 pkg=Window{fbc6b0e u0 com.embarcadero.CloudStorageDemo/com.embarcadero.firemonkey.FMXNativeActivity}
01-21 10:05:26.442: D/StatusBarManagerService(1571): manageDisableList userId=0 what=0x0 pkg=Window{fbc6b0e u0 com.embarcadero.CloudStorageDemo/com.embarcadero.firemonkey.FMXNativeActivity}
01-21 10:05:26.442: D/StatusBarManagerService(1571): disableLocked net1 = 0; net2 = 0 pkg=Window{fbc6b0e u0 com.embarcadero.CloudStorageDemo/com.embarcadero.firemonkey.FMXNativeActivity}
01-21 10:05:26.449: D/StatusBarManagerService(1571): manageDisableList userId=0 what=0x0 pkg=Window{fbc6b0e u0 com.embarcadero.CloudStorageDemo/com.embarcadero.firemonkey.FMXNativeActivity}
01-21 10:05:26.449: D/StatusBarManagerService(1571): disableLocked net1 = 0; net2 = 0 pkg=Window{fbc6b0e u0 com.embarcadero.CloudStorageDemo/com.embarcadero.firemonkey.FMXNativeActivity}
01-21 10:05:26.464: D/StatusBarManagerService(1571): manageDisableList userId=0 what=0x0 pkg=Window{fbc6b0e u0 com.embarcadero.CloudStorageDemo/com.embarcadero.firemonkey.FMXNativeActivity}
01-21 10:05:26.464: D/StatusBarManagerService(1571): disableLocked net1 = 0; net2 = 0 pkg=Window{fbc6b0e u0 com.embarcadero.CloudStorageDemo/com.embarcadero.firemonkey.FMXNativeActivity}
01-21 10:05:26.475: D/StatusBarManagerService(1571): manageDisableList userId=0 what=0x0 pkg=Window{fbc6b0e u0 com.embarcadero.CloudStorageDemo/com.embarcadero.firemonkey.FMXNativeActivity}
01-21 10:05:26.475: D/StatusBarManagerService(1571): disableLocked net1 = 0; net2 = 0 pkg=Window{fbc6b0e u0 com.embarcadero.CloudStorageDemo/com.embarcadero.firemonkey.FMXNativeActivity}


01-21 10:06:08.001: I/ActivityManager(1571): Process com.embarcadero.CloudStorageDemo (pid 4605) has died: cch+3CAC 
01-21 10:06:08.022: I/WindowManager(1571): WIN DEATH: Window{fbc6b0e u0 com.embarcadero.CloudStorageDemo/com.embarcadero.firemonkey.FMXNativeActivity}
01-21 10:06:10.529: D/ActivityTrigger(1571): activityResumeTrigger: The activity in ApplicationInfo{46de3c5 com.embarcadero.CloudStorageDemo} is now in focus and seems to be in full-screen mode
01-21 10:06:10.529: E/ActivityTrigger(1571): activityResumeTrigger: not whiteListedcom.embarcadero.CloudStorageDemo/com.embarcadero.firemonkey.FMXNativeActivity/1
01-21 10:06:10.561: D/ActivityTrigger(1571): activityResumeTrigger: The activity in ApplicationInfo{46de3c5 com.embarcadero.CloudStorageDemo} is now in focus and seems to be in full-screen mode
01-21 10:06:10.562: E/ActivityTrigger(1571): activityResumeTrigger: not whiteListedcom.embarcadero.CloudStorageDemo/com.embarcadero.firemonkey.FMXNativeActivity/1
01-21 10:06:10.567: D/ActivityManager(1571): Package [com.embarcadero.CloudStorageDemo] have process
01-21 10:06:10.587: I/PhoneWindow(1571): isAPPNeedChange pkgName: com.embarcadero.CloudStorageDemo needKeep: false
01-21 10:06:10.591: I/ActivityManager(1571): Start proc 5461:com.embarcadero.CloudStorageDemo/u0a369 for activity com.embarcadero.CloudStorageDemo/com.embarcadero.firemonkey.FMXNativeActivity
01-21 10:06:10.592: D/ActivityManager(1571): handleProcessStartedLocked mDoneFinishBooting && app.pid != 0 ---> notifyProcessStart, app.processName = com.embarcadero.CloudStorageDemo, app.info = ApplicationInfo{46de3c5 com.embarcadero.CloudStorageDemo}, app.hostingType = activity, getHostingName() = ComponentInfo{com.embarcadero.CloudStorageDemo/com.embarcadero.firemonkey.FMXNativeActivity}, getIntentFlag() = 0, getIsPackageRunning() = true, app = ProcessRecord{76c2e8d 5461:com.embarcadero.CloudStorageDemo/u0a369}, getExtraData() = Bundle[{ACTIVITY_TASK_AFFINITY=com.embarcadero.CloudStorageDemo, ACTIVITY_INTENT=Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.embarcadero.CloudStorageDemo/com.embarcadero.firemonkey.FMXNativeActivity bnds=[567,369][706,566] (has extras) }, CALLER_PACKAGE=com.android.launcher3, ACTIVITY_INFO=ActivityInfo{b1ca6c com.embarcadero.firemonkey.FMXNativeActivity}}]
01-21 10:06:10.738: D/StatusBarManagerService(1571): manageDisableList userId=0 what=0x0 pkg=Window{cfa2689 u0 Splash Screen com.embarcadero.CloudStorageDemo}
01-21 10:06:10.738: D/StatusBarManagerService(1571): disableLocked net1 = 0; net2 = 0 pkg=Window{cfa2689 u0 Splash Screen com.embarcadero.CloudStorageDemo}
01-21 10:06:10.743: D/StatusBarManagerService(1571): manageDisableList userId=0 what=0x0 pkg=Window{cfa2689 u0 Splash Screen com.embarcadero.CloudStorageDemo}
01-21 10:06:10.743: D/StatusBarManagerService(1571): disableLocked net1 = 0; net2 = 0 pkg=Window{cfa2689 u0 Splash Screen com.embarcadero.CloudStorageDemo}
01-21 10:06:10.946: I/PhoneWindow(5461): isAPPNeedChange pkgName: com.embarcadero.CloudStorageDemo needKeep: false
01-21 10:06:10.989: W/linker(5461): Warning: "/data/app/com.embarcadero.CloudStorageDemo-vGhTJ05Rk4qkJsbSStJYdg==/lib/arm64/libCloudStorageDemo.so" unused DT entry: DT_RPATH (type 0xf arg 0x220a5) (ignoring)
01-21 10:06:11.113: D/StatusBarManagerService(1571): manageDisableList userId=0 what=0x0 pkg=Window{cfa2689 u0 Splash Screen com.embarcadero.CloudStorageDemo}
01-21 10:06:11.113: D/StatusBarManagerService(1571): disableLocked net1 = 0; net2 = 0 pkg=Window{cfa2689 u0 Splash Screen com.embarcadero.CloudStorageDemo}
01-21 10:06:11.117: D/StatusBarManagerService(1571): manageDisableList userId=0 what=0x0 pkg=Window{cfa2689 u0 Splash Screen com.embarcadero.CloudStorageDemo}
01-21 10:06:11.117: D/StatusBarManagerService(1571): disableLocked net1 = 0; net2 = 0 pkg=Window{cfa2689 u0 Splash Screen com.embarcadero.CloudStorageDemo}
01-21 10:06:11.123: D/StatusBarManagerService(1571): manageDisableList userId=0 what=0x0 pkg=Window{cfa2689 u0 Splash Screen com.embarcadero.CloudStorageDemo}
01-21 10:06:11.123: D/StatusBarManagerService(1571): disableLocked net1 = 0; net2 = 0 pkg=Window{cfa2689 u0 Splash Screen com.embarcadero.CloudStorageDemo}
01-21 10:06:11.129: D/StatusBarManagerService(1571): manageDisableList userId=0 what=0x0 pkg=Window{cfa2689 u0 Splash Screen com.embarcadero.CloudStorageDemo}
01-21 10:06:11.129: D/StatusBarManagerService(1571): disableLocked net1 = 0; net2 = 0 pkg=Window{cfa2689 u0 Splash Screen com.embarcadero.CloudStorageDemo}
01-21 10:06:11.132: D/StatusBarManagerService(1571): manageDisableList userId=0 what=0x0 pkg=Window{cfa2689 u0 Splash Screen com.embarcadero.CloudStorageDemo}
01-21 10:06:11.132: D/StatusBarManagerService(1571): disableLocked net1 = 0; net2 = 0 pkg=Window{cfa2689 u0 Splash Screen com.embarcadero.CloudStorageDemo}
01-21 10:06:11.157: D/StatusBarManagerService(1571): manageDisableList userId=0 what=0x0 pkg=Window{cfa2689 u0 Splash Screen com.embarcadero.CloudStorageDemo}
01-21 10:06:11.157: D/StatusBarManagerService(1571): disableLocked net1 = 0; net2 = 0 pkg=Window{cfa2689 u0 Splash Screen com.embarcadero.CloudStorageDemo}
01-21 10:06:11.174: D/StatusBarManagerService(1571): manageDisableList userId=0 what=0x0 pkg=Window{cfa2689 u0 Splash Screen com.embarcadero.CloudStorageDemo}
01-21 10:06:11.174: D/StatusBarManagerService(1571): disableLocked net1 = 0; net2 = 0 pkg=Window{cfa2689 u0 Splash Screen com.embarcadero.CloudStorageDemo}
01-21 10:06:12.507: D/StatusBarManagerService(1571): manageDisableList userId=0 what=0x0 pkg=Window{cfa2689 u0 Splash Screen com.embarcadero.CloudStorageDemo}
01-21 10:06:12.507: D/StatusBarManagerService(1571): disableLocked net1 = 0; net2 = 0 pkg=Window{cfa2689 u0 Splash Screen com.embarcadero.CloudStorageDemo}
01-21 10:06:12.512: D/StatusBarManagerService(1571): manageDisableList userId=0 what=0x0 pkg=Window{76b8ea8 u0 com.embarcadero.CloudStorageDemo/com.embarcadero.firemonkey.FMXNativeActivity}
01-21 10:06:12.512: D/StatusBarManagerService(1571): disableLocked net1 = 0; net2 = 0 pkg=Window{76b8ea8 u0 com.embarcadero.CloudStorageDemo/com.embarcadero.firemonkey.FMXNativeActivity}
01-21 10:06:12.548: D/SurfaceFlinger(651): duplicate layer name: changing SurfaceView - com.embarcadero.CloudStorageDemo/com.embarcadero.firemonkey.FMXNativeActivity to SurfaceView - com.embarcadero.CloudStorageDemo/com.embarcadero.firemonkey.FMXNativeActivity#1
01-21 10:06:12.550: D/SurfaceFlinger(651): duplicate layer name: changing Background for -SurfaceView - com.embarcadero.CloudStorageDemo/com.embarcadero.firemonkey.FMXNativeActivity to Background for -SurfaceView - com.embarcadero.CloudStorageDemo/com.embarcadero.firemonkey.FMXNativeActivity#1
01-21 10:06:13.040: D/StatusBarManagerService(1571): manageDisableList userId=0 what=0x0 pkg=Window{76b8ea8 u0 com.embarcadero.CloudStorageDemo/com.embarcadero.firemonkey.FMXNativeActivity}
01-21 10:06:13.040: D/StatusBarManagerService(1571): disableLocked net1 = 0; net2 = 0 pkg=Window{76b8ea8 u0 com.embarcadero.CloudStorageDemo/com.embarcadero.firemonkey.FMXNativeActivity}
01-21 10:06:13.099: D/StatusBarManagerService(1571): manageDisableList userId=0 what=0x0 pkg=Window{76b8ea8 u0 com.embarcadero.CloudStorageDemo/com.embarcadero.firemonkey.FMXNativeActivity}
01-21 10:06:13.099: D/StatusBarManagerService(1571): disableLocked net1 = 0; net2 = 0 pkg=Window{76b8ea8 u0 com.embarcadero.CloudStorageDemo/com.embarcadero.firemonkey.FMXNativeActivity}
01-21 10:06:13.131: D/StatusBarManagerService(1571): manageDisableList userId=0 what=0x0 pkg=Window{76b8ea8 u0 com.embarcadero.CloudStorageDemo/com.embarcadero.firemonkey.FMXNativeActivity}
01-21 10:06:13.132: D/StatusBarManagerService(1571): disableLocked net1 = 0; net2 = 0 pkg=Window{76b8ea8 u0 com.embarcadero.CloudStorageDemo/com.embarcadero.firemonkey.FMXNativeActivity}
01-21 10:06:13.139: D/StatusBarManagerService(1571): manageDisableList userId=0 what=0x0 pkg=Window{76b8ea8 u0 com.embarcadero.CloudStorageDemo/com.embarcadero.firemonkey.FMXNativeActivity}
01-21 10:06:13.140: D/StatusBarManagerService(1571): disableLocked net1 = 0; net2 = 0 pkg=Window{76b8ea8 u0 com.embarcadero.CloudStorageDemo/com.embarcadero.firemonkey.FMXNativeActivity}
01-21 10:06:13.147: D/StatusBarManagerService(1571): manageDisableList userId=0 what=0x0 pkg=Window{76b8ea8 u0 com.embarcadero.CloudStorageDemo/com.embarcadero.firemonkey.FMXNativeActivity}
01-21 10:06:13.148: D/StatusBarManagerService(1571): disableLocked net1 = 0; net2 = 0 pkg=Window{76b8ea8 u0 com.embarcadero.CloudStorageDemo/com.embarcadero.firemonkey.FMXNativeActivity}
01-21 10:06:13.161: D/StatusBarManagerService(1571): manageDisableList userId=0 what=0x0 pkg=Window{76b8ea8 u0 com.embarcadero.CloudStorageDemo/com.embarcadero.firemonkey.FMXNativeActivity}
01-21 10:06:13.161: D/StatusBarManagerService(1571): disableLocked net1 = 0; net2 = 0 pkg=Window{76b8ea8 u0 com.embarcadero.CloudStorageDemo/com.embarcadero.firemonkey.FMXNativeActivity}
01-21 10:06:13.170: D/StatusBarManagerService(1571): manageDisableList userId=0 what=0x0 pkg=Window{76b8ea8 u0 com.embarcadero.CloudStorageDemo/com.embarcadero.firemonkey.FMXNativeActivity}
01-21 10:06:13.170: D/StatusBarManagerService(1571): disableLocked net1 = 0; net2 = 0 pkg=Window{76b8ea8 u0 com.embarcadero.CloudStorageDemo/com.embarcadero.firemonkey.FMXNativeActivity}
01-21 10:06:13.211: D/StatusBarManagerService(1571): manageDisableList userId=0 what=0x0 pkg=Window{76b8ea8 u0 com.embarcadero.CloudStorageDemo/com.embarcadero.firemonkey.FMXNativeActivity}
01-21 10:06:13.211: D/StatusBarManagerService(1571): disableLocked net1 = 0; net2 = 0 pkg=Window{76b8ea8 u0 com.embarcadero.CloudStorageDemo/com.embarcadero.firemonkey.FMXNativeActivity}
01-21 10:06:13.216: D/StatusBarManagerService(1571): manageDisableList userId=0 what=0x0 pkg=Window{76b8ea8 u0 com.embarcadero.CloudStorageDemo/com.embarcadero.firemonkey.FMXNativeActivity}
01-21 10:06:13.216: D/StatusBarManagerService(1571): disableLocked net1 = 0; net2 = 0 pkg=Window{76b8ea8 u0 com.embarcadero.CloudStorageDemo/com.embarcadero.firemonkey.FMXNativeActivity}
01-21 10:06:13.221: I/ActivityManager(1571): Displayed com.embarcadero.CloudStorageDemo/com.embarcadero.firemonkey.FMXNativeActivity: +2s647ms
01-21 10:06:13.331: D/StatusBarManagerService(1571): manageDisableList userId=0 what=0x0 pkg=Window{76b8ea8 u0 com.embarcadero.CloudStorageDemo/com.embarcadero.firemonkey.FMXNativeActivity}
01-21 10:06:13.331: D/StatusBarManagerService(1571): disableLocked net1 = 0; net2 = 0 pkg=Window{76b8ea8 u0 com.embarcadero.CloudStorageDemo/com.embarcadero.firemonkey.FMXNativeActivity}
01-21 10:06:13.333: W/SurfaceFlinger(651): Attempting to set client state on removed layer: Splash Screen com.embarcadero.CloudStorageDemo#0
01-21 10:06:13.333: W/SurfaceFlinger(651): Attempting to destroy on removed layer: Splash Screen com.embarcadero.CloudStorageDemo#0
01-21 10:06:13.348: D/StatusBarManagerService(1571): manageDisableList userId=0 what=0x0 pkg=Window{76b8ea8 u0 com.embarcadero.CloudStorageDemo/com.embarcadero.firemonkey.FMXNativeActivity}
01-21 10:06:13.348: D/StatusBarManagerService(1571): disableLocked net1 = 0; net2 = 0 pkg=Window{76b8ea8 u0 com.embarcadero.CloudStorageDemo/com.embarcadero.firemonkey.FMXNativeActivity}

Can you please provide the exact callback URL you are using so I can further investigate this?

Yes I can:

For Dropbox: http://127.0.0.1:8888
For GDrive: http://127.0.0.1:8889/

Maybe it could be a problem on real 64 Bit devices, like the Nokia Series? You can check the CPU with AIDA64 app?

We are investigating this issue and will report back as soon as possible.

We have re-tested DropBox and GDrive authentication in the CloudStorageDemo here on Android 9 64bit and haven't noticed any issues.


Can you please try the following steps?
- Make sure you start from a clean folder. Copy only the required project files (*.dpr, *.dproj, *.fmx, *.pas) to a new folder.
- Open the project in the Delphi IDE. 
- Revert the Libraries. (see screenshot 1)
- Make sure to add the necessary jar files to create a situation as demonstrates in screenshot 2.
- Set TTMSFMXGDrive ExternalBrowser property to True.
- The authentication should work as expected and the drive contents are displayed. (see screenshot 3)







Hello,


first of all. Thanks for your great support, now it works in both apps.

The problem in CloudStorage was the old libraries. After the reset it works.

In my app the problem wasn't the library reset (I did it before). Maybe the reason for the problem were some old compiled files. After completely deletion of all compiled files and recompile the project, it works!!!

For the future - I have to remember - to delete before all the compiled files ...

Best regards
Heiko

Thank you for confirming the issue was resolved!