pawanbenjamin / zen-g-2024

0 stars 0 forks source link

Accelerometer updateInterval modification #9

Open samryderE opened 2 months ago

samryderE commented 2 months ago

Android devices have some limits on the allowable speed of the callback invocation interval. Presently, Accelerometer.setUpdateInterval() is more frequent than android devices allow without increased complexity of code. Experiment with the android limit to see if the rate is acceptable or the code must be increased in complexity in order for the same implementation to be run on android.

russellwmoore commented 2 months ago

Notes here: https://docs.expo.dev/versions/latest/sdk/accelerometer/#setupdateintervalintervalms I think there also might be more setup to release an android version