devNova
(Dev)
May 14, 2020, 11:53am
1
Description
Hi, I was able to run angular websdk sample by @tommy It works great. But I’m using Ionic-angular to build a pwa application. I ran in to 2 issues.
App becoming unresponsive when adding <script src= https://source.zoom.us/1.7.2/lib/vendor/jquery.min.js "> in index.html
If I don’t add this above script tag, I get “Reference $ is not defined” error.
1 Like
tommy
(Tommy Gaessler)
May 19, 2020, 5:19am
2
Hey @devNova ,
Happy to hear you got the sample app working!
Make sure you are providing jQuery globally like so:
"input": "./node_modules/@zoomus/websdk/dist/lib/",
"output": "./node_modules/@zoomus/websdk/dist/lib/"
}
],
"styles": [
"node_modules/@zoomus/websdk/dist/css/bootstrap.css",
"node_modules/@zoomus/websdk/dist/css/react-select.css",
"src/styles.css"
],
"scripts": [
"node_modules/jquery/dist/jquery.min.js"
]
},
"configurations": {
"production": {
"fileReplacements": [
{
"replace": "src/environments/environment.ts",
"with": "src/environments/environment.prod.ts"
}
],
We are working to remove the jQuery requirement in a future release.
Thanks,
Tommy