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: 
fppoce
Visitor

Back Key press after a call to GetUserData

Hi,

I'm trying to handle back key presses in my roku app. In general they're fine, but if I press the back button after a call to GetUserData or GetPartialUserData then the application exits.

I'm using the same messagePort as the rest of the application, I do wait for the button select released event before continuing after the call to GetUserData.

Am I missing something here?

Thanks
0 Kudos
2 REPLIES 2
RokuJoel
Binge Watcher

Re: Back Key press after a call to GetUserData

* try using a separate message port
* try putting up an roImageCanvas before you call that method
* note that you will only be allowed to use that method if you have a channel that actually uses our billing system for purchases of in-app products or subscriptions
0 Kudos
fppoce
Visitor

Re: Back Key press after a call to GetUserData

OK thanks
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.