st = createObject("roChannelStore")
pt = createObject("roMessagePort")
st.setMessagePort(pt)
st.getCatalog()
e = wait(0,pt)
dlg = createObject("roMessageDialog")
dlg.setText(formatJSON(e.getResponse()).replace(",", ", "))
dlg.show()
"RokuNB" wrote:
likely what's happening is you are trying this from a side-loaded channel - and if i remember (it has been a long time since i used this), it did not work from "dev" but worked from a published channel. So, create a private channel (on the account where products are), push it published, install on the device and see if it accesses the catalog. The problem is, non-side-loaded apps don't have console accessible, so app will either have to send that info somewhere over http, or try displaying it on screen, something like:st = createObject("roChannelStore")
pt = createObject("roMessagePort")
st.setMessagePort(pt)
st.getCatalog()
e = wait(0,pt)
dlg = createObject("roMessageDialog")
dlg.setText(formatJSON(e.getResponse()).replace(",", ", "))
dlg.show()
"abhishek" wrote:
But if we don't have the debug console (in non-side loaded channel) it is very difficult to debug the app
and another important thing that if anything goes wrong Roku might charge the amount also. We don't have the refund option as well.
Can you please fix it from your side for sideloaded channels also (because I think you have recently launched it as a feature in new firmware and your team would like to fix as well), so that we can test it properly.
"RokuNB" wrote:"abhishek" wrote:
But if we don't have the debug console (in non-side loaded channel) it is very difficult to debug the app
that's why i proposed you my personal workaround above.
and another important thing that if anything goes wrong Roku might charge the amount also. We don't have the refund option as well.
that's what the "test users" section in dev.portal is about. add viewer accounts there by email - and if i recollect my personal experience, these test accounts won't be charged actual money - although transactions will behave as if this is happening (incl. PIN and reporting a charge). also from there i was able to cancel/refund transaction.
Can you please fix it from your side for sideloaded channels also (because I think you have recently launched it as a feature in new firmware and your team would like to fix as well), so that we can test it properly.
what is a recent feature here?
"abhishek" wrote:
@RokuNB, Can you please confirm if Roku Team has the plan to fix this for the sideloaded app in near future?
"RokuNB" wrote:"abhishek" wrote:
@RokuNB, Can you please confirm if Roku Team has the plan to fix this for the sideloaded app in near future?
i am told this new (and new to me) feature is working.
send me (PM) your developer account info (email) - or open ticket w/ partnerSuccess at roku.com and explain there the issue w/link to this thread
Same is with me I'm not getting subscriptions using getCatalog command I put channel on store and install using vanity code. Please help me out?