GetPartialUserData return invalid object when it hosted
I have use following code in my application it is work on locally but when I was hosting as a private channel then the code is return "invalid". Please refer following code and help me to resolve this error.
store = CreateObject("roChannelStore") msgport = CreateObject("roMessagePort") store.SetMessagePort(msgport) upgrade = invalid result = store.GetPartialUserData("email") 'store.GetUserData() print(result) DisplayNoData("result") while true msg = wait(1, msgport) if(result <> invalid) InsertSubscribeInformation(result.email,memberStatus) else DisplayNoData("result invalid") endif exit while end while
Re: GetPartialUserData return invalid object when it hosted
We haven't to my knowledge changed anything on the service side that would stop this from working. Perhaps you were testing it locally as a side-loaded channel. If you are not enrolled in Roku billing, this function won't work. It also won't work on Legacy devices.