I have created a Custom Dialogue to show a recommendation (with a global counter), but it only works in certain specific conditions, I explain it in two cases:
If I install the app for the first time and immediately click on the Side Menu - SmartBook FARO the dialog box opens without any problem, until here it works correctly.
If I install the app for the first time and start to open other links of the app from the Side Menu, then I try to open the option of SmartBook FARO this does not open, this is my problem. I think my problem is in the global variable “counter_web” but I didn’t know what it is, any suggestions?
My intention with the global variable “counter_web” is for the user to see the Custom Dialogue only once, that is, the second, third, fourth … once he goes to SmartBook FARO this box does not appear.