# Issue with userInfo.unread and meetingService.activeShareUserID()

**URL:** <https://devforum.zoom.us/t/issue-with-userinfo-unread-and-meetingservice-activeshareuserid/21839>\
**Category:** iOS\
**Created:** [June 19, 2020, 4:04pm UTC](https://devforum.zoom.us/t/issue-with-userinfo-unread-and-meetingservice-activeshareuserid/21839 "2020-06-19T16:04:31Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![nicolas.bonnet](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/nicolas.bonnet/32/19492_2.png) [@nicolas.bonnet](https://devforum.zoom.us/u/nicolas.bonnet)\
**Post date:** [June 19, 2020, 4:04pm UTC](https://devforum.zoom.us/t/issue-with-userinfo-unread-and-meetingservice-activeshareuserid/21839/1 "2020-06-19T16:04:31Z")

</div>

Hello  
I am using the latest SDK to make a custom integration of zoom and I noticed that `userInfo.unread` stopped working. I always get 0 even when there are new messages.  
Also `meetingService.activeShareUserID()` is equal to UInt.max when nobody is sharing whiich doesn’t align with `onSinkMeetingActiveShare:Int` in `ShareServiceDelegate` which gives 0 when nobody is sharing.

Best  
Nicolas

---

<div class="post-metadata">

**Author:** ![carson.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/carson.zoom/32/785_2.png) [@carson.zoom](https://devforum.zoom.us/u/carson.zoom)\
**Post date:** [June 20, 2020, 12:57am UTC](https://devforum.zoom.us/t/issue-with-userinfo-unread-and-meetingservice-activeshareuserid/21839/2 "2020-06-20T00:57:05Z")

</div>

Hi @nicolas.bonnet,

Thanks for the post. Let me forward this to the engineering team and get back to you.

Thanks!

---

<div class="post-metadata">

**Author:** ![carson.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/carson.zoom/32/785_2.png) [@carson.zoom](https://devforum.zoom.us/u/carson.zoom)\
**Post date:** [June 24, 2020, 6:40am UTC](https://devforum.zoom.us/t/issue-with-userinfo-unread-and-meetingservice-activeshareuserid/21839/3 "2020-06-24T06:40:40Z")

</div>

Hi @nicolas.bonnet,

Regarding your questions:

1). userInfo.unread – We are able to identify an issue with the userInfo.unread and we will fix it in the future release.  
2) when no one is sharing – When no one is sharing, the `meetingService.activeShareUserID()` should return -1 and onSinkMeetingActiveShare:Int will return 0:

```auto
/*!
 @brief Callback event when the share starts.
 @param userID The user ID of presenter.
 @warning userID == 0, which means that the user stopped sharing.
 */

```

We will enhance this part and make them return the same value.

Thanks for pointing these out! 🙂

---

<div class="post-metadata">

**Author:** ![nicolas.bonnet](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/nicolas.bonnet/32/19492_2.png) [@nicolas.bonnet](https://devforum.zoom.us/u/nicolas.bonnet)\
**Post date:** [June 24, 2020, 7:42am UTC](https://devforum.zoom.us/t/issue-with-userinfo-unread-and-meetingservice-activeshareuserid/21839/4 "2020-06-24T07:42:02Z")

</div>

Thanks for the answer,  
Just a little note: this value is an unsigned int so -1 will be return as UInt.max. This is a pretty easy check to do on your API, if -1 is returned then the iOS SDK will no be adapted for it.

Do you have an idea when is the next iOS release?

Nicolas

---

<div class="post-metadata">

**Author:** ![carson.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/carson.zoom/32/785_2.png) [@carson.zoom](https://devforum.zoom.us/u/carson.zoom)\
**Post date:** [June 27, 2020, 3:08am UTC](https://devforum.zoom.us/t/issue-with-userinfo-unread-and-meetingservice-activeshareuserid/21839/5 "2020-06-27T03:08:41Z")

</div>

Thanks Nicolas. We are targeting to have a release around 06/30.

---

<div class="post-metadata">

**Author:** ![nicolas.bonnet](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/nicolas.bonnet/32/19492_2.png) [@nicolas.bonnet](https://devforum.zoom.us/u/nicolas.bonnet)\
**Post date:** [July 3, 2020, 3:01pm UTC](https://devforum.zoom.us/t/issue-with-userinfo-unread-and-meetingservice-activeshareuserid/21839/6 "2020-07-03T15:01:41Z")

</div>

Hi @carson.zoom,

I am using the new SDK 5.0 on iOS and the 2 issues reported above can still be reproduced.

Nicolas

---

<div class="post-metadata">

**Author:** ![carson.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/carson.zoom/32/785_2.png) [@carson.zoom](https://devforum.zoom.us/u/carson.zoom)\
**Post date:** [July 10, 2020, 7:09am UTC](https://devforum.zoom.us/t/issue-with-userinfo-unread-and-meetingservice-activeshareuserid/21839/7 "2020-07-10T07:09:43Z")

</div>

Hi @nicolas.bonnet,

Thanks for the reply. Yes, the fix for these issues were not included in the 5.0 release. But it will be included in the next release.

Thanks!

---

<div class="post-metadata">

**Author:** ![DeveloperBot](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/developerbot/32/12632_2.png) [@DeveloperBot](https://devforum.zoom.us/u/DeveloperBot)\
**Post date:** [August 21, 2020, 10:38pm UTC](https://devforum.zoom.us/t/issue-with-userinfo-unread-and-meetingservice-activeshareuserid/21839/8 "2020-08-21T22:38:48Z")

</div>

Closed on August 21, 2020, 10:38pm UTC


