Android notifications don't open app when clicked on

I have notifications in my app that show up in the notification bar just fine. However when I tap on the notification nothing happens. It wont open the app for some reason. Does anyone have any idea what might cause this issue?

--Set notification local notificationOptions = { alert = "test message", custom = { value = 1 } } notificationId = system.scheduleNotification(100, notificationOptions)

Okay after a ton of debugging I found out the issue is with the custom field. If I remove the custom field it works fine. In the docs it says this should work the way I have it but it doesn’t. Is there something I’m not seeing?

Edit: Okay so this helped a lot but it’s not the 100% saving grace like I thought it was. Before removing this it would never work after removing it, it only works 75% of the time. It’s still not 100% though.

Okay after a ton of debugging I found out the issue is with the custom field. If I remove the custom field it works fine. In the docs it says this should work the way I have it but it doesn’t. Is there something I’m not seeing?

Edit: Okay so this helped a lot but it’s not the 100% saving grace like I thought it was. Before removing this it would never work after removing it, it only works 75% of the time. It’s still not 100% though.

Hello were you able to make it work? I’m having the same issue. Thanks 

Hello were you able to make it work? I’m having the same issue. Thanks