We have developed Roku SG application and submitted the Roku application on store but the application rejected because our application does not support Deep linking. I read
https://sdkdocs.roku.com/display/sdkdoc/Deep+Linking and tried to implement deep linking -
Function Main(args as Dynamic) as Void
print args
if (args.ContentId <> invalid) and (args.MediaType <> invalid)
if (args.mediaType = "season")
HomeScreen()
else
print "Unknown media type ", args.mediaType
end if
end if
end function
and launch by curl -d '' "http://192.168.1.114:8060/launch/dev?contentID=13234&MediaType=season" its working fine, but application not launching by browser "Development Application Installer" or direct throw remote because
args return only 4 following parameters -
<Component: roAssociativeArray> =
{
instant_on_run_mode: "foreground"
lastExitOrTerminationReason: "EXIT_UNKNOWN"
source: "auto-run-dev"
splashTime: "1170"
}
Where is the ContentId and MediaType ? Please Help us and provide a better example to understand and implement easily Deep Linking.
Thankyou.