Dear Sir,
I am trying to create a service application in FMX Android (Delphi XE10.1 Berlin Update 2) but when the host app is in foreground or in background everything works well. However, if I close the host app service stops as well.
I know that in android if the service is declared to run in the foreground, it's rarely killed. So is there a way to create a foreground service in FMX and if yes can you provide us an example ?
Thank you very much in advance for your answer.