Jump to content

Peter M

Members
  • Content Count

    4
  • Joined

  • Last visited

Everything posted by Peter M

  1. Hi Team, Where can i get the settings below. Some I have worked out, others i am unable to deduce or generate. Background I am trying to configure my RAD Server to connect to FCM In the OLD Documentation it states it requires just and API Key set in the EMSServer.ini The New version (I'm not sure when possibly from Delphi 12.X) requires more settings This is what the section looks like now EMSServer.ini [Server.Push.GCM] ;# This section is for FireBase Cloud Messaging (FCM) settings. ;# These settings are needed to send push notifications to an Android device ClientID= ;# Set your OAuth2 client ID. Note, this must be a Desktop client. ClientSecret= ;# Set your OAuth2 client secret ProjectID= ;# Set your FCM project ID RefreshToken= ;# Set your OAuth2 refresh token. You can get it using EMSDevServer, "Sign in FCM" button. ;# Note, this requires Microsoft Edge WebView2 runtime to be installed.
  2. Peter M

    RAD Server settings for push service

    I have found an answer Next, before launching the DevServer, Go to Tools | Getit Package Manager and install the EdgeView2 SDK. Then copy in the WebView2Loader.DLL into the same directory from the redist directory. The Devserver needs to be in a writeable directory because the WebView2Loader DLL needs to create a subdirectory. I actually created a separate RADServerFCM directory with EMSDevServer and its dependent packages just to create the RefreshToken entry. If you are on a Windows 11 machine this should then work. If it is on Windows 10, you will also need to install the WebView2 SDK. The WebView2 will allow Google's login screen to display. To send messages, please ensure that you are using the binaries from Delphi 12.3. There was a bug in 12.2 that required the use of libcurl.dll and even then only the 32 bit version of RAD Server could be used. The version should come back as 4.9.
  3. Peter M

    RAD Server settings for push service

    There is progress. Adding a Client to OAuth with Type Desktop has made is past the process, slightly. Now its asking for an authorised account, which I added, Then i tried again, and now its asking to Deny or Allow access. But both buttons are disabled. I am unable to Allow the Account or figure out how to enable the buttons.
  4. I created a simple Firemonkey test app, TLabel, TEdit, and TButton. I am able to Deploy my code to the Windows, Android, iPhone Simulator, and MacOSX The Problem is i cannot deploy to any physical iOS Device, iPhone or iPad. Within my SDM Manager in Delphi, for iOS Device 64bit, iPhone 18.5. I am using the latest xCode Version 16.4 (16F6) on my Mac Laptop. When updating the local file cache I get an error. Directory does not exist: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/PrivateFrameworks/UIFoundation.framework/ I looked on the Mac Laptop there is no folder for PrivateFrameworks within the System/Library Folder. How do i get this folder updated, or created, or this issue corrected? I am using Embarcadero RAD Studio 12 Version 29.0.53571.9782 (Delphi 12 Update 2)
×