How to update activation using LexActivator?


#1

Hello,

I want to update the activation to update metadata using LexActivator.
Can LexActivator realize the operation equivalent to the following Web API?

https://api.cryptlex.com/v3/docs#operation/V3ActivationsByIdPatch

If possible, how should I call the LexActivator API?

Best regards,
miles


#2

Hi Miles,

You can use SetActivationMetadata () function. License metadata is readonly for client and should only br updated from dashboard or server script. Client can set and update activation metadata.


#3

Thank you for your answer.

I confirmed that metadata can be updated by calling the SetActivationMetadata () function.
However, the update was not immediately synchronized to the server.
I want to force update of metadata.
Is there such a way?


#4

Hi Miles,

The update will only occur on server sync. server sync occurs every time you start your app, and till you don’t exit the app the further syncs occur at serverSyncInterval value of the license which can be set to as low as 180s, though recommended value is 3600s.

Though a force update can be done by recalling ActivateLicense() but that is not recommended.