Closed sjroesink closed 6 years ago
@wbhob thoughts on this?
I'm closing this for now, I believe that most of this has been implemented in one form or another and the angular 6+ version is now available in master.
Which version to use for making config optional?
with forRoot, config is required because it registers your appId. Without the app ID, Intercom will not work.
Currently
IntercomModule.forRoot
forces you to provide the config when loading the module. This prevents config from being provided asynchronous.This PR makes it optional to provide the config initially via
IntercomModule.forRoot
. The functionIntercom.loadIntercom
can then be called at a later point.This fixes #28