-
Content Count
1424 -
Joined
-
Last visited
-
Days Won
32
Everything posted by Dave Nottage
-
Bulding an app to test push alerts in iOS
Dave Nottage replied to Gary Wardell's topic in General Help
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: https://git-fork.com/ 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 -
Bulding an app to test push alerts in iOS
Dave Nottage replied to Gary Wardell's topic in General Help
It has been, yes. I'll help where I can -
Bulding an app to test push alerts in iOS
Dave Nottage replied to Gary Wardell's topic in General Help
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/ -
Using a prior iOS or macOS SDK with Delphi
Dave Nottage replied to Rollo62's topic in Cross-platform
Yes, in both cases, and thanks! I need to write more carefully 😉 Thanks for your input. I hope to have an answer in the next couple of days or so. -
Using a prior iOS or macOS SDK with Delphi
Dave Nottage replied to Rollo62's topic in Cross-platform
The picture does not show the folder that I am asking about. Please read my answers carefully. -
Using a prior iOS or macOS SDK with Delphi
Dave Nottage replied to Rollo62's topic in Cross-platform
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 No, I did a normal upgrade. Why would I need to completely uninstall? -
Using a prior iOS or macOS SDK with Delphi
Dave Nottage replied to Rollo62's topic in Cross-platform
My Xcode was updated to 11.6 via the App Store app on my Mac. It includes the iOS 13.6 SDK. fastlane verified Xcode as OK. Not as yet -
I am getting TPushServiceConection undeclared
Dave Nottage replied to Gary Wardell's topic in General Help
In the IDE menu: Project|Deployment -
Using a prior iOS or macOS SDK with Delphi
Dave Nottage replied to Rollo62's topic in Cross-platform
As per the article: "The /usr/lib/system folder underneath simply does not exist" -
XCode 11.6 (and 11.5) doesn't recognize iPhone XS anymore
Dave Nottage replied to Rollo62's topic in Cross-platform
Have you opened the Devices and Simulators window in Xcode, and selected the device? -
I am getting TPushServiceConection undeclared
Dave Nottage replied to Gary Wardell's topic in General Help
This is a regular method. OnChange is an object method, so needs to be assigned to a method that is part of an object -
I am getting TPushServiceConection undeclared
Dave Nottage replied to Gary Wardell's topic in General Help
Is your code really missing one "n"? -
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'))
-
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%>
-
Is interposer class really best to customize TPanel.Paint?
Dave Nottage replied to Mike Torrettinni's topic in VCL
The property applies to all of them, yes.. but you set it to True only for the ones you want the specialised behaviour on. -
Is interposer class really best to customize TPanel.Paint?
Dave Nottage replied to Mike Torrettinni's topic in VCL
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. -
Is interposer class really best to customize TPanel.Paint?
Dave Nottage replied to Mike Torrettinni's topic in VCL
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. -
share extensin IOS App receive shared web link from Safari and Other apps
Dave Nottage replied to Massimiliano S's topic in Cross-platform
The extension (a Notification extension) I did (which I don't have working yet) does not need to communicate to the Delphi app, however the Grijjy article covers communicating between the extension in the section titled "Exchanging data with your App Extension", i.e. you need to set up an Application Group, and you need to use the NSUserDefaults class to share information between the extension and your app.- 31 replies
-
rio Bulding an app to test puish alerts
Dave Nottage replied to Gary Wardell's topic in General Help
If you have 10.3.2 or 10.3.3, the changes to include Firebase support are already included. -
-
You don't need to install an older SDK. You do however need to ensure that: The minSdkVersion value in AndroidManifest.template.xml is 19 (replacing %minSdkVersion%) In the NDK settings in SDK Manager, ensure that the NDK API Location value ends with android-19, and the path in the Delphi NDK Library path value that has "platforms" in the value also has android-19 in the path
-
FMX.Android Intents Sample missing procedure
Dave Nottage replied to Massimiliano S's topic in Cross-platform
No idea at this point, sorry. As I say, it's on my list. -
Precisely timed display output on Android
Dave Nottage replied to TurboMagic's topic in Cross-platform
There's a Delphi implementation of Choreographer in Alcinoe: https://github.com/Zeus64/alcinoe/blob/master/source/ALFmxAni.pas If I were doing development where timing of display output is crucial (such as a game), I'd do something similar -
FMX.Android Intents Sample missing procedure
Dave Nottage replied to Massimiliano S's topic in Cross-platform
Not sure that there's anything in it to solve his issue, but thanks for the plug 🙂 I have a feeling it's a simple entry in the manifest. Added to my already huge to-do list.