Alternatives to .route()
slothentic opened this issue · comments
Slothin' it up commented
The plugin is working great, but I had to dig into the source to find what I needed, which was actually just to get the whole URL back.
It would be great if you could add some examples that are more generic, for example all I needed was:
IonicDeeplink.onDeepLink((data) => {
console.log(data);
});
Chuck Dries commented
Thank you! This is going to make integrating with React Router much easier
thomasmodeneis commented
Is there any way to integrate with react ?
Chuck Dries commented
Is there any way to integrate with react ?
Yeah, use react-router and call history.push()
in the onDeepLink callback