I implemented some shake gesture in my WatchOS app (repo here: https://github.com/ezefranca/WatchShaker) and it was working, but I am now getting the following error in debugger:
[Gyro] Manually set gyro-interrupt-calibration to 800
what does this mean and how do I fix it?
the watchShaker(didShakeWith:) function should run when the watch is shaken, but it is not running
override func awake(withContext context: Any?) {
super.awake(withContext: context)
}
var shaker:WatchShaker = WatchShaker(shakeSensibility: .shakeSensibilityNormal, delay: 0.2)
override func willActivate() {
super.willActivate()
shaker.delegate = self
shaker.start()
getRandomNumbers()
}
override func didDeactivate() {
super.didDeactivate()
shaker.stop()
}
extension OneDiceController: WatchShakerDelegate {
func watchShaker(_ watchShaker: WatchShaker, didShakeWith sensibility: ShakeSensibility) {
self.getRandomNumbers()
}
func watchShaker(_ watchShaker: WatchShaker, didFailWith error: Error) {
print(error.localizedDescription)
}
}