Home > @magiclane/maps-sdk > ActivationService > completeOfflineActivation

ActivationService.completeOfflineActivation() method

Activates a product offline using the offline activation key.

Finalizes an offline activation flow where the activation service returned a short offlineActivationKey.

Signature:

static completeOfflineActivation(offlineActivationKey: string): [any, string];

Parameters

Parameter

Type

Description

offlineActivationKey

string

The short activation key returned by the offline activation service flow. This key is obtained from the out-of-band offline activation process when no internet is available.

Returns:

[any, string]

A tuple containing: - GemError: Result code describing the outcome - String: A hint or additional information from the platform