Comments (10)
Ok, will do. Thanks for providing all those details. That will help to explore the issue.
from rxflow.
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.
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.
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.
Your first point is correct. However, when the app is not open, AppStep.view(id: ) is never called
from rxflow.
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.
Please see this repo: https://github.com/LiveTL/ios
from rxflow.
Thanks a bunch. Is there an easy way to trigger the scheme ?
from rxflow.
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.
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)
- Child view controller steps HOT 5
- Please document memory management HOT 4
- CompositeStepper not calling InnerSteppers readyToEmitSteps HOT 4
- Block links are invalid HOT 1
- Something strange happening in ios14 HOT 3
- unknown dependency 'RxCocoa' in target 'RxFlow' HOT 6
- `Reactive+UIViewController`'s `dismissed` event is retaining the view controller HOT 2
- Question regarding intended behavior of FlowCoordinator's navigate(to:) function HOT 4
- Flow.rxVisible never emits `true` event when pushing view controller without animations HOT 3
- How to handle opening multiple flows upon clicking a deeplink HOT 3
- Adapt step in the background causes `navigate` to be called on the same thread HOT 6
- Reentrancy anomaly on .forwardToCurrentFlow HOT 9
- Cannot step in child flow after using .multiple with .forwardToCurrentFlow, and others. HOT 1
- How to handle searchResultsController
- Child controllers are never deallocated HOT 5
- Adapt method is disposed before being completed HOT 1
- displayed is incorrect if subscription occurs when view is already on screen HOT 1
- Seeking a new maintainer HOT 8
- Initiating a step from a completion inside of a sink for Future Published (Combine) HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rxflow.