Tapping notification doesn't open app?

I have this code in my app just testing it out. The notification works just fine after 15 seconds. However, when tapping the notification it just removes it. It doesn’t actually launch the app. Is there something that I’m missing here?
 

local options = { alert = "Wake up!" } local notificationId = system.scheduleNotification(15, options)

Edit: After some testing it seems to work if I close the app (click the back button) however, if I press the home button it doesn’t take me into the app. 

 

Edit2:  After more testing it doesn’t appear to work on either now. I did notice that if I have 2 notifications come through at the same time one of them will work and the other one wont. If I have 1 come through then it never works. 

What happens if you run the local notifications sample app?

Rob

Notification sample works just fine on my device

Edit: Seems like my apps notifications are working now. No idea what the issue was.

So the notifications were working just fine but then I did a fresh install of the app and now once again clicking on the notification doesn’t open the app. It’s not like the app is crashing as it never even loads the splashscreen. When clicking on the notification it just removes the notification. 

I’m on an Android LG G3 if that helps anything.

Ohh the sample notification app is working just fine. When I copy that code into my app though it doesn’t work.

What happens if you run the local notifications sample app?

Rob

Notification sample works just fine on my device

Edit: Seems like my apps notifications are working now. No idea what the issue was.

So the notifications were working just fine but then I did a fresh install of the app and now once again clicking on the notification doesn’t open the app. It’s not like the app is crashing as it never even loads the splashscreen. When clicking on the notification it just removes the notification. 

I’m on an Android LG G3 if that helps anything.

Ohh the sample notification app is working just fine. When I copy that code into my app though it doesn’t work.