Added to_ios and to_android methods and bin working properly now