Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Android url opening handling #22

Open
TrAndRS opened this issue Jul 29, 2022 · 2 comments
Open

Android url opening handling #22

TrAndRS opened this issue Jul 29, 2022 · 2 comments

Comments

@TrAndRS
Copy link

TrAndRS commented Jul 29, 2022

Every time my Android app opens some deep link, that url goes to sharing stream.

intent.action == Intent.ACTION_VIEW -> { // Opening URL
attachments = null
text = intent.dataString
}

Meanwhile on iOS app share_handler ignores regular urls opening.

Is it possible to disable ACTION_VIEW intent handling for Android?
Thanks.

@JoshJuncker
Copy link
Collaborator

@TrAndRS That may be an artifact of logic that I got from a different library. Is there a case where the library would want to handle Intent.ACTION_VIEW? If not, I could remove it. I'm just afraid it might break something. If it might be desired, it's possible to add some kind of configuration, but that would take some effort as right now I'm not passing any configuration from the dart side to the client side. I'd be happy for help though :)

@MominRaza
Copy link
Contributor

Deep link and share handler interfering

I'm using firebase_dynamic_links and this plugin
I'm using this plugin for creating post with sahered text or images, and using firebase_dynamic_links for opening shared posts by link.
But when I'm opening app with link it first sending that link to create post and then opening post screen.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants