Initial iOS version, some setup for android.