@funkyidol wrote:
All,
Im trying to integrate Applozic chat platform to my Ionic 2 Project which I wish to export to Web, Android and iOS. Using the sample as a base and created the applozic.js & applozic.d.ts for the Javascript integration process.
I added all the above created files including
applozic.common.js,applozic.fullview.jsandjquery.min.jsto theassets/jsfolder and linked them in myindex.html. This was the only way I could get the Javascript method inapplozic.jsto execute from mychat.ts.The problem that i’m now facing is the I get the error
TypeError: Cannot read property 'noConflict' of undefinedinapplozic.json the line$original = jQuery.noConflict(true);and consequently the rest of the if block is also not executing.In an attempt to make jQuery work in the project I tried to install it via npm by executing the following commands:
npm install jquery --save npm install @types/jquery --saveBut this led to issue in
ionic servegiving the following errorJavaScript heap out of memoryI really need help in executing my
applozic.jsfile to initialize and call the chat plugin functions.
Posts: 1
Participants: 1