Jump to content

John van de Waeter

Members
  • Content Count

    53
  • Joined

  • Last visited

Community Reputation

4 Neutral

About John van de Waeter

Technical Information

  • Delphi-Version
    Delphi 12 Athens

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. John van de Waeter

    iOS push notifications iOS15 & iOS17

    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
  2. John van de Waeter

    This app crashes frequently....

    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
  3. John van de Waeter

    Delphi 12 is available

    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 :)
  4. John van de Waeter

    Delphi 12 is available

    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?
  5. John van de Waeter

    Skia4Delphi and rendering custom style

    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
  6. John van de Waeter

    TWebbrowser & camera permission

    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...
  7. John van de Waeter

    TWebbrowser & camera permission

    The bugreport on Chromium is from 2016 and does not seem to be solved yet. So yes, the only option is to implement taking photos in the app itself. Thanks for looking into it! John
  8. John van de Waeter

    TWebbrowser & camera permission

    I'm trying to wrap "www.trustroots.org" into a TWebbrowser. You would have to create an account to get to the profile/image page. It offers 2 buttons: Select a photo and Take a photo. Works okay in a browser Works okay in a TWebbrowser on iOS Does NOT work in a TWebbrowser on Android.
  9. John van de Waeter

    TWebbrowser & camera permission

    Thanks Dave. It was my impression that the embedded webbrowser would need the permission. nevertheless... The website with the photo-button works in every browser. The camera is started. When the website is opened in the TWebbrowser, the photo-button only offers the option to pick a photo from the gallery. John
  10. John van de Waeter

    TWebbrowser & camera permission

    Hi all, If I open a website that gives the user the opportunity to use the camera, nothing happens inside the TWebbrowser. No error thrown. I manually granted the required permissions to the app, but no luck. On iOS it works OK, on Android nothing happens. Any ideas? thanks, John
  11. John van de Waeter

    TMapview and changing marker's position

    Hi All, I have a TMapview and 12 markers. The position (Lat/Long) of these markers change every 0.5 seconds. Everytime I delete the Markers and add them with the new positions. This works OK on Android, but on iOS the app crashes the iPhone after about an hour. The iPhone gets completely frozen, no response to Screen Home-key and On/Off key anymore. After a while the iPhone automatically reboots. The deleting of the markers is done by Marker.DisposeOf. If I change to Marker.Remove, result is the same. I guess it is a memory issue inside the mapview. No errors are thrown if I use a try... except. Instead of recreating the Markers, I tried to set a new location using Marker.Descriptor.Position.Latitude:=..., but Delphi complains that "Left Side cannot be assigned to", so readonly. Is it really necessary to delete/recreate a marker when it's position is changed? Thanks, John
  12. Hi All, (D11.3 on Windows 10) Occasionally, when I switch Target platform, the markdown does not work. It stays in the previous state. E.g. when I switch Target Platform from Windows to Android, the windows part of the code( between {$IFDEF MSWINDOWS} and {$ENDIF}) should go gray and the Android part should turn black. But it stays like Windows Target is still selected. Closing and reopening the unit solves the problem. CodeInsight sometimes looses track and after typing the dot after an objects name, it gives me all kinds of template-suggestions, but no object-properties. Closing and reopening the unit usually solves the problem. The lines on the lefthand side that nicely show the pairs of begin and end sometimes are shifted a couple of lines, Closing and reopening the unit usually solves the problem. Often when the Build Configuration is Release, it builds as if it's in Debug mode. The Compiling Dialog shows Debug. A couple of times switching between Debug and Release usually solves the problem. The last one :) Often when hitting F9, the messages window shows that a unit cannot be found. Always another arbitrary unit. Hitting F9 again, problem gone, compiles okay. All above smells (imho) a bit like some memory corruption? Or maybe the 6GB RAM I have is not enough? cheers, John
  13. Hi All, I have this listbox with on each listitem a horizontal scrollbox. Works nice, except the a vertical scroll gesture on the horzscrollbox should propagate to the parent, the underlying listbox. I tried with a gesturemanager, and in the action I can scrollby() the listbox, but that's not a smooth solution... Is there a way to pass through the vertical scroll gesture to the parent? tia! John
  14. John van de Waeter

    Delphi 11.2 and MacOS SDK 15.5

    Yeah, probably. I managed to boost my MacVM, and the cache-update now took about 8 hours. Compiling and running an iOS app is ok. Deploying looks okay too, except for the last step: copying the ipa to the local iOSDevice64 directory. Delphi became unresponsive, high cpu-load, and I canceled the copying process after about an hour. But the ipa is on the Mac, ready to be deployed to the appstore 🙂 And here's the problem again... uploading to the AppStore (via Transporter) worked, but took more than 30 minutes... It's looks like it's the MacVM that has serious problems with networking/uploading.... from what I read on the net it's a Ventura issue, also on Mac hardware.
  15. John van de Waeter

    Delphi 11.2 and MacOS SDK 15.5

    I have exactly the same problem.... Does anyone know if it is possible to transfer SDK files from the Mac to Windows dev environment by using e.g. a USB-stick?
×