document.getElementById("free_play_form_button").addEventListener("click", displayDate); function displayDate() { console.log("Prueba"); }
But now i have another problem, i’ve set the clock to 1 hour, to trigger a notification. The problem is, the notification never appears. I tried with smaller timelapses (5 seconds, 1 minute, 5 minutes) but anything beyond that, the app ignores it completely.
I’m pretty sure it’s a background problem (the app “unloads” itself after some time)