Titanium Community Questions & Answer Archive

We felt that 6+ years of knowledge should not die so this is the Titanium Community Questions & Answer Archive

Launching Your Own Application via a Custom URL Scheme

Hi There,

How can I work with Custom URL Handlers with Titanium?
I've added the "URL Identifier" and "URL Schemes" on the info.plist file, see code below

        <key>CFBundleURLTypes</key>
    <array>
        <dict>
            <key>CFBundleURLSchemes</key>
            <array>
                <string>myTiApp</string>
            </array>
            <key>CFBundleURLName</key>
            <string>com.mycompany.myTiApp</string>
        </dict>
    </array>

Example: myTiApp://

Following the steps from this site: http://iphonedevelopertips.com/cocoa/launching-your-own-application-via-a-custom-url-scheme.html

But when I try the Custom URL from Mobile Safari, I get an error saying that it is an invalid address.

Any clue how can I implement this?

— asked April 2nd 2010 by Antonio Silveira
  • custom
  • iphone
  • scheme
  • url
1 Comment
  • Does Android support this?

    — commented January 14th 2011 by Mark Henderson

1 Answer

  • Hi There,

    I just found the Problem, you need to edit the info.plist with the Property Editor, and not with Xcode.

    Now it works as expected.

    — answered April 3rd 2010 by Antonio Silveira
    permalink
    3 Comments
    • Hi,

      I am looking a solution/hint for the same problem.

      How did you do to "configure" the custom URL SCHEME ??

      Could you explain please a little bit more ?

      Thanks

      — commented May 31st 2011 by abbdoul ab
    • is it possible to add these scheme from tiapp.xml

      — commented March 6th 2013 by Saamy
    • done, Its working.

      Thanks,
      Saamy

      — commented March 7th 2013 by Saamy
The ownership of individual contributions to this community generated content is retained by the authors of their contributions.
All trademarks remain the property of the respective owner.