URL 方案无效
URL scheme not working
你好,我是 React Native 和移动开发的新手。
我在 xcode 中创建了一个 url 方案。
当我在 ISO 模拟器中打开 Safari 并转到 url taddar_mobile_app://
Safari 说 "Safari cannnot open the page because the address is invalid." 因此它不会打开应用程序。
我已经学习了这个教程https://dev.twitter.com/cards/mobile/url-schemes。
我错过了什么,有人知道哪里出了问题吗?
提前致谢。
这不是有效的 URL 方案,因为它包含下划线。
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 ("-")
你好,我是 React Native 和移动开发的新手。
我在 xcode 中创建了一个 url 方案。
当我在 ISO 模拟器中打开 Safari 并转到 url taddar_mobile_app://
Safari 说 "Safari cannnot open the page because the address is invalid." 因此它不会打开应用程序。
我已经学习了这个教程https://dev.twitter.com/cards/mobile/url-schemes。
我错过了什么,有人知道哪里出了问题吗?
提前致谢。
这不是有效的 URL 方案,因为它包含下划线。
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 ("-")