Fix for resume-trigger on ios