NaverLoginErrorCode

What went wrong, in terms that mean the same thing on both platforms.

NAVER's two SDKs disagree about almost everything here: Android reports twenty-odd string codes (user_cancel, no_catagorized_error — the typo is NAVER's), while iOS reports two cases with nested payloads. Both are mapped onto this list so that shared code can branch on a failure without asking which platform it is running on. The SDK's own code and message are always available untranslated on NaverLoginResult.Failure.rawCode and NaverLoginResult.Failure.rawMessage.

Cancelling is deliberately not in this list: it is NaverLoginResult.Cancelled, not a failure.

Entries

Link copied to clipboard

NaverLogin.configure was never called, or the SDK had not finished initialising.

Link copied to clipboard

The device could not reach NAVER. Worth retrying.

Link copied to clipboard

NAVER answered, but with an error of its own. Retrying immediately rarely helps.

Link copied to clipboard

NAVER refused this application's registration: a wrong client ID or secret, a URL scheme that does not match the console, or an unregistered package name or bundle identifier.

Link copied to clipboard

There is no way to show a login on this device: no NAVER app, and no browser able to handle the flow either.

Link copied to clipboard

The NAVER app is installed but too old to complete the login, and must be updated.

Link copied to clipboard

A login is already running. Concurrent logins are refused rather than queued.

Link copied to clipboard

Anything else, including codes NAVER may add after this release.

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
expect val name: String
Link copied to clipboard
expect val ordinal: Int

Functions

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.