change push to use deeplink strings

This commit is contained in:
Darren Nelsen 2018-05-18 14:01:35 -04:00
parent 31de1cb133
commit c88671d284
3 changed files with 5 additions and 8 deletions

View File

@ -4,8 +4,8 @@ import { StatusBar } from '@ionic-native/status-bar';
import { SplashScreen } from '@ionic-native/splash-screen';
import {
HomePage,
BlocksPage,
BroadcastTxPage
BlocksPage
// BroadcastTxPage
// NodeStatusPage,
// VerifyMessagePage
} from '../pages';
@ -42,7 +42,7 @@ export class InsightApp {
this.pages = [
{ title: 'Home', component: HomePage },
{ title: 'Blocks', component: BlocksPage },
{ title: 'Broadcast Transaction', component: BroadcastTxPage }
{ title: 'Broadcast Transaction', component: 'BroadcastTxPage' }
// { title: 'Verify Signed Message', component: VerifyMessagePage },
// { title: 'Node Status', component: NodeStatusPage }
];

View File

@ -19,9 +19,7 @@ import { BlocksProvider } from '../providers/blocks/blocks';
BrowserModule,
HttpModule,
PagesModule,
IonicModule.forRoot(InsightApp, {
locationStrategy: 'path'
})
IonicModule.forRoot(InsightApp)
],
bootstrap: [IonicApp],
entryComponents: [

View File

@ -1,7 +1,6 @@
import { Component, NgZone, Input } from '@angular/core';
import { BlocksProvider } from '../../providers/blocks/blocks';
import { NavController } from 'ionic-angular';
import { BlocksPage } from '../../pages';
/**
* Generated class for the LatestBlocksComponent component.
@ -63,7 +62,7 @@ export class LatestBlocksComponent {
}
public goToBlocks(): void {
this.navCtrl.push(BlocksPage);
this.navCtrl.push('blocks');
}
private ngOnDestroy(): void {