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 Android SDK 2.52.0 and above.

setPhoneNumber

Registers the user's phone number.

The phone number is only saved if it is in the correct 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.

val myPhoneNumber = '+821012341234';
Hackle.app.setPhoneNumber(myPhoneNumber);

unsetPhoneNumber

Deletes the phone number registered for the user.

hackleApp.unsetPhoneNumber();

This feature is supported in Android SDK 2.55.0 and above.

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

You can consent to or reject subscriptions by message purpose.

Use HackleSubscriptionOperations.Builder to configure the consent status for the desired properties, then finalize the update using a method like updatePushSubscriptions().

You can update the consent status per message channel.

Promotional Messages

Sets the promotional message subscription consent property.

Informational Messages

Sets the informational message subscription consent property.

HackleSubscriptionStatus

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