Your Digital Media Has Never Looked So Good

 
coldrain
Topic Author
Posts: 28
Joined: Mon May 08, 2017 7:52 pm

What will happen with deprecated API

Sat Feb 09, 2019 10:12 pm

My channel is using GetDeviceUniqueID API to post data to my server just for statistic purpose. The document says that the API is going to be deprecated in Spring 2019. I try the new API GetChannelClientId() but it returns completely unrelated value. Does anyone know how I can switch to the new API without damaging my current statistic data?
By the way, what will happen after the API is really deprecated? Will the channel crash or the API just return blank value?
 
joetesta
Posts: 778
Joined: Wed Apr 20, 2011 11:48 am

Re: What will happen with deprecated API

Sun Feb 10, 2019 9:37 am

Going forward, there is no function that will return the same value that "GetDeviceUniqueID" returns now.  In order to transition seamlessly you'd need to be getting the current value from "GetChannelClientId" and switching them out or linking them up on your back end.
I don't know for sure what they (Roku co) will do, but I'm guessing the deprecated function will issue a warning in debug and not crash the app.  But you won't be able to get a new app approved with that function in it.
aspiring

Who is online

Users browsing this forum: amygo and 3 guests