How to get foreground app name from background mode


#1

I’m trying to get the package of the app running in foreground from a service launched by ionic in background mode, but I’m not able to find any way to access this kind of informations. So, is there any way to do that, some plugin or Ionic doesn’t support this access ?

Thanks