universal-tools / UTNotificationsFeedback

7 stars 0 forks source link

UTNofitications - Help with OnNotificationClicked not firing when app is minimized #125

Open Plavalaguna opened 4 years ago

Plavalaguna commented 4 years ago

Hi guys,

We’ve been using the UTNotifications package for some time.

UTNotifications: v1.7.3 Unity: 2018.4.23 Tested on iOS device running 12.3.1

I added code in our game to subscribe to UTNotifications.Manager.OnNotificationClicked and it works great, but it seems to only fire when the app is NOT running in the background.

So basically: App is backgrounded/minimized, player taps local notification -> OnNotificationClicked fails to fire when app returns to the foreground. App is closed, player taps local notification -> OnNotificationClicked fires once the game launches.

It’s very difficult to step through this in Unity, so I was wondering if you folks had any ideas on what might be causing this.

Any helps is appreciated!

Thanks

yuriy-universal-ivanov commented 4 years ago

Hi @Plavalaguna , I've replied you by email, as I saw your email message first.

truongpd88 commented 3 years ago

hello, @yuriy-universal-ivanov can you show me how to fix this issue, because we are facing this issue too, we dont want to upgrade to lastest version, because we already in prod with a thousand user, it's so risky