Hard-coded for iOS. Added extra logging.