SDK question regarding setDeviceCapabilities

Change function (payload, first) to (payload, first) => your this scope it not bound to the surrounding scope. When using an arrow function the this is bound to scope it was defined in.

1 Like