Suppot InviteDialog and ShareDialog callbacks for iOS. (Same usage as Android)