# Taking user to appropriate screen after tapping on chat push notification in iOS

**URL:** <https://community.sendbird.com/t/taking-user-to-appropriate-screen-after-tapping-on-chat-push-notification-in-ios/8988>\
**Category:** Flutter\
**Tags:** push-notification\
**Created:** [January 31, 2024, 2:30pm UTC](https://community.sendbird.com/t/taking-user-to-appropriate-screen-after-tapping-on-chat-push-notification-in-ios/8988 "2024-01-31T14:30:48Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![moqbel](https://avatars.discourse-cdn.com/v4/letter/m/e47c2d/32.png) [@moqbel](https://community.sendbird.com/u/moqbel)\
**Post date:** [January 31, 2024, 2:30pm UTC](https://community.sendbird.com/t/taking-user-to-appropriate-screen-after-tapping-on-chat-push-notification-in-ios/8988/1 "2024-01-31T14:30:49Z")

</div>

How to accomplish taking user (based on channel\_id or any other mean) to specific chat channel screen when user taps on notification in iOS since silent notifications are disabled for APNs in Sendbird?

---

<div class="post-metadata">

**Author:** ![Tyler](https://sea2.discourse-cdn.com/flex020/user_avatar/community.sendbird.com/tyler/32/810_2.png) [@Tyler](https://community.sendbird.com/u/Tyler)\
**Post date:** [February 1, 2024, 4:56am UTC](https://community.sendbird.com/t/taking-user-to-appropriate-screen-after-tapping-on-chat-push-notification-in-ios/8988/2 "2024-02-01T04:56:18Z")

</div>

Hello @moqbel,

As mentioned in your other thread, this ultimately depends on what your push implementation looks like for Flutter. There are various implementation styles with different processes. Can you expand on your Push implementation a bit? Such as what packages you’re using?

---

<div class="post-metadata">

**Author:** ![moqbel](https://avatars.discourse-cdn.com/v4/letter/m/e47c2d/32.png) [@moqbel](https://community.sendbird.com/u/moqbel)\
**Post date:** [February 1, 2024, 8:12am UTC](https://community.sendbird.com/t/taking-user-to-appropriate-screen-after-tapping-on-chat-push-notification-in-ios/8988/3 "2024-02-01T08:12:46Z")

</div>

Hi @Tyler

First firebase\_messaging was used which worked nicely in android but not iOS; in iOS the background callback never triggered actually(I tried everything couldn’t manage to make it work) but the default popup always showed.

So now push is being used like in the example app you guys have. However in android it didn’t work until firebase\_core was added; ( strange since the example app doesn’t include the firebase\_core package) it always complained that firebase app has not been initialised.

It seems now it works well after adding that although I haven’t tested whether a push notification callback will trigger if the app has been terminated.

In iOS push also works and the background callback is triggered ( not all the time though) but at the same time as you know the default notification appears.
