Updated APIs for unity and ios