Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70434

Device Motion Frequency Issue

$
0
0

@lunneyd wrote:

this.subscription = this.deviceMotion.watchAcceleration({frequency: 5}).subscribe((acceleration: DeviceMotionAccelerationData)

Should I put a frequency in the brackets or leave out blank as if I put a frequency it slows app down. Why is this. Also this.sunscription does not stop the device motion gathering data, why is this?

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 70434

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>