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

Question: IOS11.3 Linking can't open web URL ? #24179

Closed
s349856186 opened this issue Mar 28, 2019 · 1 comment
Closed

Question: IOS11.3 Linking can't open web URL ? #24179

s349856186 opened this issue Mar 28, 2019 · 1 comment
Labels
API: Linking Platform: iOS iOS applications. Ran Commands One of our bots successfully processed a command. Resolution: Locked This issue was locked by the bot. Type: Question Issues that are actually questions and not bug reports.

Comments

@s349856186
Copy link

-canOpenURL: failed for URL: "https://www.facebook.com" - error: "This app is not allowed to query for scheme https"

-canOpenURL: failed for URL: "http://www.myweb.com" - error: "This app is not allowed to query for scheme http"

    Linking.canOpenURL(type+string).then(supported => {
        if (!supported) {
            console.log('Can\'t handle url: ' + string);
        } else {
            return Linking.openURL(type+string);
        }
    }).catch(err => console.error('An error occurred', err));

"react-native": "^0.57.8",
IOS 11.3

IOS12 is normal, but IOS11 can't work, how can I solve it?

@s349856186 s349856186 added the Type: Question Issues that are actually questions and not bug reports. label Mar 28, 2019
@react-native-bot
Copy link
Collaborator

We are automatically closing this issue because it does not appear to follow any of the provided issue templates.

👉 Click here if you want to report a reproducible bug or regression in React Native.

@react-native-bot react-native-bot added Ran Commands One of our bots successfully processed a command. Resolution: No Template labels Mar 28, 2019
@facebook facebook locked as resolved and limited conversation to collaborators Mar 28, 2020
@react-native-bot react-native-bot added the Resolution: Locked This issue was locked by the bot. label Mar 28, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
API: Linking Platform: iOS iOS applications. Ran Commands One of our bots successfully processed a command. Resolution: Locked This issue was locked by the bot. Type: Question Issues that are actually questions and not bug reports.
Projects
None yet
Development

No branches or pull requests

2 participants