Skip to content

Commit

Permalink
Temporary logging for capacitor app config (#1174)
Browse files Browse the repository at this point in the history
  • Loading branch information
ssylver93 authored Oct 12, 2023
1 parent 86748dd commit 17517fd
Showing 1 changed file with 10 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { Injectable } from '@angular/core';
import { AppConfigService } from '@wf1/core-ui';

export type Smk = any
export type SmkPromise = Promise< Smk >
Expand All @@ -12,6 +13,10 @@ export class WFMapService {
identifyCallback;
identifyDoneCallback;

constructor(protected appConfigService: AppConfigService) {

}

setHandler( id, method, handler ): Promise<any> {
const SMK = window[ 'SMK' ];

Expand Down Expand Up @@ -553,7 +558,11 @@ export class WFMapService {
console.log( 'done patching SMK' );
} );
}

console.log("WFNEWS application config = " + JSON.stringify(this.appConfigService.getConfig().application))
console.log("WFNEWS externalApplication config = " + JSON.stringify(this.appConfigService.getConfig().externalAppConfig))
console.log("WFNEWS mapService config = " + JSON.stringify(this.appConfigService.getConfig()['mapServices']))
console.log("WFNEWS rest config = " + JSON.stringify(this.appConfigService.getConfig().rest))
console.log("WFNEWS webade config = " + JSON.stringify(this.appConfigService.getConfig().webade))
return this.patchPromise;
}
}
Expand Down

0 comments on commit 17517fd

Please sign in to comment.