-
Content Count
1608 -
Joined
-
Last visited
-
Days Won
36
Posts posted by Dave Nottage
-
-
Did you resolve the apparent permissions issue?
-
Local Fonts
in FMX
For 10.3.3 or earlier, please refer to:
For 10.4, simply add the fonts to the deployment, with a remote path of assets\internal
-
1
-
-
For anyone following this thread, the relevant QP report is here:
https://quality.embarcadero.com/browse/RSP-27218
As per my comment on the report (dated Aug 24), it would be possible to recompile System.pas (it needs a change to ICU.inc), however unfortunately, the files ex.android.arm.inc and ex.android.arm64.inc are not supplied, thus making it impossible without help from Embarcadero.
-
1
-
-
1 hour ago, Martifan said:but you can make it so that the button is not dynamically created
That's the plan. I have some other controls coming that will be included.
-
Did you follow the instructions in the ReadMe.txt file?
-
1
-
-
Just now, Chris Pim said:I think David Nottage was also looking into this but not sure if he got anywhere with it yet
Yes, I have an implementation for it, and a while ago was seeking people to try it out. I haven't done anything to it for a while, however I have attached the work-in-progress to this reply. The plan is to include the final result into Kastri:
-
1
-
-
2 hours ago, Gary Wardell said:I am not clear on what link to use to download the whole project. Or do I have to download each file individually.
The best way forward is to download the repository:
https://github.com/DelphiWorlds/KastriFree
Either via the download link (from the green "Code" button), or preferably use a Git client, like Fork:
Once you have the repository:
- Unzip Firebase.6.16.0.zip in the ThirdParty/Firebase/iOS folder.
- Put your GoogleServices.info.plist from your Firebase Console project in the Resources folder of the demo
- Load the demo and compile
-
8 hours ago, Gary Wardell said:So does your article actually work on iOS in the real world?
It has been, yes.
8 hours ago, Gary Wardell said:Will you be available if I need help in getting it to work?
I'll help where I can
-
Push notifications using Firebase for iOS is yet to be implemented in Delphi. I have an implementation using Embarcadero's infrastructure, described here:
https://delphiworlds.com/2020/01/expanding-embarcaderos-fcm-implementation-revisited/
-
31 minutes ago, Rollo62 said:I assume a typo
Yes, in both cases, and thanks!
32 minutes ago, Rollo62 said:I've tried do read as carefully as possible
I need to write more carefully 😉
Thanks for your input. I hope to have an answer in the next couple of days or so.
-
Just now, Rollo62 said:Yes, I've took that picture from Finder, in the post above
The picture does not show the folder that I am asking about. Please read my answers carefully.
-
47 minutes ago, Rollo62 said:Strange, I think I did the same here in my VM.
Are you saying that the /usr/lib/system folder exists in your iOS 13.6 SDK? i.e. the full path:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneIS.platform/Developer/SDKs/iPhoneOS.sdk/usr/lib/system
51 minutes ago, Rollo62 said:I assume you did already XCode cleanup complete and reinstall.
No, I did a normal upgrade. Why would I need to completely uninstall?
-
47 minutes ago, Rollo62 said:I just made a normal XCode update to SDK13.6, did you do this update via command line ?
My Xcode was updated to 11.6 via the App Store app on my Mac. It includes the iOS 13.6 SDK.
48 minutes ago, Rollo62 said:fastlane run verify_xcode
fastlane verified Xcode as OK.
54 minutes ago, Rollo62 said:So could you fix it ?
Not as yet
-
1 hour ago, Gary Wardell said:How do I find the Deployment Manager?
In the IDE menu: Project|Deployment
-
3 hours ago, Rollo62 said:The /System folder is not "empty"
As per the article: "The /usr/lib/system folder underneath simply does not exist"
-
Have you opened the Devices and Simulators window in Xcode, and selected the device?
-
40 minutes ago, Gary Wardell said:procedure OnServiceConnectionChange(Sender: TObject; PushChanges: TPushService.TChanges);
This is a regular method. OnChange is an object method, so needs to be assigned to a method that is part of an object
-
3 hours ago, Gary Wardell said:TPushServiceConection
Is your code really missing one "n"?
-
2 hours ago, TurboMagic said:Is .\assets\internal the right path to use when adding this file to deployment manager?
You could use that one, however if you have versions for both 32-bit and 64-bit (or just one of either) you might want to deploy to:
library\lib\armeabi-v7a
library\lib\arm64-v8a
For 32-bit and 64 bit respectively, and use:
LoadLibrary(TPath.Combine(TPath.GetLibraryPath, 'test.so'))
-
8 hours ago, H4k4nn said:What is the problem? Is there anything that I miss for arm64?
My steps:
In the script:
Modify SDKVERSION to "13.6" (which is what I have), and MINIOSVERSION to "11.0" (Delphi 10.4 supports only 11.0 or higher)
Modify ARCHS to "x86_64 arm64" (32-bit does not apply to 10.0 or higher)
Run the script (build-libopus.sh)
Run the command:
file dependencies/lib/libopus.a
Output:
dependencies/lib/libopus.a: Mach-O universal binary with 2 architectures: [x86_64:current ar archive random library] [arm64]
dependencies/lib/libopus.a (for architecture x86_64): current ar archive random library
dependencies/lib/libopus.a (for architecture arm64): current ar archive random library
-
Ensure that this line is in the info.plist.TemplateiOS.xml file:
<%StoryboardInfoPListKey%>
-
55 minutes ago, Mike Torrettinni said:But this applies to all panels on the form, right?
The property applies to all of them, yes.. but you set it to True only for the ones you want the specialised behaviour on.
-
2 minutes ago, Mike Torrettinni said:How do you do that
9 minutes ago, Dave Nottage said:I usually add a Boolean value to the interposer
For your case:
TPanel = class(Vcl.ExtCtrls.TPanel) private FSpecialised: Boolean; protected procedure Paint; override; property Specialised: Boolean read FSpecialised write FSpecialised; end;
When the form is created, set the Specialised property to True for the TPanels where they need the special treatment. In the Paint method, check the FSpecialised flag.
-
I usually add a Boolean value to the interposer and set it to True when the form is created, only for those components with the specialised behaviour.
-
1
-
Problem with Delphi RIO 10.3.3 and Google API Level 29
in Cross-platform
Posted
What's the exact message?