Roku Developer Program

Developers and content creators—a complete solution for growing an audience directly.
cancel
Showing results for 
Search instead for 
Did you mean: 
fppoce
Level 7

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
Roku Employee
Roku Employee

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
Level 7

Re: Back Key press after a call to GetUserData

OK thanks
0 Kudos