polarofficial / polar-ble-sdk

Repository includes SDK and code examples. More info https://polar.com/en/developers
Other
447 stars 147 forks source link

`ERROR_INVALID_OP_CODE` when calling `isSDKModeEnabled` #440

Closed Rexios80 closed 4 months ago

Rexios80 commented 4 months ago

Platform on which you observed the bug:

Device on which you observed the bug:

Describe the bug Calling isSDKModeEnabled gives an ERROR_INVALID_OP_CODE error

How to Reproduce Call isSDKModeEnabled after receiving the SDK Mode feature ready callback

Expected behavior No error

jimmyzumthurm commented 4 months ago

Hi @Rexios80 , Which version of Verity Sense do you have in use ? It is a bit surprising that it gives error, but I believe this command was added in software release 2.1.0. Could you have older version than that ?

Rexios80 commented 4 months ago

Yep that's most definitely the issue. It was on version 1.1.5. I had to use the desktop app to update because the mobile app said there was no update available.