# Reaction issues with SBUChannelViewController

**URL:** https://community.sendbird.com/t/reaction-issues-with-sbuchannelviewcontroller/1802
**Category:** iOS
**Tags:** uikit, ios
**Created:** [March 4, 2021, 7:33am UTC](https://community.sendbird.com/t/reaction-issues-with-sbuchannelviewcontroller/1802 "2021-03-04T07:33:46Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![Darin\_Tanaka](https://sea2.discourse-cdn.com/flex020/user_avatar/community.sendbird.com/darin_tanaka/32/103_2.png) [@Darin\_Tanaka](https://community.sendbird.com/u/Darin_Tanaka)
#### Post date: [March 4, 2021, 7:33am UTC](https://community.sendbird.com/t/reaction-issues-with-sbuchannelviewcontroller/1802/1 "2021-03-04T07:33:46Z")

</div>

Currently testing with versions on a iOS 14.4 Simulator

- SendBirdUIKit (2.0.8):
- SendBirdSDK (~\> 3.0.205)

I’m unable to get the reactions menu to show up shown [here](https://sendbird.com/docs/uikit/v1/ios/guides/reactions) instead what I get is when I long press

 ![Simulator Screen Shot - iPhone 12 Pro - 2021-03-03 at 23.31.29](https://us1.discourse-cdn.com/flex020/uploads/sendbird/original/2X/8/80d2d7a04ea2e6f524e9175f5babd65411edf5ec.jpeg)

Also I’m unable to get the sample app to compile using Xcode 12.4 so I can’t even verify if it works there.

I’m currently initializing my SBUChannelViewController this way:

```
SBUChannelViewController * channelVC = [[SBUChannelViewController alloc] initWithChannelUrl:self.channel_url messageListParams:nil];
UINavigationController * naviVC = [[UINavigationController alloc] initWithRootViewController:channelVC];
UITabBarItem * chatTabBarItem = [[UITabBarItem alloc] initWithTitle:@"Chat" image:[UIImage imageNamed:@"message-7"] tag:1];
naviVC.tabBarItem = chatTabBarItem;
[channelVC setTitleView:nil];
[channelVC setLeftBarButton:nil];
[channelVC setRightBarButton:nil];

```

Is there a reason why the reactions don’t show up in the message menu?

---

<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: [March 4, 2021, 6:48pm UTC](https://community.sendbird.com/t/reaction-issues-with-sbuchannelviewcontroller/1802/2 "2021-03-04T18:48:14Z")

</div>

@Darin_Tanaka

Let me take a look into this and see if I can recreate the issue.

-Tyler

---

<div class="post-metadata">

### Author: ![Woo](https://sea2.discourse-cdn.com/flex020/user_avatar/community.sendbird.com/woo/32/125_2.png) [@Woo](https://community.sendbird.com/u/Woo)
#### Post date: [March 4, 2021, 11:57pm UTC](https://community.sendbird.com/t/reaction-issues-with-sbuchannelviewcontroller/1802/3 "2021-03-04T23:57:48Z")

</div>

@Darin_Tanaka while we are investigating the issue, you can downgrade sdk version to 2.0.7. What error are you facing on sample app with xcode 12.4? and for reaction, your application should be ready to use the feature (I believe it can be configurable in dashboard)

---

<div class="post-metadata">

### Author: ![Darin\_Tanaka](https://sea2.discourse-cdn.com/flex020/user_avatar/community.sendbird.com/darin_tanaka/32/103_2.png) [@Darin\_Tanaka](https://community.sendbird.com/u/Darin_Tanaka)
#### Post date: [March 5, 2021, 1:57am UTC](https://community.sendbird.com/t/reaction-issues-with-sbuchannelviewcontroller/1802/4 "2021-03-05T01:57:00Z")

</div>

For the sample app I get hundreds of compilation errors

 ![Screen Shot 2021-03-04 at 5.56.17 PM](https://us1.discourse-cdn.com/flex020/uploads/sendbird/original/2X/0/0167e2ee9c9e6228fb71183823e7560b0f51fd2d.jpeg)

I’ll try to downgrade and see what happens.

---

<div class="post-metadata">

### Author: ![Woo](https://sea2.discourse-cdn.com/flex020/user_avatar/community.sendbird.com/woo/32/125_2.png) [@Woo](https://community.sendbird.com/u/Woo)
#### Post date: [March 5, 2021, 3:04am UTC](https://community.sendbird.com/t/reaction-issues-with-sbuchannelviewcontroller/1802/5 "2021-03-05T03:04:31Z")

</div>

I think theres something wrong with sdk version ☹

---

<div class="post-metadata">

### Author: ![Darin\_Tanaka](https://sea2.discourse-cdn.com/flex020/user_avatar/community.sendbird.com/darin_tanaka/32/103_2.png) [@Darin\_Tanaka](https://community.sendbird.com/u/Darin_Tanaka)
#### Post date: [March 5, 2021, 9:00am UTC](https://community.sendbird.com/t/reaction-issues-with-sbuchannelviewcontroller/1802/6 "2021-03-05T09:00:19Z")

</div>

Which SDK version should it be?

---

<div class="post-metadata">

### Author: ![Woo](https://sea2.discourse-cdn.com/flex020/user_avatar/community.sendbird.com/woo/32/125_2.png) [@Woo](https://community.sendbird.com/u/Woo)
#### Post date: [March 5, 2021, 5:50pm UTC](https://community.sendbird.com/t/reaction-issues-with-sbuchannelviewcontroller/1802/7 "2021-03-05T17:50:54Z")

</div>

Could you run `pod update` on sample and see what versions they are?

---

<div class="post-metadata">

### Author: ![Darin\_Tanaka](https://sea2.discourse-cdn.com/flex020/user_avatar/community.sendbird.com/darin_tanaka/32/103_2.png) [@Darin\_Tanaka](https://community.sendbird.com/u/Darin_Tanaka)
#### Post date: [March 5, 2021, 6:40pm UTC](https://community.sendbird.com/t/reaction-issues-with-sbuchannelviewcontroller/1802/8 "2021-03-05T18:40:17Z")

</div>

Yes that was the issue! Thanks! I see the reactions in the Sample app now! However I’m still confused as to why it’s not showing up in my app when I integrate with the SDK. Is there anything I need to do with the App Settings in the dashboard or something other than the code I posted?

---

<div class="post-metadata">

### Author: ![Woo](https://sea2.discourse-cdn.com/flex020/user_avatar/community.sendbird.com/woo/32/125_2.png) [@Woo](https://community.sendbird.com/u/Woo)
#### Post date: [March 5, 2021, 7:41pm UTC](https://community.sendbird.com/t/reaction-issues-with-sbuchannelviewcontroller/1802/9 "2021-03-05T19:41:19Z")

</div>

Like I previously mentioned, you need to check your application setting (sendbird application). [https://sendbird.com/docs/uikit/v1/ios/guides/reactions#2-implementation-guide-for-reactions](https://sendbird.com/docs/uikit/v1/ios/guides/reactions#2-implementation-guide-for-reactions)

---

<div class="post-metadata">

### Author: ![Darin\_Tanaka](https://sea2.discourse-cdn.com/flex020/user_avatar/community.sendbird.com/darin_tanaka/32/103_2.png) [@Darin\_Tanaka](https://community.sendbird.com/u/Darin_Tanaka)
#### Post date: [March 5, 2021, 9:35pm UTC](https://community.sendbird.com/t/reaction-issues-with-sbuchannelviewcontroller/1802/10 "2021-03-05T21:35:16Z")

</div>

I’m not sure what this means?  
The application settings for reactions  
The emojis registered in the application

Do I need to do that in the dashboard?

---

<div class="post-metadata">

### Author: ![Woo](https://sea2.discourse-cdn.com/flex020/user_avatar/community.sendbird.com/woo/32/125_2.png) [@Woo](https://community.sendbird.com/u/Woo)
#### Post date: [March 5, 2021, 11:14pm UTC](https://community.sendbird.com/t/reaction-issues-with-sbuchannelviewcontroller/1802/12 "2021-03-05T23:14:48Z")

</div>

also could you try to check on `SBUEmojiManager.getEmojiCategories()` method to see if you can get emojis successfully?

---

<div class="post-metadata">

### Author: ![Woo](https://sea2.discourse-cdn.com/flex020/user_avatar/community.sendbird.com/woo/32/125_2.png) [@Woo](https://community.sendbird.com/u/Woo)
#### Post date: [March 5, 2021, 11:23pm UTC](https://community.sendbird.com/t/reaction-issues-with-sbuchannelviewcontroller/1802/14 "2021-03-05T23:23:05Z")

</div>

so we check on our side and reaction feature is enabled. Is your channel normal group channel? or something else. Because broadcast and super group channel are not allowed to use reaction

---

<div class="post-metadata">

### Author: ![Darin\_Tanaka](https://sea2.discourse-cdn.com/flex020/user_avatar/community.sendbird.com/darin_tanaka/32/103_2.png) [@Darin\_Tanaka](https://community.sendbird.com/u/Darin_Tanaka)
#### Post date: [March 5, 2021, 11:59pm UTC](https://community.sendbird.com/t/reaction-issues-with-sbuchannelviewcontroller/1802/15 "2021-03-05T23:59:06Z")

</div>

My channel url is sendbird\_group\_channel\_225649541\_bf0c16eff8c7ed1d7a85607d6e57e1d000fda160. I’m assuming since it has `group_channel` in the url it’s considered a group channel. Also I’m able to use reactions fine with the same group channel url in both Web and Android Sendbird UIKit.

---

<div class="post-metadata">

### Author: ![Woo](https://sea2.discourse-cdn.com/flex020/user_avatar/community.sendbird.com/woo/32/125_2.png) [@Woo](https://community.sendbird.com/u/Woo)
#### Post date: [March 6, 2021, 12:47am UTC](https://community.sendbird.com/t/reaction-issues-with-sbuchannelviewcontroller/1802/16 "2021-03-06T00:47:08Z")

</div>

huh that’s weird. because when I run the sample with ur app id, it shows reaction menu. Could you try to check `SBUEmojiManager.useReaction` and `SBUEmojiManager.getEmojiCategories()` returns emojis?

---

<div class="post-metadata">

### Author: ![Darin\_Tanaka](https://sea2.discourse-cdn.com/flex020/user_avatar/community.sendbird.com/darin_tanaka/32/103_2.png) [@Darin\_Tanaka](https://community.sendbird.com/u/Darin_Tanaka)
#### Post date: [March 6, 2021, 1:15am UTC](https://community.sendbird.com/t/reaction-issues-with-sbuchannelviewcontroller/1802/17 "2021-03-06T01:15:54Z")

</div>

Oh I’m getting an empty array with `SBUEmojiManager.getEmojiCategories()`. How do I fix that?

---

<div class="post-metadata">

### Author: ![Woo](https://sea2.discourse-cdn.com/flex020/user_avatar/community.sendbird.com/woo/32/125_2.png) [@Woo](https://community.sendbird.com/u/Woo)
#### Post date: [March 6, 2021, 1:49am UTC](https://community.sendbird.com/t/reaction-issues-with-sbuchannelviewcontroller/1802/18 "2021-03-06T01:49:35Z")

</div>

could you tell me what error you got on your console? `[SBUMain setLogLevel:LogTypeAll];`

---

<div class="post-metadata">

### Author: ![Darin\_Tanaka](https://sea2.discourse-cdn.com/flex020/user_avatar/community.sendbird.com/darin_tanaka/32/103_2.png) [@Darin\_Tanaka](https://community.sendbird.com/u/Darin_Tanaka)
#### Post date: [March 6, 2021, 2:06am UTC](https://community.sendbird.com/t/reaction-issues-with-sbuchannelviewcontroller/1802/19 "2021-03-06T02:06:23Z")

</div>

I’m getting the below in my logs

**2021-03-06 02:05:42 +0000 🎨SBULog 📘Info Main [SBUChannelViewController init(channelUrl:messageListParams:)] |**

**Emojis:**

**2021-03-06 02:05:42 +0000 🎨SBULog 📕Error Main [SBUEmojiManager getEmojiCategories()] | [Failed] Emoji Categories: load emoji**

**[]**

---

<div class="post-metadata">

### Author: ![Darin\_Tanaka](https://sea2.discourse-cdn.com/flex020/user_avatar/community.sendbird.com/darin_tanaka/32/103_2.png) [@Darin\_Tanaka](https://community.sendbird.com/u/Darin_Tanaka)
#### Post date: [March 6, 2021, 11:49pm UTC](https://community.sendbird.com/t/reaction-issues-with-sbuchannelviewcontroller/1802/20 "2021-03-06T23:49:43Z")

</div>

@Woo I found the issue! I was connecting to Sendbird using `SBDMain` instead of `SBUMain`. The reactions are now showing up.

Just a thought but perhaps updating the iOS documentation to specify that calling `SBUMain.connect` is required prior to using the UIKit similar to the Android one [here](https://sendbird.com/docs/uikit/v1/android/getting-started/install-uikit#2-initialize-the-uikit-sdk) could be helpful.

Any thanks for helping with this issue! You can close this.

---

<div class="post-metadata">

### Author: ![omar.lopez](https://sea2.discourse-cdn.com/flex020/user_avatar/community.sendbird.com/omar.lopez/32/1537_2.png) [@omar.lopez](https://community.sendbird.com/u/omar.lopez)
#### Post date: [October 1, 2021, 7:41pm UTC](https://community.sendbird.com/t/reaction-issues-with-sbuchannelviewcontroller/1802/21 "2021-10-01T19:41:22Z")

</div>

@Woo I’m trying to achieve the oposite. Is there a way to set `useReaction`as false globally? I see that you use `AppInfo.useReaction` but it’s a read only variable. Is there a way to overwrite this?

---

<div class="post-metadata">

### Author: ![Woo](https://sea2.discourse-cdn.com/flex020/user_avatar/community.sendbird.com/woo/32/125_2.png) [@Woo](https://community.sendbird.com/u/Woo)
#### Post date: [October 4, 2021, 5:32pm UTC](https://community.sendbird.com/t/reaction-issues-with-sbuchannelviewcontroller/1802/22 "2021-10-04T17:32:22Z")

</div>

would you mind to explain a little bit more the reason why you want to disable it?

[Next page](https://community.sendbird.com/t/reaction-issues-with-sbuchannelviewcontroller/1802.md?page=2)
