I’m trying to use Deeplink’s routeWithNavController method:
Deeplinks.routeWithNavController(this.nav, {
'login': Login,
'loggedhome': LoggedHome
})
.subscribe( match => {
console.log(match)
},
nomatch => {
console.log(nomatch)
}
)
but this does not run in the browser (ionic serve).
plugin.js:33 Native: tried calling Deeplinks.routeWithNavController, but Cordova is not available. Make sure to include cordova.js or run in a device/simulator
Does anyone know if it is possible to run in the browser?
ionic info
--------------------------------
--------------------------------
Your system information:
Cordova CLI: 6.3.0
Gulp version: CLI version 3.9.1
Gulp local: Local version 3.9.1
Ionic Framework Version: 2.0.0-rc.2
Ionic CLI Version: 2.1.4
Ionic App Lib Version: 2.1.2
Ionic App Scripts Version: 0.0.39
OS: Distributor ID: Ubuntu Description: Ubuntu 16.04.1 LTS
Node Version: v6.4.0