Roku Developer Program

Join our online forum to talk to Roku developers and fellow channel creators. Ask questions, share tips with the community, and find helpful resources.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
harvestonline
Channel Surfer

Roku Update Breaks Channel on Roku XS

This simple code works on all of our Rokus (both Roku 3 and Roku 1) except the Roku XS:

Sub Main()
dialog = CreateObject("roOneLineDialog")
dialog.SetTitle("Loading please wait...")
dialog.ShowBusyAnimation()
dialog.show()
dialog.close()

' display a screen so the home page doesn't show in the background
screenFacade = CreateObject("roPosterScreen")

?"Debug" ' THIS DOESNT GET RUN OR ANYTHING AFTER IT

screenFacade.show()

' do more stuff to load main screen of app
end sub

There are no errors output and the documentation doesn't say anything changed. Our channel is now broken for anybody using this Roku.

Please advise!
0 Kudos
3 REPLIES 3
RokuMarkn
Visitor

Re: Roku Update Breaks Channel on Roku XS

As soon as you close your dialog, there are no open screens, so the channel exits. You should open the facade first, before you create and destroy the dialog.

--Mark
0 Kudos
harvestonline
Channel Surfer

Re: Roku Update Breaks Channel on Roku XS

Then why does it still work on all other devices?
0 Kudos
RokuJoel
Binge Watcher

Re: Roku Update Breaks Channel on Roku XS

As far as I have been able to tell, There may have been an issue in 5.0 firmware that allowed people to get away with this , but in 5.1 it is back to normal behavior. Maybe this issue was replicated in the recent update to 3.x firmware as well.

- Joel
0 Kudos
Need Assistance?
Welcome to the Roku Community! Feel free to search our Community for answers or post your question to get help.

Become a Roku Streaming Expert!

Share your expertise, help fellow streamers, and unlock exclusive rewards as part of the Roku Community. Learn more.