For the complete documentation index, see llms.txt. This page is also available as Markdown.

CRM Properties

CRM Properties are stored securely only on the Hackle server and cannot be directly queried through the SDK.

Phone Number Collection

This feature is supported in Flutter SDK 2.16.0 and above.

setPhoneNumber

Registers the user's phone number.

The phone number is stored only if it is in valid E.164 format. If no country code is specified, South Korea (+82) is used as the default.

If the user already has a stored phone number, calling this function replaces the existing phone number with the new value.

String myPhoneNumber = '+821012341234';
HackleApp.setPhoneNumber(myPhoneNumber);

unsetPhoneNumber

Deletes the phone number registered for the user.

HackleApp.unsetPhoneNumber();

This feature is supported in Flutter SDK 2.20.0 and above.

For more details about subscription consent states, refer to the CRM Message Subscription Consent Management documentation.

You can subscribe or unsubscribe by message purpose.

Use HackleSubscriptionOperationsBuilder to configure the consent state for the desired properties, then finalize the update using methods like updatePushSubscriptions().

You can update the consent state per message channel.

Promotional Messages

Sets the subscription consent property for promotional messages.

Informational Messages

Sets the subscription consent property for informational messages.

HackleSubscriptionStatus
Description

UNKNOWN

Subscription Consent has not been given or denied (default)

SUBSCRIPTION

Explicitly opted in to receive messages

UNSUBSCRIPTION

Explicitly opted out of receiving messages

Updates the user's push message subscription consent status.

Updates the user's Kakao message subscription consent status.

Updates the user's Text Message subscription consent status.

Last updated