You should remove the lines: sleep(2000) return result The "return" is breaking things for you, and there's no need for the "sleep". In your callback you could print out print "results: "; m.LoginTask.results to make sure you're getting the response you expect....
A challenge I'm facing is that our registration and sign-in flows are non-linear. The "polling" screen could be screen number 3, 4 or 5 depending on the path and options the user chose. I wish there were more guidance or an example of how this could work in a more complex / non-linear pr...
Types listed do not match example: pages: landing, sign in, registration, device activation, subscription selection, payment, and cancellation. Examples: "Sign_Up|pageNumber=1|pageType=Landing Page" "Sign_Up|pageNumber=2|pageType=Sign In" Note: "Landing Page" vs "l...
There is insufficient guidance wrt pageNumber or pageType values: https://developer.roku.com/en-gb/docs/developer-program/discovery/search/prioritizing-authenticated-channels-in-roku-search.md Should pages use consistent values for pageNumber (ie should a specific view be assigned a pageNum that's...
The last example entry on this page is incorrect: https://developer.roku.com/en-gb/docs/developer-program/discovery/search/prioritizing-authenticated-channels-in-roku-search.md For the sign up flow use case, call dispatchEvent("Sign_Up|pageNumber=<int>|pageType=<type>") or dispatchEvent...
This might work for you: "disableScreenSaver": Set this to true to suppress the screensaver. This is typically used to suppress the screensaver when playing audio-only streams. https://developer.roku.com/docs/references/scenegraph/media-playback-nodes/video.md If not, you could also use E...
yeah, this is not an easy issue to solve, very tedious and there are bugs (eg if you use FHD resolutions instead of HD). But the solution is to place every block of text and measure placement for the next using boundingRect()
https://developer.roku.com/docs/references/api-index/brightscript/interfaces/ifsgnodechildren.md#insertchildindex-as-integer-child-as-rosgnode--as-dynamic Following the doc here: "insertChild(index as Integer, child as roSGNode ) as Dynamic" Produces a crash: Type Mismatch. (runtime error...
They mean a web server that listens for incoming http requests, just like a webform does. You'd have an endpoint that Roku's server will hit and trigger an entry into your database, and send the response to the request. To cancel a subscription, your server would send to Roku's server the specified...
Going forward, there is no function that will return the same value that "GetDeviceUniqueID" returns now. In order to transition seamlessly you'd need to be getting the current value from "GetChannelClientId" and switching them out or linking them up on your back end. I don't kn...