GithubHelp home page GithubHelp logo

it doesn't work for me about node-deeplink HOT 5 CLOSED

mderazon avatar mderazon commented on June 6, 2024
it doesn't work for me

from node-deeplink.

Comments (5)

shikharsrivastava23 avatar shikharsrivastava23 commented on June 6, 2024

@mderazon can you help please?

var express = require('express');
var deeplink = require('node-deeplink');
var app = express();

// mount deeplink middleware
app.get(
  '/deeplink',
  deeplink({
    fallback: 'https://fallbacklink',
  })
);

app.use(express.static('public'));

app.listen(port);
console.log('deeplink service listening on port 3000');

This is the code that I have.
When I open this link on android, it always goes to the fallback option, instead of the deeplink.
I have tried the deeplink by making an tag, and that opens up the app as expected.

Can you tell what I might be missing?

from node-deeplink.

despossivel avatar despossivel commented on June 6, 2024

@shikharsrivastava23 I found several problems myself to use this deeplink, and I found it very problematic. And I gave up using it.

But now I'm using Firebase's "Dynamic Links" which are Deeplinks, and very easy to use, and solved my problem.

https://firebase.google.com/docs/dynamic-links?authuser=0

from node-deeplink.

shikharsrivastava23 avatar shikharsrivastava23 commented on June 6, 2024

@despossivel I am able to generate deep links for my app in the form myapp://category/42.
What is the deep link url that is required in firebase dynamic link? Can you guide me through it?

from node-deeplink.

despossivel avatar despossivel commented on June 6, 2024

@shikharsrivastava23 I had also created a deeplink just like you, and when I saw firebase, it was much easier than I thought to adapt.

you just need to enter your firebase console first and create your dynamic link for your app

just follow here if it is RN that everything will be very clear to you

https://rnfirebase.io/dynamic-links/usage

from node-deeplink.

mderazon avatar mderazon commented on June 6, 2024

Thanks for pointing out Firebase dynamic links @despossivel, it does look great indeed.
A lot have change in the landscape of deeplinks over the years, Apple / iOS made breaking changes multiple times and some things became just impossible with only using Javascript.

I will update the README with the recommendation to consider Firebase's solution 👍🏼

from node-deeplink.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.