I’ve tried it on my iPhone, but result is the same as yours. I’ve also tried checking connectedToBackend property and it is false, so I guess that’s the reason. But I don’t know why it’s not connected, because for other sensors it is true and I can get their readings.
--- Artem Sidyakin > On 18 Sep 2018, at 18:40, Jason H <jh...@gmx.com> wrote: > > http://doc.qt.io/qt-5/compatmap.html states that AmbientLightSensor is on iOS. > > AmbientLightSensor { > active: true > skipDuplicates: false > onReadingChanged: { > console.log("lightLevel", reading.lightLevel); > } > } > > produces no updates, nor any warnings or errors. > > Does this actually work? Did it ever? > _______________________________________________ > Interest mailing list > Interest@qt-project.org > http://lists.qt-project.org/mailman/listinfo/interest _______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest