# Ios onDirectShareStatusUpdate callback

**URL:** <https://devforum.zoom.us/t/ios-ondirectsharestatusupdate-callback/80388>\
**Category:** iOS\
**Created:** [December 16, 2022, 9:51am UTC](https://devforum.zoom.us/t/ios-ondirectsharestatusupdate-callback/80388 "2022-12-16T09:51:37Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![aaronxu33](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/aaronxu33/32/29717_2.png) [@aaronxu33](https://devforum.zoom.us/u/aaronxu33)\
**Post date:** [December 16, 2022, 9:51am UTC](https://devforum.zoom.us/t/ios-ondirectsharestatusupdate-callback/80388/1 "2022-12-16T09:51:37Z")

</div>

**Description**  
When input a wrong meetingid, onDirectShareStatusUpdate doesn’t return MobileRTCDirectShareStatus\_WrongMeetingID\_Or\_SharingKey,  
but return a MobileRTCDirectShareStatus\_Ended status intead.

Why it doesn’t return MobileRTCDirectShareStatus\_WrongMeetingID\_Or\_SharingKey?

- (void)onDirectShareStatusUpdate:(MobileRTCDirectShareStatus)status handler:(MobileRTCDirectShareViaMeetingIDOrPairingCodeHandler \*\_Nullable)handler;

**Which iOS Meeting SDK version?**  
5.7.6

**To Reproduce(If applicable)**  
Steps to reproduce the behavior:

1. direct share
2. input a wrong meeting number
3. See return

**Screenshots**  
If applicable, add screenshots to help explain your problem.

**Troubleshooting Routes**  
_The troubleshooting attempt types you’ve already exhausted, including testing with the appropriate sample app (found on [Zoom · GitHub](https://github.com/zoom))._

**Smartphone (please complete the following information):**

- Device:iPhone 11
- OS: [e.g. iOS 15]

**Additional context**  
Add any other context about the problem here.

---

<div class="post-metadata">

**Author:** ![chunsiong.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/chunsiong.zoom/32/35488_2.png) [@chunsiong.zoom](https://devforum.zoom.us/u/chunsiong.zoom)\
**Post date:** [December 19, 2022, 8:40am UTC](https://devforum.zoom.us/t/ios-ondirectsharestatusupdate-callback/80388/2 "2022-12-19T08:40:27Z")

</div>

@aaronxu33 ,

Could you confirm that you are on version 5.7.6 for iOS meeting SDK?

---

<div class="post-metadata">

**Author:** ![aaronxu33](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/aaronxu33/32/29717_2.png) [@aaronxu33](https://devforum.zoom.us/u/aaronxu33)\
**Post date:** [December 20, 2022, 3:44am UTC](https://devforum.zoom.us/t/ios-ondirectsharestatusupdate-callback/80388/3 "2022-12-20T03:44:07Z")

</div>

yes ,the sdk version is zoom-sdk-ios-5.7.6.1082.

---

<div class="post-metadata">

**Author:** ![chunsiong.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/chunsiong.zoom/32/35488_2.png) [@chunsiong.zoom](https://devforum.zoom.us/u/chunsiong.zoom)\
**Post date:** [December 20, 2022, 4:04am UTC](https://devforum.zoom.us/t/ios-ondirectsharestatusupdate-callback/80388/4 "2022-12-20T04:04:21Z")

</div>

Hi @aaronxu33 ,

You will need to upgrade to newer version of the SDK as the current version you are using has been deprecated

---

<div class="post-metadata">

**Author:** ![aaronxu33](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/aaronxu33/32/29717_2.png) [@aaronxu33](https://devforum.zoom.us/u/aaronxu33)\
**Post date:** [December 20, 2022, 7:17am UTC](https://devforum.zoom.us/t/ios-ondirectsharestatusupdate-callback/80388/5 "2022-12-20T07:17:26Z")

</div>

could you help confirm if the callback code is working on 5.9.0?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/1/614bdd549b610bbaa46ff934617683a02bdaa03c.png) [@system](https://devforum.zoom.us/u/system)\
**Post date:** [January 19, 2023, 5:17pm UTC](https://devforum.zoom.us/t/ios-ondirectsharestatusupdate-callback/80388/6 "2023-01-19T17:17:34Z")

</div>

Closed on January 19, 2023, 5:17pm UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
