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?
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.