Bug fixed on iOS, added onReset method on iOS.