Open martinpeterek opened 1 year ago
Any updates on this issue? It seems that changing ModuleWithProviders
to ModuleWithProviders<IntercomModule>
might solve the issue(inside intercom.module.ts). I would appreciate any insights on this.
I have the same issue when updated to Angular 16.
@MoustafaMohA This lib was forked some time ago, and it works fine with Angular 16. This is the link to the updated version of this lib: https://www.npmjs.com/package/@supy-io/ngx-intercom
@PSingh-Unipd Thank you for replay, I will try to use the ngx-intercom and update to Angular 16.
@PSingh-Unipd thank you, it works.
@MoustafaMohA This lib was forked some time ago, and it works fine with Angular 16. This is the link to the updated version of this lib: https://www.npmjs.com/package/@supy-io/ngx-intercom
@PSingh-Unipd thank you for the link!
For anyone who stumbles here, I just want to comment on this. As of now - March 2024 - this forked package works well with the latest version of Angular - 17. It will work with 16 too. You may need to change your config object you pass to this.intercom.boot()
function (I experienced this), because the forked version changes the interfaces a bit from the original ng-intercom
package. Just do so if this is the case and you should be good to go.
if i am doing this this.intercom.boot({app_id: environment.intercomAppID, updateOnRouterChange: true})
it gives error that 'updateOnRouterChange' not a known property. Kindly anyone can tell me the interface of this object. @PSingh-Unipd please mention details of the new configuration which working fine.
Actual verion of package is incompatible with new Angular