Vanar
Members-
Content Count
49 -
Joined
-
Last visited
Everything posted by Vanar
-
How to translate speech to text on iOS? If possible, please provide a link to an example
-
Thank you! Topic closed
-
Authorization to the firebase's https://iid.googleapis.com/iid/v1:batchImport
Vanar posted a topic in FMX
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 -
Authorization to the firebase's https://iid.googleapis.com/iid/v1:batchImport
Vanar replied to Vanar's topic in FMX
I agree, but I just wanted to test it. On iOS, the error is: -
Authorization to the firebase's https://iid.googleapis.com/iid/v1:batchImport
Vanar replied to Vanar's topic in FMX
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? -
Authorization to the firebase's https://iid.googleapis.com/iid/v1:batchImport
Vanar replied to Vanar's topic in FMX
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 ... -
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?
-
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
-
Problem using the unit FireDAC.Phys.SQLiteWrapper.Stat in AdMob under Delphi 11 and 12
Vanar posted a topic in FMX
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?- 4 replies
-
- ios
- firemonkey
-
(and 2 more)
Tagged with:
-
Problem using the unit FireDAC.Phys.SQLiteWrapper.Stat in AdMob under Delphi 11 and 12
Vanar replied to Vanar's topic in FMX
Thank you very much- 4 replies
-
- ios
- firemonkey
-
(and 2 more)
Tagged with:
-
Problem using the unit FireDAC.Phys.SQLiteWrapper.Stat in AdMob under Delphi 11 and 12
Vanar replied to Vanar's topic in FMX
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."- 4 replies
-
- ios
- firemonkey
-
(and 2 more)
Tagged with:
-
Hi all! I'm looking for an implementation of AdMob ads under Delphi 11 on android The implementations for Delphi 10.4 and below (such as https://github.com/ersanyakit/FMX.InterstitialAd.Android, AdMobExtra...) don't work! Share if anyone has!!!
-
Good day! When compiling an iOS application in Application Store mode, the following error occurs: " [PAClient Error] Error: E0776 2024-06-11 22:30:54.587 xcodebuild[1276:18656] [MT] IDEDistribution: -[IDEDistributionLogging _createLoggingBundleAtPath:]: Created bundle at path "/var/folders/g1/kgg6vjrx7q70pjsh4v66xtc80000gn/T/StepUp_2024-06-11_22-30-54.585.xcdistributionlogs". [PAClient Error] Error: E0776 2024-06-11 22:30:54.773 xcodebuild[1276:18656] [MT] IDEDistribution: Command line name "app-store" is deprecated. Use "app-store-connect" instead. [PAClient Error] Error: E0776 error: exportArchive: No "signingCertificate" specified. Provide the SHA-1 hash or name of the (null) certificate to use, or "(null)" to let Xcode choose one. [PAClient Error] Error: E0776 Error Domain=IDEDistributionSigningAssetStepErrorDomain Code=2 "No "signingCertificate" specified. Provide the SHA-1 hash or name of the (null) certificate to use, or "(null)" to let Xcode choose one." UserInfo={NSLocalizedDescription=No "signingCertificate" specified. Provide the SHA-1 hash or name of the (null) certificate to use, or "(null)" to let Xcode choose one.} " The application is signed: Development certificate: Apple Distribution (everything is fine with the signature in XCODE) Compiling an iOS application in Development mode (Development certificate: Apple Development) is successful The error occurs when the ipa file begins to be formed Saw a similar topic but the solution methods have probably changed, I was not able to use them. Are there any working methods to solve this problem?
-
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
-
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
-
1. Changed CFBundleIdentifier 2. Set Provision Profile 3. Added to Delphi Compiler: Search path
-
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
-
Installed Delphi 12.1 and everything worked! Topic closed
-
Thank you for your help - you always help!
-
No, I got it working with PASERVER 22.0 Delphi 11.3 + PASERVER 22.0 = Success
-
I tried it under 11.3 - everything works! Do I need to install Delphi 12.1 or is it enough to update PAServer?
-
Embarcadero® Delphi 12 Version 29.0.50491.5718 PAServer 14.0.13.3 XCode 15.4 Here is the FULL content of the process (see attachment) InfoPAServer.txt
-
Good day! Tell me the mechanisms that allow you to compress video files in Android and iOS applications Short mp4 files created by the camera take up a lot of space and do not load into my applications. Large files sent via messengers are load successfully. I understand that messenger servers use ffmpeg compression. Is it possible to apply ffmpeg compression in android and ios applications? There are no problems under Windows! Or are there other methods? To solve my problems, only compressing mp4 files is enough!
-
Clients send reports on their work in mp4, mp3, jpg formats. In a good way, all files need to be compressed. But the problem is visible on mp4. Requirement: no more than 15 seconds. The permission was not specified, since it is difficult for them to change the settings of their phone... 🙂 But even such mp4 files created by the camera are very large in size for transfer to their hosting in order to compress
-
There are no complaints about opening files via TFilesSelector - everything works fine The problem is that when copying a LARGE file, it takes a lot of time to the server (sometimes impossible). I copy to the hosting (server) to run ffmpeg- compression and there will be no problems! It turns out to be a vicious circle - to perform compression, first copy a large file, and the large file takes a long time to copy because it is not compressed. I would like to perform compression before copying. It turns out that you need to compress the file on Android or iOS, but this is impossible?