One user reported me that if he starts my app with the crank out, then there is no problem.
But if he starts the app with the crank in, as soon as he put it out, the app crashes with the “run loop stalled for more than 10 seconds” message.
Here is the app :
I cannot see any problem on the simulator.
I don't have a device yet to test.
Does anyone know what the problem could be ?
The following code is what I'm doing with the crank (the playdate.isCrankDocked() was added in the hope that it could solve the problem, but it is not):
function playdate.update() local ra = 0 local ara = 0 local pos = 0 if not playdate.isCrankDocked() then ra, ara = playdate.getCrankChange() pos = playdate.getCrankPosition() end -- my code using those values end