ostownsville / cordova-plugin-fcm

Google FCM Push Notifications Cordova Plugin
21 stars 17 forks source link

iOS Notification Sound in "Do Not Disturb mode" #32

Closed luigi37 closed 6 years ago

luigi37 commented 6 years ago

Hi, on Android, you can exclude app from the "Do not disturb mode" and as long as you select appropriate option, the notification will be issued also with sound. Is there anything similar in iOS?

Actually, in FCM I'm already using 'priority' => 'high',

chrisjpalmer commented 6 years ago

Very sorry but I dont have time to research this but do check out the APNS documentation, If there is native support within APNS its just a matter of using Firebase to control it.

luigi37 commented 6 years ago

Understood Chris and thanks again for all the great work on this plugin! I found priority option and in effect it gets the notification delivered. Only with no sound... I'm wondering, not being an iPhone user, if any app can send sound notification to iPhone in do not disturb more at all...

chrisjpalmer commented 6 years ago

I think not, knowing apple! It's the kind of thing that Apple would not support haha!

chrisjpalmer commented 6 years ago

No problem at all Luigi. Thanks for the encouragement!

luigi37 commented 6 years ago

Ok. I will ask my Apple friends and check again apn doc :-)

luigi37 commented 6 years ago

After having checked around it seems there is no option on site to skip do not disturb. Anyway, Apple friends confirmed they usually silence app they don't need and keep loud the ones they want. So I think we can close