Jump to content

Dave Nottage

Members
  • Content Count

    1424
  • Joined

  • Last visited

  • Days Won

    32

Everything posted by Dave Nottage

  1. Dave Nottage

    Bulding an app to test push alerts in iOS

    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
  2. Dave Nottage

    Bulding an app to test push alerts in iOS

    It has been, yes. I'll help where I can
  3. Dave Nottage

    Bulding an app to test push alerts in iOS

    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/
  4. Dave Nottage

    Using a prior iOS or macOS SDK with Delphi

    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.
  5. Dave Nottage

    Using a prior iOS or macOS SDK with Delphi

    The picture does not show the folder that I am asking about. Please read my answers carefully.
  6. Dave Nottage

    Using a prior iOS or macOS SDK with Delphi

    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?
  7. Dave Nottage

    Using a prior iOS or macOS SDK with Delphi

    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
  8. Dave Nottage

    I am getting TPushServiceConection undeclared

    In the IDE menu: Project|Deployment
  9. Dave Nottage

    Using a prior iOS or macOS SDK with Delphi

    As per the article: "The /usr/lib/system folder underneath simply does not exist"
  10. Have you opened the Devices and Simulators window in Xcode, and selected the device?
  11. Dave Nottage

    I am getting TPushServiceConection undeclared

    This is a regular method. OnChange is an object method, so needs to be assigned to a method that is part of an object
  12. Dave Nottage

    I am getting TPushServiceConection undeclared

    Is your code really missing one "n"?
  13. Dave Nottage

    Loading shared objects on Android

    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'))
  14. Dave Nottage

    Record and process audio

    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
  15. Dave Nottage

    Delphi Sydney iOS Bug

    Ensure that this line is in the info.plist.TemplateiOS.xml file: <%StoryboardInfoPListKey%>
  16. Dave Nottage

    Is interposer class really best to customize TPanel.Paint?

    The property applies to all of them, yes.. but you set it to True only for the ones you want the specialised behaviour on.
  17. Dave Nottage

    Is interposer class really best to customize TPanel.Paint?

    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.
  18. Dave Nottage

    Is interposer class really best to customize TPanel.Paint?

    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.
  19. 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.
  20. Dave Nottage

    Bulding an app to test puish alerts

    If you have 10.3.2 or 10.3.3, the changes to include Firebase support are already included.
  21. Dave Nottage

    Delphi 10.3 - install older SDK

  22. Dave Nottage

    Delphi 10.3 - install older SDK

    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
  23. Dave Nottage

    FMX.Android Intents Sample missing procedure

    No idea at this point, sorry. As I say, it's on my list.
  24. Dave Nottage

    Precisely timed display output on Android

    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
  25. Dave Nottage

    FMX.Android Intents Sample missing procedure

    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.
×