I'm trying to implement the Local Push Connectivity logic. I managed to implement them correctly, I would need to understand from the extension if the main application is active in the foreground or in the background is it possible? currently I do not find anything that can give me this information.
Thanks for any support