Jump to content

John van de Waeter

Members
  • Content Count

    71
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by John van de Waeter


  1. Hi All,
    Delphi 12.2, iOS

    Using a TMemo for user input did NOT show the word suggestions on the virtual keyboard.

    (predictive suggestions says Apple). Using Controltype PLATFORM instead of STYLED for the TMemo solved the issue.

    Just in case you have complaints from users, like I had... :)


    John


  2. Thanks Vinícius

    🙂

    BTW I noticed that the OnPaint event of the image is fired continuously as the image is scrolled in the visible part of the Listbox. I would have thought that if the size of the image is unaltered, the showing bitmap should not need to be repainted, only moved. But I'm not an expert on this....


  3. 17 hours ago, Dave Nottage said:

    (Using Windows: download, and try to open) to replicate it themselves.

    I used WinZip to unzip the archive, which allowed me to skip files with bad filenames.

    I figured if those filenames are not allowed in Windows, these files  are probably not used anyway.

    It worked.

     

    ps, Dave, if I have questions about Kastri, should I ask them here?


  4. 12 minutes ago, Vanar said:

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

    Lol....
    I too had a hard fight to send those notifications to the v1-google fcm server.... I never realized that the converting part (apns->fcm) also required this new approach...


    Having apps online that suddenly don't receive pn's anymore forces one to be creative....

    I'm now trying the Kastri-path.


  5. On 10/14/2024 at 9:37 PM, Dave Nottage said:

    See this documentation. Authorization is now via an OAuth2 token - there is a link in the documentation to details about methods for obtaining the token. 

    Dave,
    I'm trying Kastri now. Again 🙂

    One thing I must do is download a copy of firebase.zip (SDK for iOS) from github. But both 11.2.0 as 11.3.0 give me an error when I try to unzip them: Invalid Zip-file. Tried on both win10 and win11.
    I tried to ask a question in the issues section of this github-repo, but my question does not appear in the discussion. Dunno why, no error reported.
    So I'm trying here: do you know an alternative to download this firebase.zip?
    Thanks,

    John

     


  6. Found it. Mea culpa.


    In delphi 12.0 I applied a patch in FMX.Platform.iOS, like adding this line: WindowManager.RootViewController.Super.init;

    as per

    and thereby saving that file in the source-dir of my project. It nicely copied into the new source-dir, I didn't notice.)

    Removing the file from my source-dir did the job.

    John


     

    • Like 2

  7. Hi All,

     

    just installed 12.2 after the installer uninstalled 12.1.

     

    The Android SDK manager reports some missing stuff. SDK Base Path, adb.exe location and SDK API level location have an error indicator.

     

    I noticed there are several files and directories missing (the new 2525-23.0.53571.9872 compared to  the new 2525-23.0.50491.5718).


    What to do?

    cheers,

    John

     

     

     


  8. Hi All,

     

    D12.1, both android and iOS, skia enabled.

     

    I have this listbox with listitems. Every listitem contains an image and a couple of labels.

    There are about 20 listitems. Each listitem has a height about half the height of the listbox.

     

    When scrolling the listbox, the scrolling is not smooth. Well, the more faster the phone is, it's less notible.

    It looks like every image (visible or not) is repainted during scrolling.

     

    I also tried with a TVertScrollbox, but the effect is the same.

     

    Any suggestions to make the scrolling more smoothly?

     

    tia,

    John

     

     


  9. 18 minutes ago, Sherlock said:

    iPhone X only supports iOS up to version 16.7.5...or rather the other way around. iOS 17 is not supported by iPhone X.

    On my iPhone 6s with iOS 15.8.2 it works great. I'm not using any new stuff that would require iOS 17.2.

    Are you saying iPhoneX is more sensitive to the build target?

     

     


  10. Hi All,

    App works great on all iOS and iPhones, except on iPhoneX.

    Customer reports only a white screen, and further nothing happens.

    Unfortunately I don't have an iPhoneX available to test...

     

    Delphi 12.1, Xcode 15.4, Skia enabled, target iPhoneOS 17.5.

     

    Anyone any idea?

    tia,

    John


  11. Hi All,

    How to set the size of a TListboxGroupHeader, created at runtime?

     

    I tried:


     

    alistboxgroupheader.StyledSettings:=[];
    
    alistboxgrouheader.Height := 60;

     

    But it sticks at the default height. Works OK on windows, fails on iOS and Android.

    Any idea's?

    tia,

    John

     

     


  12. Hi All,


    Suddenly something weird... push notifications arrive perfectly on iOS 15 devices, but NOT on iOS 16,17 devices.
    Same app, D12.1, XCode 15.3, iPhoneOS17.4.SDK

    Tested on several iPhones. Delete app, reinstall app, give permission again, it makes no difference.

    Google FCM says "InvalidRegistration" when the notification is sent to an iOS 17 device or an iOS 16 device.
    iOS 15 (my old iPhone 6s) works okay.

     

    Anyone any idea?

     

    tnx, John

     


  13. Hi All,

     

    Android reports that my app (D12, running on Android 14) "frequently crashes" and suggests the user should clear the cache and/or contact the developer.

    Strange thing is that my app runs normal, no errors shown, no lost functionality. Nothing in the logs either...

     

    Android's message is reported to the user only sometimes (once in a couple of days) when the app is not even running. There's no service involved.

     

    This does NOT happen in Android when I set targetSDKlevel to 31 instead of the default 33.

     

    Even more strange: a similar message appears when running on iOS 17. No problems on iOS 15....

     

     

    Any ideas?

     

    tia,

    John

     


  14. On 11/8/2023 at 7:30 PM, John van de Waeter said:

    No Mobile? I have Android and iOS since the beginning, as well as a subscription... I did check iOS and Android in the features panel, but they don't appear as a target OS...
    My "keys" on My.Embarcadero.com don't mention "mobile" either....  glitch?

    Checked again this morning on myEmbarcadero, and now "with mobile" was added to my key. I reentered  the key into the licence manager and magically Android and iOS appeared as target platforms :)

    • Like 1

  15. No Mobile? I have Android and iOS since the beginning, as well as a subscription... I did check iOS and Android in the features panel, but they don't appear as a target OS...
    My "keys" on My.Embarcadero.com don't mention "mobile" either....  glitch?


  16. Hi All,

     

    With 'Edit default style', I have changed the appearance by changing the color properties in the "background" part (a TRectangle) of the TCornerbutton.

    Worked okay for years on Windows, iOS and Android.

    Now I tried using Skia4Delphi (5.0.0). The Cornerbutton is now transparent. No more colors visible.

    I was under the impression that the appearance of components would not be affected by using Skia.

    Is this a bug in Skia4Delphi?

    tnx,

    John

     


  17. However, another volunteer started a similar project (Website in a Webview) in another developers environment (react native IIRC) a couple of years ago.

    Unfortunately this developer is no longer among us, but the app still exists in the Playstore.
    Instead of doing nothing, both buttons show a choice: Camera or Files.

    I would think (but am not sure) that this Webview also uses the Chromium browser. Strange that the reponse to the buttons is different...

×