TuyaInc / tuyasmart-home-sdk-react-native

MIT License
29 stars 65 forks source link

[iOS only] Error "permission validate failed" when calling TuyaShareApi.queryDevShareUserList #14

Closed tronginc closed 5 years ago

tronginc commented 5 years ago

I have to call TuyaShareApi.queryDevShareUserList({ devId }). On Android, It work!!! But on iOS, it log the error: permission validate failed

TuyaShareApi.queryDevShareUserList({ devId })
    .then(data => console.log(data))
    .catch(err => console.log(err))
iphone1945 commented 5 years ago

Have you set the appkey and appsecret along with the secure image?

tronginc commented 5 years ago

Have you set the appkey and appsecret along with the secure image? @iphone1945 where and how I can set secure image for my app? Why it only work on android