简体   繁体   中英

URL scheme not working

Hello i'm new to React Native and mobile development.

I have created a url scheme in xcode.

网址方案

When i'm in the ISO simulator and open Safari and go to url taddar_mobile_app:// Safari says "Safari cannnot open the page because the address is invalid." Therefore it doesn't open the app.

I have followed this tutorial https://dev.twitter.com/cards/mobile/url-schemes .

What am i missing, does anyone know what's wrong?

Thank you in advance.

That isn't a valid a URL scheme because it contains underscores.

https://tools.ietf.org/html/rfc3986#page-17

Scheme names consist of a sequence of characters beginning with a letter and followed by any combination of letters, digits, plus ("+"), period ("."), or hyphen ("-")

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM