Jump to content

Beppe Magistro

Members
  • Content Count

    20
  • Joined

  • Last visited

Everything posted by Beppe Magistro

  1. Beppe Magistro

    SOAP Client Android

    Hi All, I have a D11 small fmx app consuming a Soap web service authorized by user/password , if i run on WIndows all is working good, if i try to run on Android i Have this error : Project Client_Wms.apk raised exception class ESOAPHTTPException with message 'Unauthorized (401) - 'http:/masterdata/Artikel.asmx''. this is the code : indirizzo:= THTTPRIO.Create(nil); indirizzo.HTTPWebNode.UserName := 'user'; indirizzo.HTTPWebNode.Password := 'password'; indirizzo.HTTPWebNode.UseDefaultCredentials :=true; art := GetartikelSoap(false,'http:/masterdata/Artikel.asmx',indirizzo); APP_ART:= art.getDBValue('ARTIKEL','ARTIKEL','EANCODE','8007057433524'); in the Android manifest i added : android:usesCleartextTraffic="true" Thanks in Advance
  2. Beppe Magistro

    SOAP Client Android

    in manifest i have already added this : android:usesCleartextTraffic="true">
  3. Beppe Magistro

    SOAP Client Android

    same on delphi 10.4.2
  4. Beppe Magistro

    SOAP Client Android

    yes same result 'http://10.11.10.50/APplusTest7/masterdata/Artikel.asmx' result : Project Client_Wms.apk raised exception class ESOAPHTTPException with message 'Unauthorized (401) - 'http://10.11.10.50/APplusTest7/masterdata/Artikel.asmx''.
  5. Beppe Magistro

    SOAP Client Android

    the url is an internal one and is working if i run on windows , i tried to modify to https://masterdata/Artikel.asmx" but the connection is refused by the server under windows too.
  6. Beppe Magistro

    SOAP Client Android

    please tell my what to change
  7. Beppe Magistro

    iOS push notification http/2

    hi all , Apple will discontinue notification in binary mode at the end of march and will work only in HTTP/2 mode. anybody has a working example? Thanks in advance Beppe
  8. Beppe Magistro

    osx dark mode 10.4.2

    Hi all , there is in delphi 10.4.2 a way to understand if MAC is in dark mode and switch theme ? Thanks in advance Beppe
  9. Beppe Magistro

    osx dark mode 10.4.2

    thank you very much !!!!
  10. Beppe Magistro

    osx dark mode 10.4.2

    thank you Wil , do you have a small code example ? Beppe
  11. Beppe Magistro

    IOS 14 and Xocde 12 issues

    i have the same issue , delphi 10.4.1 ,xcode 12.3 ios 14.3 Beppe
  12. Beppe Magistro

    Firebase Notification

    hi all, i have an application builded with Delphi 10.3.3 and android firebase notification are working good. I tried to move the application to Delphi 10.4.1 but the app hang when try to connect the server. PushService := TPushServiceManager.Instance.GetServiceByName(TPushService.TServiceNames.GCM); ServiceConnection := TPushServiceConnection.Create(PushService); ServiceConnection.Active := True; i Tried with a small example from the scratch but the same result. anybody has a working example on 10.4.1 ? Thanks in advance Beppe
  13. Beppe Magistro

    Firebase Notification

    ??
  14. Beppe Magistro

    Firebase Notification

    PushService := TPushServiceManager.Instance.GetServiceByName(TPushService.TServiceNames.FCM); if PushService <> nil then begin ...... remain nil !
  15. Beppe Magistro

    Firebase Notification

    hi , this example do not compile on 10.4.1 , PushService: TPushService; ServiceConnection: TPushServiceConnection; Notifications: TArray<TPushServiceNotification>; these variables remain in red , may be are not more defined in FMX.PushNotification.Android; if i include System.PushNotification; the sample compile but hang
  16. Beppe Magistro

    Firebase Notification

    up
  17. Beppe Magistro

    Firebase Notification

  18. Beppe Magistro

    Firebase Notification

    yes the same as 10.3.3
  19. Beppe Magistro

    Firebase Notification

    this is not my case , on 10.3.3 my app is working , the problem is on 10.4.1
  20. Beppe Magistro

    Firebase Notification

    Hi Dave, i tried TPushService.TServiceNames.FCM but same result ,the program hang when execute ServiceConnection.Active := True; There is a tutorial or an example for 10.4.1 ? Thanks Beppe
×