Polyfills.js:3 Uncaught TypeError: t.resolve is not a function with angular 5 and ionic 3

Hello. We followed https://github.com/zoom/websdk-sample-angular
Created component in our existing project.
we tried pointing to a locally hosted zoom scripts, i.e. audio/ av/ /lang /zoom-meeting-ES5.min.js /zoomus-websdk.umd.min.js

ZoomMtg.setZoomJSLib('https://localhost:8100/assets/js/zoom/', '/av');

component.ts https://pastebin.pl/view/f31231b1
component.scss https://pastebin.pl/view/62ad7da6
component.html https://pastebin.pl/view/538cc52a


polyfills.js:3 Uncaught TypeError: t.resolve is not a function
at Object.setNativePromise (polyfills.js:3)
at L.configurable.L.set (polyfills.js:3)
at e.exports (zoomus-websdk.umd.min.js:2)
at c (zoomus-websdk.umd.min.js:2)
at Object. (zoomus-websdk.umd.min.js:2)
at n (zoomus-websdk.umd.min.js:2)
at Module. (zoomus-websdk.umd.min.js:2)
at n (zoomus-websdk.umd.min.js:2)
at Object. (zoomus-websdk.umd.min.js:2)
at n (zoomus-websdk.umd.min.js:2)

Which version?
@angular/core”: “5.2.11",
“ionic-angular”: “3.9.8",
@zoomus/websdk”: “^1.8.3",
“typescript”: “~2.6.2"

1 Like

Hey @etibarworksup,

Are you seeing this issue just when using Ionic? Or with the Angular Web SDK Sample App in general?


when using ionic and angular, not directly with sample app.

Hey @etibarworksup,

Gotcha, thanks for confirming. I have not tested the Web SDK within an Ionic app before. However, you could try using the Zoom Ionic SDK.


hi @tommy, unluckily Zoom Ionic SDK supports only android and iPhone, but not a web application. We need web application as well.

Hey @etibarworksup,

Thank you for providing additional information. In this instance, there are a couple of options. First, you could have a separate code base for the ionic apps and the web app that you create. This means that you would use the Ionic SDK for Android and iOS and the Web SDK for the web.

The next option would be to try to use a WebView container within Ionic that allows you to display the web app that you’ve created with the Web SDK.

I understand that neither of these options are ideal, however. If you would like Ionic Web App support to be considered for a future release, I recommend posting in the #feature-requests category.


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