Magnetometer issue in IOS

I recent use expo-sensors in my iphone7
The Magnetometer value(x,y,z) would return 0 after the booting.
It need waiting 2~20 minutes this function would work.

I try Magnetometer.isAvailableAsync() function, it will return true.

Have any idea?

Thank you very much.

Hi! Could you share a snack that reproduces this?

Hello~
Here is expo example:


when I use iphone after booting, The Magnetometer value return 0
It need waiting some times to get value

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.