updated ios native wrapper