I'm building a simple top bar app and I'm having issues while using the setter to change the icon:
var client = ZAFClient.init();
This works properly when I click the icon of the app.
Then, if I change the manifest to have the app also running on the background:
when loading the page, the console displays an error saying:
The code to change the icon still works properly when opening the app. Is just rejecting that promise when trying to use the code in the background.
I checked and confirmed the client status was ready and the instance created but the error is still present.
Any thoughts on how to make the icon change from the background location?
Thanks in advance,
Iniciar sesión para dejar un comentario.