joeyk16
joeyk16

Reputation: 1415

URL scheme not working

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

I have created a url scheme in xcode.

url scheme

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.

Upvotes: 0

Views: 2375

Answers (1)

Dima
Dima

Reputation: 23634

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

https://www.rfc-editor.org/rfc/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 ("-")

Upvotes: 1

Related Questions