# Error:Uncaught TypeError: NativePromise.resolve is not a function

**URL:** <https://devforum.zoom.us/t/error-uncaught-typeerror-nativepromise-resolve-is-not-a-function/26083>\
**Category:** Web\
**Created:** [August 3, 2020, 2:47pm UTC](https://devforum.zoom.us/t/error-uncaught-typeerror-nativepromise-resolve-is-not-a-function/26083 "2020-08-03T14:47:14Z")\
**Posts on this page:** 19\
**Page:** 1

<div class="post-metadata">

**Author:** ![sobha.edison](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/sobha.edison/32/12682_2.png) [@sobha.edison](https://devforum.zoom.us/u/sobha.edison)\
**Post date:** [August 3, 2020, 2:47pm UTC](https://devforum.zoom.us/t/error-uncaught-typeerror-nativepromise-resolve-is-not-a-function/26083/1 "2020-08-03T14:47:15Z")

</div>

I am trying to integrate zoom sdk with our angular application. Installed @zoomus/wedsdk. After that imported ZoomMtg from ‘@zoomus/websdk’ to the component. and added ZoomMtg.init() function.  
but i got the error shown bellow

Uncaught TypeError: NativePromise.resolve is not a function  
at Object.setNativePromise (zone.js:634)  
at desc.set (zone.js:1028)  
at e.exports (zoomus-websdk.umd.min.js:2)  
at s (zoomus-websdk.umd.min.js:2)  
at Object.eval (zoomus-websdk.umd.min.js:2)  
at n (zoomus-websdk.umd.min.js:2)  
at Object.eval (zoomus-websdk.umd.min.js:2)  
at n (zoomus-websdk.umd.min.js:2)  
at Object.eval (zoomus-websdk.umd.min.js:2)  
at n (zoomus-websdk.umd.min.js:2)

I am using Angular Version 5.1  
web sdk version 1.7.10

How can i resolve this error? is this because of my angular version?

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [August 4, 2020, 6:29pm UTC](https://devforum.zoom.us/t/error-uncaught-typeerror-nativepromise-resolve-is-not-a-function/26083/2 "2020-08-04T18:29:54Z")

</div>

Hey @sobha.edison,

I have not seen this error before.

Feel free to checkout our working Angular Web SDK Sample App:

> **[zoom/websdk-sample-angular](https://github.com/zoom/websdk-sample-angular)**
>
> Use the Zoom Web SDK in an Angular App. Contribute to zoom/websdk-sample-angular development by creating an account on GitHub.

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![sobha.edison](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/sobha.edison/32/12682_2.png) [@sobha.edison](https://devforum.zoom.us/u/sobha.edison)\
**Post date:** [August 6, 2020, 11:06am UTC](https://devforum.zoom.us/t/error-uncaught-typeerror-nativepromise-resolve-is-not-a-function/26083/3 "2020-08-06T11:06:54Z")

</div>

Thanks Tommy, its works for me in locally. But in development the audio and video options are not working, I have seen that it only works over https (Topic:[Zoom Audio and video not working with zoom SDK 1.6.0](https://devforum.zoom.us/t/zoom-audio-and-video-not-working-with-zoom-sdk-1-6-0/6263)) Then how it works locally? in local it was http then how it is possible?

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [August 7, 2020, 6:21pm UTC](https://devforum.zoom.us/t/error-uncaught-typeerror-nativepromise-resolve-is-not-a-function/26083/4 "2020-08-07T18:21:31Z")

</div>

Hey @sobha.edison,

Can you share a screenshot of your Web SDK in development? Are you seeing any errors?

Please try serving over `https`.

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![sobha.edison](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/sobha.edison/32/12682_2.png) [@sobha.edison](https://devforum.zoom.us/u/sobha.edison)\
**Post date:** [August 10, 2020, 5:38am UTC](https://devforum.zoom.us/t/error-uncaught-typeerror-nativepromise-resolve-is-not-a-function/26083/5 "2020-08-10T05:38:09Z")

</div>

I tried over https and it works fine 🙂 thank you… Is there any option to float this zoom video window in our application?

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [August 10, 2020, 7:19am UTC](https://devforum.zoom.us/t/error-uncaught-typeerror-nativepromise-resolve-is-not-a-function/26083/6 "2020-08-10T07:19:05Z")

</div>

Hey @sobha.edison,

You are welcome! 🙂

What do you mean by float?

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![sobha.edison](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/sobha.edison/32/12682_2.png) [@sobha.edison](https://devforum.zoom.us/u/sobha.edison)\
**Post date:** [August 10, 2020, 7:48am UTC](https://devforum.zoom.us/t/error-uncaught-typeerror-nativepromise-resolve-is-not-a-function/26083/7 "2020-08-10T07:48:42Z")

</div>

Hi Tommy, floating means(picture in picture or miniplayer) , i need to go to other pages in application as the same time of zoom meeting,  
as of now when i click on any links in my application, pages are came in background but the zoom window still there. To avoid this, is there any option like floating zoom window over my application.  
you can check the screen shot below

 ![CaptureZoom1](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/f/fcb9a36c054cd577f5a7a81627aa88d2b4dc5541.png)

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [August 10, 2020, 6:21pm UTC](https://devforum.zoom.us/t/error-uncaught-typeerror-nativepromise-resolve-is-not-a-function/26083/8 "2020-08-10T18:21:09Z")

</div>

Hey @sobha.edison,

Thanks for the clarification. Currently the Web SDK sizing or float cannot be changed.

-Tommy

---

<div class="post-metadata">

**Author:** ![sobha.edison](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/sobha.edison/32/12682_2.png) [@sobha.edison](https://devforum.zoom.us/u/sobha.edison)\
**Post date:** [August 11, 2020, 12:18pm UTC](https://devforum.zoom.us/t/error-uncaught-typeerror-nativepromise-resolve-is-not-a-function/26083/9 "2020-08-11T12:18:03Z")

</div>

okay thank you 🙂

---

<div class="post-metadata">

**Author:** ![ajin.vs](https://avatars.discourse-cdn.com/v4/letter/a/f19dbf/32.png) [@ajin.vs](https://devforum.zoom.us/u/ajin.vs)\
**Post date:** [August 11, 2020, 12:36pm UTC](https://devforum.zoom.us/t/error-uncaught-typeerror-nativepromise-resolve-is-not-a-function/26083/10 "2020-08-11T12:36:22Z")

</div>

Hey @tommy ,

Is there any option like Miniplayer or picture in picture as in youtube and skype using web sdk?

Thanks,  
Ajin

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [August 11, 2020, 5:37pm UTC](https://devforum.zoom.us/t/error-uncaught-typeerror-nativepromise-resolve-is-not-a-function/26083/11 "2020-08-11T17:37:48Z")

</div>

You are welcome! 🙂

-Tommy

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [August 11, 2020, 5:38pm UTC](https://devforum.zoom.us/t/error-uncaught-typeerror-nativepromise-resolve-is-not-a-function/26083/12 "2020-08-11T17:38:11Z")

</div>

Hey @ajin.vs,

Not at this time no. Feel free to add this as a feature request here: #feature-requests

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![ajin.vs](https://avatars.discourse-cdn.com/v4/letter/a/f19dbf/32.png) [@ajin.vs](https://devforum.zoom.us/u/ajin.vs)\
**Post date:** [August 12, 2020, 3:43am UTC](https://devforum.zoom.us/t/error-uncaught-typeerror-nativepromise-resolve-is-not-a-function/26083/13 "2020-08-12T03:43:17Z")

</div>

Hey @tommy

Thanks for your support

Thanks,  
Ajin

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [August 12, 2020, 6:11am UTC](https://devforum.zoom.us/t/error-uncaught-typeerror-nativepromise-resolve-is-not-a-function/26083/14 "2020-08-12T06:11:53Z")

</div>

Happy to help! 🙂

-Tommy

---

<div class="post-metadata">

**Author:** ![sobha.edison](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/sobha.edison/32/12682_2.png) [@sobha.edison](https://devforum.zoom.us/u/sobha.edison)\
**Post date:** [August 12, 2020, 2:31pm UTC](https://devforum.zoom.us/t/error-uncaught-typeerror-nativepromise-resolve-is-not-a-function/26083/15 "2020-08-12T14:31:59Z")

</div>

Hi @tommy actually this was much awaiting feature(floating zoom window) we are expecting from zoom. Can you say when this feature will release in zoom sdk? And also can you say is there any option to save the zoom recording in local computer or any third party cloud?

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [August 12, 2020, 5:28pm UTC](https://devforum.zoom.us/t/error-uncaught-typeerror-nativepromise-resolve-is-not-a-function/26083/16 "2020-08-12T17:28:21Z")

</div>

Hey @sobha.edison,

We do not have an ETA on the more customizable Web SDK. You can stay updated here:

[https://marketplace.zoom.us/docs/changelog](https://marketplace.zoom.us/docs/changelog)

As for your recording question, please see my post here:

> [@Record Option not working on Zoom Web SDK](https://devforum.zoom.us/t/record-option-not-working-on-zoom-web-sdk/18891/3):
>
> Hey @helloparent, @chungjordan, The Web SDK only supports [cloud recording](https://support.zoom.us/hc/en-us/articles/203741855-Cloud-recording) not [local recording](https://support.zoom.us/hc/en-us/articles/201362473-Local-recording). Thanks, Tommy

If you want to programmatically upload a cloud recording to a 3rd Party Cloud you can use the [Cloud Recording Completed Webhook](https://marketplace.zoom.us/docs/api-reference/webhook-reference/recording-events/recording-completed).

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![sobha.edison](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/sobha.edison/32/12682_2.png) [@sobha.edison](https://devforum.zoom.us/u/sobha.edison)\
**Post date:** [August 13, 2020, 1:39pm UTC](https://devforum.zoom.us/t/error-uncaught-typeerror-nativepromise-resolve-is-not-a-function/26083/17 "2020-08-13T13:39:58Z")

</div>

Thank you Tommy 🙂 Thanks for the support 👍

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [August 13, 2020, 5:13pm UTC](https://devforum.zoom.us/t/error-uncaught-typeerror-nativepromise-resolve-is-not-a-function/26083/18 "2020-08-13T17:13:16Z")

</div>

You are welcome! 🙂

-Tommy

---

<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:** [August 23, 2020, 5:13pm UTC](https://devforum.zoom.us/t/error-uncaught-typeerror-nativepromise-resolve-is-not-a-function/26083/19 "2020-08-23T17:13:24Z")

</div>

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