-
Content Count
1297 -
Joined
-
Last visited
-
Days Won
29
Posts posted by Dave Nottage
-
-
1 minute ago, ChrisChuah said:How can i clear browser to show nothing ?
webbrowser.navigate('none')?
Navigate('about:blank');
-
21 minutes ago, Rollo62 said:How is your experience, is it more or less smooth to migrate, for mobile stuff?
More or less, yes 🙂
21 minutes ago, Rollo62 said:Ok, it seems I have to look into D12 sooner than I hoped.
Updating would be for far more important factors than those warnings
-
8 hours ago, Rollo62 said:If anyone knows how to get rid of these warnings
Yes - update to Delphi 12. If that's not an option, and unless you're having problems with Play Store due to the warnings, it's pointless to do anything.
-
19 minutes ago, kabiri said:Because of Google's requirements, all developers who use AdMob must add it to their apps.
Thanks for the heads up!
-
2 hours ago, kabiri said:How can i add the Google User Messaging Platform SDK to my app?
For which platform(s)?
-
9 hours ago, Apricot said:Ertan merhaba belirttiğin sorunu çözebildinmi?
You might be interested in this: https://github.com/DelphiWorlds/HowTo/tree/main/Solutions/AndroidLowerVersions
-
1 minute ago, Shano said:I have the Generate Android 32-bit and 64-bit binaries set to True
This applies only when generating an application for uploading to Play Store (.aab file). If you're in "development mode" and your device supports 32-bit only, just select Android 32-bit as the target.
-
23 minutes ago, JonRobertson said:I have SVGIconImageList installed and don't see a related sk4d.dll.
By default SVGIconImageList uses a different library from Skia on Windows, namely Image32
-
1 hour ago, rudy999 said:I just ran it on a VM Windows 10 without Dephi 12 installed and just the exe and not the sk4d.dll file.
Then it does not have Skia enabled
-
1 minute ago, rudy999 said:What I finally noticed was in the executable folder there was now a sk4d.dll. If I move the file out of that directory the
application still ran.
Try running it on a machine that does not have Delphi 12 installed.
-
31 minutes ago, bdw_nz20 said:I just get an Error occurred still.
It was "up" for a while.. now "down" again for the last 5 hours.
29 minutes ago, bdw_nz20 said:Anyone seen any blog or post to indicate the outage
I have a service that monitors QP for new reports. Because of the constant outages, I'm working on having a page published with a "current status", that uses the service. In the meantime, this gives the details in JSON.
-
8 minutes ago, bdw_nz20 said:I've installed v12 but just tried to look at the quality portal and its says I have no access.
QP has been "down" for the last 48 hours - the relevant people were notified about an hour after the problems started.
-
3 minutes ago, scamp said:So clearly the Delphi installer is not correctly/fully installing it.
It's likely because you have an incompatible JDK present on the machine. This is a potential fix:
1. Make sure JAVA_HOME environment variable is set to the Adoptium JDK:
JAVA_HOME=C:\Program Files\Eclipse Adoptium\jdk-11.0.15.10-hotspot
2. Add missing build-tools by going to:
C:\Users\Public\Documents\Embarcadero\Studio\23.0\CatalogRepository\AndroidSDK-2525-23.0.50491.5718\cmdline-tools\latest\bin
In a command prompt and issue these commands:
sdkmanager “build-tools;33.0.2” sdkmanager “platforms;android-33”
- 4
-
Just now, instrumentally said:the Welcome page is already disabled
Ouch. I'll look into what else you might be able to do
-
22 minutes ago, instrumentally said:So what could have possibly broken to affect both versions of Delphi?
The Embarcadero website might have changed where the scripts it attempts to execute are not supported in the embedded IE browser in the IDE. Disable the Welcome Page and it'll probably go away.
-
20 minutes ago, PeterPanettone said:Sadly, Embarcadero did not contact the registered and confirmed participants to inform them that they were excluded.
Exclusion happens when you attempt to join. GotoWebinar has a limit of 3000 attendees (Enterprise level). Once the limit has been reached, it refuses subsequent attempts to join.
-
4 hours ago, mvanrijnen said:When will the CE release will be released?
Going by the last couple of CE releases, not for at least several months, probably after at least update 2.
- 1
-
52 minutes ago, Mike Warren said:Looks like this bug has been fixed in D12 according to the QC. I haven't installed D12 yet to check.
A very brief check (at design-time) shows it appears to have been fixed.
-
13 minutes ago, Vanar said:it only works when the application is running and active
It works when the app is not running, or not active too. As mentioned before the payload being sent must be correct for it to work, as well as having the correct UIBackgroundModes
-
1 minute ago, cupboy said:For doing ios or mac apps in firemonkey does the processor in the macbook matter?
It matters only if you're targeting simulator, where Delphi requires the Mac to have an M1, M2 or M3
- 1
-
10 hours ago, Vanar said:Problem solved!
Good to hear
10 hours ago, Vanar said:Do you think this is an original solution or a crutch?🙂
Well, it's a solution, apparently? I assume whatever implementation you are using sends a local notification, which to my mind is unnecessary. I use Delphi's built-in FCM support, however even if the messages are not going via FCM, it should be a simple matter of subscribing to TPushRemoteNotificationMessage, e.g.:
TMessageManager.DefaultManager.SubscribeToMessage(TPushRemoteNotificationMessage, PushRemoteNotificationMessageHandler);
..and in the handler:
procedure TForm1.PushRemoteNotificationMessageHandler(const Sender: TObject; const M: TMessage); begin if M is TPushRemoteNotificationMessage then // Use this value (which is JSON): TPushRemoteNotificationMessage(M).Value.Notification end;
- 1
-
16 minutes ago, Vanar said:My PUSH contains all the data (it is well formed and carries useful information).
Does it contain content-available, as I mentioned?
16 minutes ago, Vanar said:At what point can I receive PUSH data:
when PUSH came to the phoneYes
16 minutes ago, Vanar said:when do I activate the application?
What do you mean by "activate the application"? The OS "wakes up" the application in the background, and the message receive handler (in your case, apparently OnReceiveNotificationEvent) gets called, when the message is received.
16 minutes ago, Vanar said:The fact is that when I exit the background state of the application, I cannot read the information in PUSH.
Possibly because you do not have the content-available member in the payload of the message.
16 minutes ago, Vanar said:In what way can you get it, using what event?
As mentioned, in the message receive handler
16 minutes ago, Vanar said:I will be able to not only wake up the application, but also perform some logic (depending on the content of the PUSH data).
. As per the section "Receive Background Notifications" in the same link, you have up to 30 seconds of processing time. Ignore the parts about the app delegate and completion handler - they are handled for you in the FMX code.
Incidentally, I've found that trying to make background notifications like this work is a complete nightmare, mainly because of this (from the same link):
"The system treats background notifications as low priority: you can use them to refresh your app’s content, but the system doesn’t guarantee their delivery. In addition, the system may throttle the delivery of background notifications if the total number becomes excessive. The number of background notifications allowed by the system depends on current conditions, but don’t try to send more than two or three per hour."
It makes testing such things extremely difficult. Whatever you're attempting to do, you might need to do it some other way. -
4 minutes ago, Vanar said:Are there any examples in Delphi on this topic?
I was referring to what needs to be in the payload of the notification being sent (i.e. nothing to do with the code in the Delphi app). See the "Create a background notification" section at that link.
-
7 hours ago, Vanar said:I need to process the PUSH data, perform some actions, and not just open the application.
If you want to be able to process the notification without user interaction (i.e. not open the application visibly), you need to follow the rules set out here:
[Q] Add the Google User Messaging Platform SDK to my app
in Cross-platform
Posted
I'm working on adding this to the Kastri library - it might be ready in a few days time.