Jump to content

Vanar

Members
  • Content Count

    49
  • Joined

  • Last visited

Community Reputation

2 Neutral

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Vanar

    Speech to text translation (iOS)

    Thank you! Topic closed
  2. Vanar

    Speech to text translation (iOS)

    How to translate speech to text on iOS? If possible, please provide a link to an example
  3. I agree, but I just wanted to test it. On iOS, the error is:
  4. Hi, Vladsrb! I tried your solution It works great on Windows! But I need to run it on iOS "-For reading FB token on IOS i use: Firebase SDK for IOS 6.28 (working on Delphi 12.2)" Could you please describe the process in more detail: How do I use Firebase SDK for IOS 6.28, where can I download Firebase SDK (GetIt doesn't work for me for some reason), where and what links should I write in the project?
  5. Hi, John I didn't find a normal solution I temporarily solved the problem like this: They give me a ready-made authorization key: ya29.c.c0ASRK0Ga_4Z1QIYsqufOCVdT ...., created on the server using PHP And I slip it into my request ...
  6. I always received FDeviceToken from the request https://iid.googleapis.com/iid/v1:batchImport HTTP HEADERS: Content-Type: application/json Authorization: key=YOUR_SERVER_KEY BODY: { "application": "com.company.app", "sandbox":true, "apns_tokens":[ "7c6811bfa1e89c739c5862122aa7ab68fc4972dea7372242f74276a5326f...." ] } Answer: { "results": [ { "registration_token": "ejXQlECjCeI:APA91bE7oaUhaFnGyl77lFrySdEaWxocM0oj81uNezACX1wsZXiTyL4OYo5ssvFjjWYpFymMVyqBccboVcwTTW2rvykOmV_CABDM7rTIRCiJFl_9ngf7SrDSYoFouwNj69JSwlH.....", "apns_token": "7c6811bfa1e89c739c5862122aa7ab68fc4972dea7372242f74276a5326f....", "status": "OK" } ] } But recently this request stopped working (authorization required). I get the answer: { "error": "Not authenticated or unauthorized"} How to solve this problem? How to rewrite the query? Most likely it is related to this
  7. Vanar

    Non-breaking spaces in TListItemText (iOS)

    Clarification (I probably didn't write it precisely enough): Under Windows, all variants 1. ListItemText.Text := 'This is a non-breaking space:' + #$00A0 + 'here.'; 2. ListItemText.Text := 'This is a non-breaking space:' + #160 + 'here.'; 3. ListItemText.Text := 'This is a non-breaking space: here.'; work fine The problem occurs in iOS (I haven't tried it under Android, but they say it works) My task is to implement it for iOS
  8. I have a problem with wrapping a line with non-breaking spaces in TListItemText. The wrapping ignores non-breaking spaces. For example, Var Te: TListItemText; AItem: TListViewItem; ... Te := TListItemText.Create(AItem); Te.Text := "******************** Received 1 000 bonuses"; // There is a non-breaking space between "1" and "000" Te.Width := 120; Te.height := 20; Te.WordWrap := True; ... I want to get: "******************** Received 1 000 bonuses", but I get what is shown in the picture. "******************** Received 1 000 bonuses". Is it possible?
  9. Thanks for the answer, but can you explain in more detail or maybe you have a ready-made module? "- Another option would to edit the linking of the static library in the unit, to use the iOS native lib."
  10. I tested Kastri-master\Demos\AdMob. Advertising works perfectly in both iOS and Android! But when I try to use this mechanism in my iOS application, the application does not start (crashes on startup) Everything works well under Android. After a long search for the error, it turned out that the culprit is the unit FireDAC.Phys.SQLiteWrapper.Stat, which is used in my application! I can’t give up the unit FireDAC.Phys.SQLiteWrapper.Stat, since I’ll have to rewrite everything. The problem is described in https://en.delphipraxis.net/topic/6440-firebase-adertising-problem-after-ios-14/ and the same thing happens to me How to check (see the error): If you add the unit FireDAC.Phys.SQLiteWrapper.Stat to Kastri-master\Demos\AdMob\Unit1.pas, the iOS application does not launch (crashes on startup) Are there ways to fix the error?
  11. Vanar

    Deploy Delphi 12 iOS 17 XCode 15.4

    Thanks for the screenshot I made sure that my certificates are configured correctly 🙂 After all, I built my project based on ALFmxControls and published it in iOS, without touching the certificates at all. That is, I dare to argue with you that this is the problem 🙂 The question then goes to Delphi: errors are not only misinterpreted, but their descriptions lead in the other direction in search of an answer... Now everything is fine with iOS, but there was a problem on the Android side: The splash screen turned white. In a previous version of Delphi, the splash screen was customized and worked well. Now there is no way to configure it, or at least change the color or turn it off altogether. I tried it on an empty project - everything works Problrm is probably in the manifest or Deployment Can you tell me how to change at least the boot color or even disable the splash screen? I’m ready to change it globally in Delphi, but I don’t know which xml file needs to be corrected
  12. Vanar

    Deploy Delphi 12 iOS 17 XCode 15.4

    In the "Version Information" I changed only the CFBundleIdentifier. Moreover, the CFBundleIdentifier was different, since I tried it under different AppleIDs I have two AppleIDs
  13. Vanar

    Deploy Delphi 12 iOS 17 XCode 15.4

    1. Changed CFBundleIdentifier 2. Set Provision Profile 3. Added to Delphi Compiler: Search path
  14. Vanar

    Deploy Delphi 12 iOS 17 XCode 15.4

    Good afternoon I was in a hurry to close the topic! At first I tested everything on an empty project, ipa was created - everything was fine! I took my project - ipa is NOT created! My project compiles for ios debug, android, win - everything is fine. 1. Tried it on different machines 2. Tried it under different certificates with different AppleIds (accounts) 3. Tried it on different Delphi. 3. I tried demo ALFmxControls from Alcinoe-master, since I use Alcinoe.FMX.VideoPlayer.pas ALFmxControls creates ipa - no problem! That is, the problem is in my project! I took the ALFmxControls.dproj file and adjusted it to my project But everything was unsuccessful. Other projects create ipa successfully. My thoughts and strength are gone! What could be wrong with my project, and is that the problem? I can send you the project file or other data
×