Grzegorz Dominiczak

Results 12 comments of Grzegorz Dominiczak

getInitialNotification only returns data when the app is starting from cold boot. Additionally it won't return data in development build, but it will in release build.

> Haven't figured out a way yet to get this to return anything but null (debug or release). Did you check notification from coldboot? This method only returns notification which...

As per Apples's documentation `UNUserNotificationCenter` is only available from iOS 10+. You'll need to check iOS version in conditional. Additionally this block is only needed if you want to handle...

I believe there is no warning when I've changed the target to iOS 10+. Documentation should probably mention that this part is only needed for foreground notification handling and it...

I have working solution, I'll post it later today.

Please note that `UNUserNotificationCenter` is available in iOS 10+, so if your app needs to support iOS 9, you'll need to wrap appropriate parts of code in conditional blocks. More...

Can we close this issue now or maybe we should add info above to the docs for people with the same issue?

@brianomchugh > Is there any way to conditionally hide remote notifications in the foreground (for instance if you are already looking at the chat thread that the message applies to)...

It's quite possible. When you want to block notification you need to save that information in the variable in the native side. When notification is received just read that variable...

It's not a bug - js code is never run in the app background. I'll receive notification in this listener once you tap the notification and the app is moved...