We just started using Main Thread Scheduling and were surprised to find it throwing errors on iOS (it still functions correctly, but no reason to unnecessarily fill the error logs):
Can't find variable: cancelIdleCallback
It turns out the RicTracker@start() function returns if requestIdleCallback is unsupported, but RicTracker@stop() doesn't.
We just started using Main Thread Scheduling and were surprised to find it throwing errors on iOS (it still functions correctly, but no reason to unnecessarily fill the error logs):
It turns out the
RicTracker@start()
function returns ifrequestIdleCallback
is unsupported, butRicTracker@stop()
doesn't.