# \[iOS\] Receiving Notifications after even turn off with Sendbird API

**URL:** <https://community.sendbird.com/t/ios-receiving-notifications-after-even-turn-off-with-sendbird-api/5804>\
**Category:** iOS\
**Tags:** push-notification, chatsdk\
**Created:** [October 24, 2022, 8:31am UTC](https://community.sendbird.com/t/ios-receiving-notifications-after-even-turn-off-with-sendbird-api/5804 "2022-10-24T08:31:05Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Eugene\_Vovk](https://sea2.discourse-cdn.com/flex020/user_avatar/community.sendbird.com/eugene_vovk/32/2218_2.png) [@Eugene\_Vovk](https://community.sendbird.com/u/Eugene_Vovk)\
**Post date:** [October 24, 2022, 8:31am UTC](https://community.sendbird.com/t/ios-receiving-notifications-after-even-turn-off-with-sendbird-api/5804/1 "2022-10-24T08:31:05Z")

</div>

Hello team.

Our application has a logic for disabling push notifications for chats via the `SendbirdChat.setPushTriggerOption` API.  
Everything works fine until, I go into the chat settings and turn on and turn off notifications the notification toggle.  
Then this API `SendbirdChat.setPushTriggerOption` does not work even if I resend `SendbirdChat.setPushTriggerOption(.off)`.

* * *

**[SDK Version]**

- SendBirdUIKit (3.2.1)
- SendbirdChatSDK (4.1.0)

**[Reproduction Steps]**

1. Send a request to disable push notifications via API

```auto
SendbirdChat.setPushTriggerOption(.off) { error in
   print("SendBird has push trigger options: \(error == nil)")
 }

```

1. Go to chat settings turn notifications on and off

**[Frequency]**  
Always

---

<div class="post-metadata">

**Author:** ![Eugene\_Vovk](https://sea2.discourse-cdn.com/flex020/user_avatar/community.sendbird.com/eugene_vovk/32/2218_2.png) [@Eugene\_Vovk](https://community.sendbird.com/u/Eugene_Vovk)\
**Post date:** [October 31, 2022, 8:05am UTC](https://community.sendbird.com/t/ios-receiving-notifications-after-even-turn-off-with-sendbird-api/5804/2 "2022-10-31T08:05:22Z")

</div>

Hello guys!  
Any information?

---

<div class="post-metadata">

**Author:** ![IrynaRiabchuk](https://sea2.discourse-cdn.com/flex020/user_avatar/community.sendbird.com/irynariabchuk/32/3216_2.png) [@IrynaRiabchuk](https://community.sendbird.com/u/IrynaRiabchuk)\
**Post date:** [November 3, 2022, 10:24am UTC](https://community.sendbird.com/t/ios-receiving-notifications-after-even-turn-off-with-sendbird-api/5804/3 "2022-11-03T10:24:49Z")

</div>

I have the same issue.  
I use SDK:  
SendBirdUIKit (3.2.1)  
SendbirdChatSDK (4.1.0)

---

<div class="post-metadata">

**Author:** ![Eugene\_Vovk](https://sea2.discourse-cdn.com/flex020/user_avatar/community.sendbird.com/eugene_vovk/32/2218_2.png) [@Eugene\_Vovk](https://community.sendbird.com/u/Eugene_Vovk)\
**Post date:** [November 10, 2022, 11:25am UTC](https://community.sendbird.com/t/ios-receiving-notifications-after-even-turn-off-with-sendbird-api/5804/4 "2022-11-10T11:25:24Z")

</div>

Hello guys!  
You didn’t answer me. Maybe you need more information?
