We have another problem with the Google Maps component. On windows and iOS, it appears to work fine. But on Android we regularly get the app hanging and completely unresponsive. Looking at the Monitor, we're seeing :
Hi,
I'm using Delphi 10.2. This happens on devices with both Marshmallow (Android 6) and Nougat (Android 7).
This was replied to by email.
Despite TMS' best efforts, this is still happening after the latest update. I have no option but to abandon using the component and use TMapView instead. For what I need, it works fine and doesn't exhibit the same errors on Android.
Having upgraded to Delphi 10.2 (Tokyo) I am now getting this which may be the same thing.
This line of code causes an exception on Android:
if GMapsReverseGeocoding1.LaunchReverseGeocoding = erOK then
begin
end
I don't see a problem with the Google maps component itself
An FMX Windows application is fine. Also I am using the latest TMS components.
And it was only after installing the Delphi 10.2 hotfix that I could determine which line of code was causing the exception.
Please note that Embarcadero did breaking changes in the Tokyo release for HTTP request handling on Android specifically (among other breaking changes that also affect Android). So, sadly, these breaking changes affect our WebGMaps geocoding components. We are looking for workarounds for these breaking changes. Given the number of issues with the Android target, we'd really recommend to stick to Delphi 10.1 Berlin till we come up with workarounds and Embarcadero releases an update with fixes.
[quote=Bart Holvoet]
Well, I did debug using component, and I noticed that when there are many objects in the android clippboard, (samsung s7) definitely crash app. In the following observation the code causes the exception, inside the library FMX.Plataform.Android.pas:
This only happens when I make use of the component, Any solution?
Hi,
The embarcadero should have an option to disarm the clipboard while you do not have a solution.
//Paste button
Hi,
The error is resolved in QC, does it now work as expected ? Because I'm also still stuck at Delphi 10.1 and the webgmap is a part of my app...