@munsterlander@Fran-Diox Moving the event listener for ‘init’ to be outside the ‘deviceReady’ event listener worked. I find that strange since I was under the impression the ‘init’ event will register as fired even if you add the listener after the event actually fired.
But it’s working now, so thank you for the assistance! Both of you.
It came after a great problem here: i have on my apps a similar command , but when i don’t have an app , the user receives a message with the available packages. It’s not good! So , now i can show a better message.