Giter VIP home page Giter VIP logo

Comments (10)

twittemb avatar twittemb commented on June 9, 2024 1

Ok, will do. Thanks for providing all those details. That will help to explore the issue.

from rxflow.

MatrixSenpai avatar MatrixSenpai commented on June 9, 2024 1

Interesting, I have not. That doesn't make sense though, because it opens the app…I'll do some further testing and report back

from rxflow.

MatrixSenpai avatar MatrixSenpai commented on June 9, 2024 1

So, interesting to note that UIApplication.application(app:, open url:, options:) does actually fire, while SceneDelegate.scene(scene:, openURLContexts: ) does not. Appears to be an inconsistency within Apple's platform, so I'm gonna go ahead and close this issue and try to find a workaround

from rxflow.

twittemb avatar twittemb commented on June 9, 2024

Hi @MatrixSenpai

If I understand correctly:

  • if the app is already running: the coordinator.navigate(to:) works fine, and the navigation occurs thanks to the AppStep.view(id:) step
  • if the app is not running and opened thanks to the deep link, then first the initialStep is processed to go to some home screen, and then the deep link makes the AppStep.view(id:) to be processed, so you have like 2 navigations ? first the initial step and then the .view(id:) step ?

from rxflow.

MatrixSenpai avatar MatrixSenpai commented on June 9, 2024

Your first point is correct. However, when the app is not open, AppStep.view(id: ) is never called

from rxflow.

twittemb avatar twittemb commented on June 9, 2024

Is it ok to share your whole project so I can take a look ?

I can make a demo app, but the deep link part might be a bit tricky to reproduce from scratch

from rxflow.

MatrixSenpai avatar MatrixSenpai commented on June 9, 2024

Please see this repo: https://github.com/LiveTL/ios

from rxflow.

twittemb avatar twittemb commented on June 9, 2024

Thanks a bunch. Is there an easy way to trigger the scheme ?

from rxflow.

MatrixSenpai avatar MatrixSenpai commented on June 9, 2024

Ensure the app is not running in the background. Head to YouTube in either Safari or the YT app and share a video. In the action sheet, "Translate in LiveTL" should appear (if it does not, try restarting or run the extension scheme attached to safari or yt). The app will go to .home instead of .view(id: )

from rxflow.

twittemb avatar twittemb commented on June 9, 2024

Hey @MatrixSenpai

After a few tests, I noticed that the func scene(_ scene: UIScene, openURLContexts URLContexts: Set<UIOpenURLContext>) is not called when you share a video from Youtube and the application is not running.

You can reproduce that by playing a sound or an haptic feedback in this functions.

I'm not sure this is related to RxFlow. Have you tried an RxFlow free version of your app ?

from rxflow.

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.