Forum Discussion
You must be sideloading the same channel on devices or publish both channels.
- bretthacker3 years agoBinge Watcher
Can you elaborate on this? Is there no way to test this with sideloading to two different devices in the same account during development? We have to publish to test this process?
- bretthacker3 years agoBinge Watcher
So I figured this out, updating here for others with the same issue. The documentation refers to using the "rekey" utility on the device portal when you want to test different channels on the same device. But if you want to test your Automatic Account Linking code to be sure it's working correctly when auto-enrolling a 2nd device on the same user account, you have to rekey in that scenario as well. So not just two channels on one device, but one channel on 2 devices. The channel_data was encrypted by the first devID and without using rekey on the 2nd device, it was unable to decrypt the contents that were encrypted by the other devid.