PWA App Application.OnOnlineChange on Android

Hi,

I tested my PWA application on Windows, MacOS and IOS and on these systems OnOnlineChange trigger is working but on Android no.

Bellow my code:

procedure TfrmLoginForm.WebFormCreate(Sender: TObject);
begin
  Application.OnOnlineChange := AppOnlineChange;
end;

procedure TfrmLoginForm.AppOnlineChange(Sender: TObject; AStatus: TOnlineStatus);
begin
  if(Application.isOnline)then
    begin
      //some code if online
    end
  else
    begin
      //some code if offline 
    end;
end;

Could you check this problem on your side?

Regards,

What browser is this? Browser version? Android version?

Hi,

It was Samsung Internet Browser  ... but I updated this software manually to the latest version ... and now all is working ok ... the problem was solved :)

Thanks for informing.