• Hey Guest! Ever feel like entering a Game Jam, but the time limit is always too much pressure? We get it... You lead a hectic life and dedicating 3 whole days to make a game just doesn't work for you! So, why not enter the GMC SLOW JAM? Take your time! Kick back and make your game over 4 months! Interested? Then just click here!

push notifications not working on android

RizbIT

Member
I use this code in the button left click event:

var fireTime = date_inc_second(date_current_datetime(), 10);
var data = "daily_reward";
push_local_notification(fireTime, "Ahoy!", "Catch The Haggis Has A Present", data);

i then minimise the app and go to mobile home screen.

After 10 seconds nothing happens, no notification.

What am i doing wrong?

Are there any settings that have to be changed, phone is sony xperia.

Ive set the synch notification event as in the manual too.
 
T

The Shatner

Guest
Hey RizbIT,
Have you compiled your project and ran it as a stand-alone apk instead of using YoyoRunner? Some things don't work well when you run them directly from GameMaker.
 
T

The Shatner

Guest
That's odd... Did you turn them on in the Global Game Settings?
If you did, try changing it to other events, such as "Game Start" or "Room Start", or even the "Create" event of your very first created object, or the Creation Code of your starting room... And please do tell us how you managed to solve the issue, after you manage to do it...
 
Top