Unity-Technologies / NotificationsSamples

Sample project for Unity Notifications
Other
283 stars 50 forks source link

Can't set iOS Foreground Presentation Options to "Nothing" #39

Closed habitoti closed 4 years ago

habitoti commented 4 years ago

Even with my Unity app in foreground, iOS notifications (sent from Firebase) where shown from the tray (in addition to my app handling them anyway). I found the global project setting "Remote Notification Foreground Presentation Options" that seem to do the trick of letting me choose how to handle the tray presentation. I would like to set it to "Nothing", but that doesn't work. It then instantly sets it back to "All". Currently I've set it to only "Sound", which at least just leaves me with the still annoying beep only. How can I suppress any notification handling outside of the running app? I am using Mobile Notifications package 1.0.3.

habitoti commented 4 years ago

Sorry, ended up in the wrong repo, this should have gone to com.unity.mobile.notifications...