And by that you mean that getDevices() returns 0 devices?
To clarify my setup ā every time I switch between local and test versions, I always:
-
Remove all paired devices first
-
Uninstall the app completely
-
Install the new version (local or test) fresh
-
Re-pair the device from scratch
So thereās no scenario where a device was paired under a local version and then ānot foundā by the test version. The device is always freshly paired under whichever version is currently installed.
Despite this, when running the test version from the app store, getDevices() consistently returns 0 ā even though the device was just paired moments ago under that exact test version.
The same code works perfectly when running locally with homey app run. Is there something different about how getDevices() behaves in a published/test app environment?
There shouldnāt be.
yes, so I changed to using Typescript instead of javascript, it work