With system.openURL() you are able to open and switch to other apps thru the uri-schema used in the url.
According to the comment here (http://developer.anscamobile.com/content/configuring-projects#comment-32522), I was hoping to do the same thing the other way around: by configuring my app such that it registers a uri-schema in the config.build plist, I could start myapp from within a webpage/email/tweet/etc.
Unfortunately, I cannot make it work… The config.build file that I use is:
[lua]settings = {
orientation = {
default =“portrait”,
content = “portrait”,
supported = {
“portrait”
},
},
iphone = {
plist = {
UIApplicationExitsOnSuspend = false,
CFBundleURLTypes = {
CFBundleURLName = “com.creativeapptitude.swimtimer”,
CFBundleURLSchemes = {
“swimtimer”,
},
},
},
}
}[/lua]
Is this feature of custom urls supported by CoronaSDK?
Did anyone manage to get it to work?
Anything wrong with by build.config file?
And if it is supported… can I somehow get access to the complete url that was used to start myapp?
Appreciate any help, Frank.
[import]uid: 8093 topic_id: 9647 reply_id: 309647[/import]