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 retrieved through the SDK.

Phone Number Collection

This feature is supported in React Native SDK version 3.20.0 and above.

setPhoneNumber

Registers the user's phone number.

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

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

const myPhone = '+821012341234';
hackleClient.setPhoneNumber(myPhone);

unsetPhoneNumber

Deletes the phone number registered for the user.

hackleClient.unsetPhoneNumber();

This feature is supported in React Native SDK version 3.24.0 and above.

For details on subscription consent status, refer to the CRM Message Subscription Consent Management documentation.

You can subscribe or unsubscribe by message purpose.

Use HackleSubscriptionOperationsBuilder to set the consent status for the desired properties, then finalize the update with a method such as updatePushSubscriptions().

You can update the consent status 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 SMS message subscription consent status.

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

Last updated