-
Content Count
1611 -
Joined
-
Last visited
-
Days Won
37
Posts posted by Dave Nottage
-
-
6 hours ago, Anto90 said:I saw that this error was in quality portal on resolved issues on 10.4.2 sydney
Which issue?
-
Just now, Anto90 said:the issue in particular that tell me is this
com.embarcadero.firemonkey.dialogs.defaults.FMXDefaultDialogFragment.onCreatejava.lang.NullPointerExceptionNot really enough information.
1 minute ago, Anto90 said:In my app i use kastriFree.
KastriFree has long been deprecated, in preference to Kastri.
Which parts of it are you using, exactly?
-
47 minutes ago, grantful said:Tring to get my D12 CE installed and new install i get
You do not have iOS support installed in Xcode on the Mac. In the Xcode menu, click Xcode | Settings, and select the Components tab. Click on the Get button, for iOS.
-
1 hour ago, Alisson said:Algum retorno dessa situação?
Still no debugging for iOS 17 or higher.
-
3 hours ago, Doug Downs said:"2/6/25 10:0:00 PM' is not a valid date and time'
This value works OK on my Android 15 device (a Pixel 6 Pro), so I'd assume if I had Android 14 it would work, too. It may be to do with the regional settings on the device. One way you can check is by examining the value(s) of: FormatSettings.ShortTimeFormat, FormatSettings.TimeAMString and FormatSettings.TimePMString
-
5 hours ago, Peter J. said:Will this cause any problem?
I'm using macOS 15.3, Xcode 16.2 with an iOS 18.3 device with no issues, other than being unable to debug (which has been a problem since iOS 17).
-
4 minutes ago, Beppe Magistro said:there is a Server Side delphi example projet to send Apple push notification using tokens?
Just Apple? There's this demo I put together a while ago - all it does is creates a message and performs the push. Make sure you read the readme at that link.
-
-
4 minutes ago, Doug Downs said:Is there a reason I am having issues on this version of Android?
There have been changes in later versions of Android that are not necessarily supported by Delphi 11. The easiest solution is to stay current with Delphi, i.e. use Delphi 12.2*. Otherwise, indicate what the "inconsistencies" are that you are having trouble with, as they might be resolvable.
*I should point out that even using Delphi 12.2 may not resolve all your issue(s) - you may still need to change your code to allow for later versions of Android. -
Just now, Peter J. said:which is the highest MacOS version I can install
You should be able to use the latest version of macOS (15.3). The issue will the highest version of Xcode, which for Delphi 12.1 is Xcode 16.1, as there were changes to Xcode 16.2 related to provisioning profiles that are not handled by Delphi 12.1, but is by Delphi 12.2
-
2 hours ago, duzzell said:I was under the impression that dynamically loaded libraries are not allowed on iOS.
What gave you that impression?
2 hours ago, duzzell said:I ran a 3rd party framework (Google Sign In for iOS) through Octoid and the resulting pascal file contains a call to dlopen in its initialization section
This is a shortcoming of Octoid - it should not be generating that code for 3rd party frameworks. Incidentally, there is already an import for GoogleSignIn in Kastri, which includes "loader" (fake) methods to ensure that dependent frameworks are also linked in:
procedure AppAuthLoader; cdecl; external framework 'AppAuth'; procedure GoogleSignInLoader; cdecl; external framework 'GoogleSignIn'; procedure GoogleUtilitiesLoader; cdecl; external framework 'GoogleUtilities'; procedure GTMAppAuthLoader; cdecl; external framework 'GTMAppAuth'; procedure GTMSessionFetcherLoader; cdecl; external framework 'GTMSessionFetcher';
Good luck making GoogleSignIn work on iOS - see the latter comments in this issue regarding the problems I'm having.
-
8 hours ago, BytePusher said:I've already tried removing frameworks but without success
Which ones, and how did you "remove" them?
8 hours ago, BytePusher said:The iOS device is an iPhone 14 Pro with iOS17.6.1. Could it be that the versions are too old for Delphi 12.2?
Being able to compile is not relevant to what the device has.
8 hours ago, BytePusher said:The project can also be compiled in debug mode, but not executed.
So it's just not compiling in Release mode?
-
1 minute ago, BytePusher said:Thank you in advance for any help.
If this issue does not happen for a blank app, I suggest indicating what dependencies the app has, e.g. whether it uses any 3rd party code (and what, exactly), or any frameworks from the iOS SDK aside from those that have imports in the Delphi source (iOSapi.xxxx files in the source\rtl\ios folder of the Delphi installation)
-
5 hours ago, BytePusher said:Does anyone have a tip for me as to what the cause might be?
Please include at least the first error, instead of warning.
-
11 minutes ago, Chris1701 said:What what am I doing wrong here
Hard to tell with no code to go by. Regardless, one thing you could do is add a property to the form (e.g. a Boolean) to indicate what it should do when OnShow is called, use an if statement to determine which code is executed, and set the property before ShowModal is called
-
11 hours ago, Manuel S. said:I have modified file play-services-base18.1.0-Manifest.merge.xml and project runs very well.
Sorry.
Good to hear, and sorry.. yes - play-services-base18.1.0-Manifest.merge.xml which is generated by the Add Android Package function in Codex is no longer needed, so you could just delete that.
-
3 hours ago, Manuel S. said:"The Google Play services resources were not found. Check your project configuration to ensure that the resources are included."
You can ignore this message.
3 hours ago, Manuel S. said:1) I have deleted ADTestD12.R.jar from my project because library play-services-base:18.1.0.jar already exists and I think it needs only for Delphi 11.3.
Is correct?
No, it is not correct. The file should not be deleted as it contains code necessary for the application to work.
3 hours ago, Manuel S. said:4) I have added logcat.log with all log before crash.
These are the relevant lines from the log:
2025/01/26 18:01:17.006 E com.embarcadero.AdTestD12 13280 13708 AndroidRuntime FATAL EXCEPTION: Thread-3 2025/01/26 18:01:17.006 E com.embarcadero.AdTestD12 13280 13708 AndroidRuntime Process: com.embarcadero.AdTestD12, PID: 13280 2025/01/26 18:01:17.006 E com.embarcadero.AdTestD12 13280 13708 AndroidRuntime java.lang.NoClassDefFoundError: Failed resolution of: Lcom/google/android/gms/common/R$string; 2025/01/26 18:01:17.006 E com.embarcadero.AdTestD12 13280 13708 AndroidRuntime at com.google.android.gms.measurement.internal.zzga.zza(com.google.android.gms:play-services-measurement-base@@20.1.2:1) 2025/01/26 18:01:17.006 E com.embarcadero.AdTestD12 13280 13708 AndroidRuntime at com.google.android.gms.internal.measurement.zzee.<init>(com.google.android.gms:play-services-measurement-sdk-api@@20.1.2:8) 2025/01/26 18:01:17.006 E com.embarcadero.AdTestD12 13280 13708 AndroidRuntime at com.google.android.gms.internal.measurement.zzee.zzg(com.google.android.gms:play-services-measurement-sdk-api@@20.1.2:2) 2025/01/26 18:01:17.006 E com.embarcadero.AdTestD12 13280 13708 AndroidRuntime at com.google.android.gms.measurement.api.AppMeasurementSdk.getInstance(com.google.android.gms:play-services-measurement-sdk-api@@20.1.2:3) 2025/01/26 18:01:17.006 E com.embarcadero.AdTestD12 13280 13708 AndroidRuntime at com.google.android.gms.internal.ads.zzbnq.run(com.google.android.gms:play-services-ads-lite@@22.2.0:10) 2025/01/26 18:01:17.006 E com.embarcadero.AdTestD12 13280 13708 AndroidRuntime at java.lang.Thread.run(Thread.java:923) 2025/01/26 18:01:17.006 E com.embarcadero.AdTestD12 13280 13708 AndroidRuntime Caused by: java.lang.ClassNotFoundException: Didn't find class "com.google.android.gms.common.R$string" on path: DexPathList[[zip file "/data/app/~~Pts3t76XeBO1SwYlnYkkgg==/com.embarcadero.AdTestD12-tDvQz1HYX23fQ4WpUJMxbw==/base.apk"],nativeLibraryDirectories=[/data/app/~~Pts3t76XeBO1SwYlnYkkgg==/com.embarcadero.AdTestD12-tDvQz1HYX23fQ4WpUJMxbw==/lib/arm, /data/app/~~Pts3t76XeBO1SwYlnYkkgg==/com.embarcadero.AdTestD12-tDvQz1HYX23fQ4WpUJMxbw==/base.apk!/lib/armeabi-v7a, /system/lib, /system/system_ext/lib]]
The error is occurring because you removed ADTestD12.R.jar from the project.
On 1/25/2025 at 10:59 PM, Manuel S. said:P.s. I read all the posts carefully.
It seems you did not carefully read the instructions from the demo.
-
4 hours ago, Manuel S. said:I'm migrating to Delphi 12.2 and the Gallery is having some issues.
Please provide a complete, reproducible example.
-
6 hours ago, Manuel S. said:I have tested the demo in 32 and 64 bit but app crash in DW.AdMob.Android.pas on line 263
Is there an error message? If not, please use a log viewer to check if the system is generating any error messages.
-
4 hours ago, duzzell said:32-bit and 64-bit versions of my app run on a Pixel, but neither version runs on the Samsung I was using for 32-bit testing.
It may be due to the version of Android on it, rather than the model. Having said that: where does signin-with-google-1.0.jar come from?
-
7 minutes ago, duzzell said:I've added the dependencies (.jar files) to both the 32-bit and 64-bit Android configurations in Delphi. There's an issue in Delphi where it seems identical libraries added to both Android configurations are disaplyed in only one. So I've removed the .jar files from both configs and added them back to just the 32-bit config. The component still generates the error on Android-32.
I'm curious as to why you have not mentioned what .jar files you are adding?
-
5 minutes ago, Anto90 said:i active the sensor in the formshow
Still no crash.
6 minutes ago, Anto90 said:I have also a twebbrowser in a form. But if you have internet io and then you have a slow internet signal o you turn off internet signal the app crash. The app use Also notification of kastri and firebase. The authorization is requested at runtime.
In future, please describe what is in your app when you first ask the question. Please provide a complete, reproducible example, i.e. just enough to reproduce the crash.
-
10 hours ago, Anto90 said:Someone has this issue?
I'm not having that issue, using the same SDK etc as you. I created a basic app with just a TLocationSensor and a TButton, and set Active to True when clicking the button. Works OK even if no internet connection.
-
7 hours ago, apachx said:Using the iOS In-App Purchase Service:
https://docwiki.embarcadero.com/RADStudio/Athens/en/Using_the_iOS_In-App_Purchase_Service
Note: Subscription-based types are not currently supported.
This page was last edited on 21 January 2022, at 07:52.
As far as I can tell, subscriptions are yet to be supported on iOS, even in 12.2. You may be interested in this article (regarding iOS) - it was written in the Delphi 10.4 era, however the same principles may still apply.
-
1
-
App on Android ANR (abnomal crash)
in FMX
Posted
In that report, it shows the entire stack trace for when the error occurs - is it the same for yours? As I said earlier:
Also, which version of Delphi are you using?