Skip to content
This repository was archived by the owner on Apr 2, 2018. It is now read-only.

Commit e856901

Browse files
committed
Take out config check
1 parent b01d8d1 commit e856901

File tree

2 files changed

+5
-9
lines changed

2 files changed

+5
-9
lines changed

src/angular.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,16 @@ export function bootstrapAngular1() {
1414

1515
let container = new DIContainer();
1616

17+
angular.element(document).ready(function() {
18+
container.core.init();
19+
container.cordova.bootstrap();
20+
});
21+
1722
angular.module('ionic.cloud', [])
1823

1924
.provider('$ionicCloudConfig', function() {
2025
var config = container.config;
2126

22-
angular.element(document).ready(function() {
23-
container.core.init();
24-
container.cordova.bootstrap();
25-
});
26-
2727
this.register = function(settings) {
2828
config.register(settings);
2929
};

src/core.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,6 @@ export class Core implements ICore {
4545
this.logger = deps.logger;
4646
this.emitter = deps.emitter;
4747
this.insights = deps.insights;
48-
49-
if (!this.config.settings || !this.config.settings.core || !this.config.settings.core.app_id) {
50-
throw new Error('Missing app_id in cloud settings. Have you configured your app properly?');
51-
}
5248
}
5349

5450
public init(): void {

0 commit comments

Comments
 (0)