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

Linking.openUrl show "Open With" popup dialog on android #23088

Closed
mmaschenko opened this issue Jan 21, 2019 · 2 comments
Closed

Linking.openUrl show "Open With" popup dialog on android #23088

mmaschenko opened this issue Jan 21, 2019 · 2 comments
Labels
API: Linking Bug Platform: Android Android applications. Resolution: Locked This issue was locked by the bot.

Comments

@mmaschenko
Copy link

Environment

Environment:
OS: macOS High Sierra 10.13.6
Node: 6.9.1
Yarn: 1.12.3
npm: 6.4.1
Watchman: 4.7.0
Xcode: Xcode 9.3 Build version 9E145
Android Studio: 3.1 AI-173.4720617

Packages: (wanted => installed)
react: 16.3.1 => 16.3.1
react-native: 0.55.4 => 0.55.4

Description

I have app with links to website. After i have added deeplinks it shows dialog "Open With" after i user Linking.openUrl(). How can i prevent this from happening? Cause it breaks user experience when they click open with my app and choose option ALWAYS. So they will never open link in browser

Reproducible Demo

Linking.openUrl("https://mysite.com/")

AndroidManifest
<data android:scheme="http" android:host="mysite.com"/> <data android:scheme="https" android:host="mysite.com"/>

@react-native-bot
Copy link
Collaborator

It looks like you are using an older version of React Native. Please update to the latest release, v0.57 and verify if the issue still exists.

The "⏪Old Version" label will be removed automatically once you edit your original post with the results of running react-native info on a project using the latest release.

@hramos
Copy link
Contributor

hramos commented Jan 29, 2019

Closing as this bug report concerns an older version of React Native.

@hramos hramos closed this as completed Jan 29, 2019
@facebook facebook locked as resolved and limited conversation to collaborators Jan 29, 2020
@react-native-bot react-native-bot added the Resolution: Locked This issue was locked by the bot. label Jan 29, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
API: Linking Bug Platform: Android Android applications. Resolution: Locked This issue was locked by the bot.
Projects
None yet
Development

No branches or pull requests

3 participants