Skip to content

Commit 156fdc3

Browse files
committed
feat(platform): add backbutton event
1 parent ecf9302 commit 156fdc3

File tree

4 files changed

+136
-166
lines changed

4 files changed

+136
-166
lines changed

ionic/config/bootstrap.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ export function ionicProviders(args: any = {}) {
3333
platform.setUrl(window.location.href);
3434
platform.setUserAgent(window.navigator.userAgent);
3535
platform.setNavigatorPlatform(window.navigator.platform);
36-
platform.load();
36+
platform.load(config);
3737
config.setPlatform(platform);
3838

3939
let clickBlock = new ClickBlock();
@@ -45,7 +45,7 @@ export function ionicProviders(args: any = {}) {
4545
bindEvents(window, document, platform, events);
4646

4747
// prepare the ready promise to fire....when ready
48-
platform.prepareReady(config);
48+
platform.prepareReady();
4949

5050
return [
5151
IonicApp,

0 commit comments

Comments
 (0)