ionic-team / ionic2-deeplinks-demo Goto Github PK
View Code? Open in Web Editor NEWA test repo for deep linking in Ionic 2
A test repo for deep linking in Ionic 2
I can't seem to get this project too compile (I have the latest Ionic CLI and Typescript engines installed which may be causing conflicts).
In a new Ionic 2 application, I was attempting to setup a simple route to "/home" like below. However, when running ionic serve
, I get a 404 when navigating to "http://localhost:8100/home".
Does ionic serve
setup wildcard routes in Node so that index.html
is always served and Angular and Ionic can then see the URL and handle routes?
Deeplinks.routeWithNavController(
this.nav,
{
'/home': HomePage
}
).subscribe((match) => {
console.log('Successfully routed', match);
}, (nomatch) => {
console.warn('Unmatched Route', nomatch);
});;
The pages with params don't route anymore , $args is empty and the params show up in $link
Could an example be updated for ionic4 and angular 6+
This example is very old & I am having difficulty translating the approach to a modern version.
Could you please provide a sample of how to use this with Ionic 3.
As it doesn't appear that the demo is maintained, I'm providing this link for people who are looking for some assistance with deeplinks for Ionic 4+.
I have no affiliation with YouTube, Simon Grimm, or anyone/ anything to do with the video.
https://www.youtube.com/watch?v=DG7TMredeUs
Hope someone finds this helpful.
I'm trying to get this working in RC3. Any chance you could update this repo to reflect how to do that? Thanks!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.