LoginSignup
4

More than 3 years have passed since last update.

posted at

updated at

Custom URL Schemeに使える文字列

URL Schemeには使える文字列が定められている

RFCによって定められています
scheme = ALPHA *( ALPHA / DIGIT / "+" / "-" / "." )

文字列で始まり、n個以上の文字,数字,ハイフン,ドット,プラス のみ

※アンダースコアやスラッシュは使えません

ハイフンの代わりにアンダースコア(_)やスラッシュ(/)を使いがちですが、無効なスキームになってしまうので気をつけるように
ex... sample_app://, sample/app:// などはNG

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
What you can do with signing up
4