React Navigation 5 in React Native (Part 3) - Deep Linking Between Apps

Поделиться
HTML-код
  • Опубликовано: 23 окт 2024

Комментарии • 19

  • @TheFlutterFactory
    @TheFlutterFactory  4 года назад +1

    Deep linking is a very powerful tool. It allows you to communicate between apps. Think about Ride-sharing/Food delivery apps. Some have one app for drivers and a different app for customers. React Navigation makes the feature easy to implement. Are there any other React Navigation topics you would like to see me cover?

    • @saul321123
      @saul321123 3 года назад

      Hi! It would be cool if you can cover deeplinking with auth page (Login Screen) first. Imagine that the app needs the user to be logged in before navigate to the screen that the deeplink wants to navigate to. Thanks in advance! This video is great by the way

  • @beginnerbytes4575
    @beginnerbytes4575 3 года назад

    Thank you.. i've trying to figure out how to deep link nested tabs from few days & your video was very helpful

  • @shakeelali9418
    @shakeelali9418 2 года назад

    I have a question when I get this link in a mobile message how can I open it. Because it is not a link and not highlighted and not clickable. Then how can I click on it and open the app. I am using this link to make the user invite like feature.

  • @iknowyouknow596
    @iknowyouknow596 3 года назад

    very good! thx!

  • @ytt270
    @ytt270 2 года назад

    Once the app is opened by a deep link. Everytime I open the app, the same screen matched with the link gets opened. Is there any way to prevent it?

  • @yamitrvg12
    @yamitrvg12 3 года назад

    Hi, thank you so much, it was easy to understand and implement. i have a doubt, how to handle when the app has authentication?
    I tried to do with an authenticated app, after login the page gets blank page and lose the route :(

    • @TheFlutterFactory
      @TheFlutterFactory  3 года назад

      You have full control over how your links are formatted. If the user is logged in, you can format your links differently than if they are guest. There's a lot more information in this SO thread. stackoverflow.com/questions/54350991/react-navigation-deep-linking-with-authentication

  • @shobhitverma8797
    @shobhitverma8797 3 года назад +1

    Hi, Thank you! It works but params are showing undefined.
    {"key": "Profile-Qg4jxnpjL5D3dScF0AOkh", "name": "Profile", "params": undefined}

    • @TheFlutterFactory
      @TheFlutterFactory  3 года назад

      I need more information about your code. Did you follow the video exactly are you just using some of the knowledge in your own project? how are you sending your params to the next screen?

  • @k0zta58
    @k0zta58 3 года назад

    How can I get a query param from a deep linking? like: myapp://users?name=test

  • @narenderchatha
    @narenderchatha 3 года назад

    react navigation 5 deep linking work well on android and ios when app already opened but when i killed my app it show that screen but it does not redirect back like i am inside tab navigation home screen and navigate to detail screen that is outside the tab navigation. if i open detail screen via deep link it does not go back to home screen. please help me sir

    • @TheFlutterFactory
      @TheFlutterFactory  3 года назад

      That is by design. How would the system automatically know which screen to go back to if there's nothing else in the stack? You could always override the back button behavior.

    • @narenderchatha
      @narenderchatha 3 года назад

      @@TheFlutterFactory how can i do this... can you please explain.. i am not talking about android back button.. its just about goBack.i have splash screen than login and after that i have four tabs and first tab is home tab and i redirect to details screen but detail screen is outside the tab navigator. how can i make config and route for this ..please help me

  • @iknowyouknow596
    @iknowyouknow596 3 года назад

    After configuring the android deep link, the test passes. But there is a serious problem. Clicking the android backbutton will exit the app instead of returning to the previous page. github.com/cheetahcoding/React-Native-Tutorials/issues/10#issue-818394785

    • @TheFlutterFactory
      @TheFlutterFactory  3 года назад

      That's not a serious problem 🙂. That's expected behavior. How would the app know which screen to go back to? There's nothing else on the stack when you open a deep link which is to be expected by default . There are ways to change that behavior , but it's out of the scope of this beginner course video. This question has been asked numerous times in the react navigation issues board

    • @iknowyouknow596
      @iknowyouknow596 3 года назад

      @@TheFlutterFactory I know, what I want to express is, I open the app manually (emphasis: not open with deeplink), the default routing android backbutton is invalid. I can return to the previous page correctly before configuring deeplink, but after configuring deep routing, the android backbutton directly wants to exit the application.

  • @rafaelinacio5237
    @rafaelinacio5237 3 года назад

    this not work for me :(

    • @TheFlutterFactory
      @TheFlutterFactory  3 года назад

      You have to be a little more specific. What's not working?