Skip to main content
Altcraft Docs LogoAltcraft Docs Logo
User guide iconUser guide
Developer guide iconDeveloper guide
Admin guide iconAdmin guide
English
  • Русский
  • English
Login
    User API documentationAPI interactionMatching
      Profilesarrow
    • Import profileUpdate profileImport multiple profilesUpdate multiple profilesAdd multiple profilesAdd profile to databaseImport profile to RabbitMQGet profile dataUploading profiles to a fileDelete profileSubscription fields functional updateDatabase fields functional updateMerging multiple profilesUnsubscribe profile from resourceProfile splitting
        Subscriptionsarrow
      • Add or edit subscriptionGet all profile subscriptionsGet all subscriptions from multiple profilesGet profile subscriptionDelete profile subscriptionRestore deleted subscriptionSuspend all subscriptionsUnsuspend all suspended subscriptions
        Action historyarrow
      • Get profile action historyGet multiple profiles action history
        Profile relationsarrow
      • Attach relationDetach relationModify relation propertiesOverwrite relation propertiesGet profile relations infoGet profile relations info
      Get data for multiple profiles
      Databasesarrow
    • Get database statisticsUpdate statistics on databaseGet database listGet database informationGet database fieldsDatabase wipe
      Resourcesarrow
    • Get resource statisticsUpdate statistics on resourceGet resources listGet resource informationGet resource subscription fields
      Segmentsarrow
    • Create segmentGet statistics on resourceUpdate statistics on segmentAdd or remove profileGet profile data in a static segmentUpdate segmentGet segment informationGet segments listDelete segment
      Suppression listsarrow
    • Create suppression listUpdate suppression listGet suppression list infoGet the list of suppression listsDelete suppression listUpload suppression list data to file
        Suppression list actionsarrow
      • Check if email is suppressedAdd email to suppression listAdd multiple emails to suppression listRemove email from suppression listRemove all emails from suppression listCheck if domain is suppressedAdd domain to suppression listAdd multiple domains to suppression listRemove domain from suppression listRemove all domains from suppression listCheck if phone number is suppressedAdd phone number to suppression listAdd multiple phones to suppression listRemove phone number from suppression listRemove all phone numbers from suppression list
      Templates and fragmentsarrow
    • Get templates listGet template infoDelete templateAdd templateUpdate templateChannel object
      Campaignsarrow
    • Get campaign informationGet campaign listActivate campaignComplete campaignDeactivate campaignGet campaign status
      Mailingsarrow
    • Activate mailingDeactivate mailingGet mailing listGet mailing informationGet mailing logClone mailingDelete mailingGet mailing status
        Broadcast mailingsarrow
      • Get broadcasts listGet broadcast informationCreate broadcast mailingUpdate broadcast mailingLaunch a broadcast mailing
        Regular mailingsarrow
      • Get regular mailings listGet regular mailing informationCreate regular mailingUpdate regular mailingLaunch a regular mailing
        Trigger mailingsarrow
      • Get trigger mailings listGet trigger mailing informationCreate trigger mailingUpdate trigger mailingTrigger launch (API call)Profile import + trigger mailing launchTask for bulk trigger launchTask for bulk profiles import + trigger launchBulk trigger launchBulk profiles import + trigger mailing launchClone a trigger mailingData array
      Automation scenariosarrow
    • Engage profile in scenarioImport and engage profile in scenarioBatch import and engage profiles in a scenarioTask for batch import and engaging profiles in the scenarioGet scenarios listActivate scenarioDeactivate scenarioGet scenario informationChange scenario priority
      Loyalty Programsarrow
    • Get profile tier in a loyalty programExport points transactionsExpiring points for a periodGet profile account transactionsGet trigger promotions listAccrue points to a memberRedeem member pointsCommit temporary transactionPreliminary Order CalculationOrder ConfirmationRoll back temporary transactionCancel points transactionGet points account balanceRegister member in a loyalty programBatch adding participants to loyalty programTask for batch add participants to loyalty programRemove member from loyalty program
      Formsarrow
    • Get form informationGet form listExport form fill data by userExport form fill dataPublish formUnpublish formDelete form
      Promo codesarrow
    • Import promo codesGet promo code informationActivate promo codeUpdate promo codeAttach promo codeDetach promo codeGet all promo codes
      Goalsarrow
    • Goals and goal values registration
      Application push notificationsarrow
    • Processing and adding a subscriptionAdd app push events
      Marketarrow
      • Market objectsarrow
      • Order data objectProduct data objectSKU data objectCategories arrayCustom fields array
        Ordersarrow
      • Import order and item statusesGet orders listDelete orderGet order statusUpdate order line status
        Products and SKUarrow
      • Import products, SKUs and categoriesImport SKUs and categoriesGet products listGet SKUs listDelete productsDelete SKU
      Analytic reportsarrow
    • Get summary reportGet soft bounces reportGet undeliveries report
      Sendersarrow
    • Get senders list
        Virtual senders (Smart accounts only)arrow
      • Get virtual senders listGet virtual sender informationClone virtual senderCreate virtual senderUpdate virtual senderDelete virtual sender
      External datatables queriesarrow
      • Segmentation queriesarrow
      • Add segmentation queryUpdate segmentation queryGet segmentation query informationGet segmentation queries listDelete segmentation query
        Template queriesarrow
      • Add template queryUpdate template queryGet template query informationGet template queries listDelete template query
      Objectsarrow
    • AKMTA objectContent objectCustom channels rulesEmail rule objectFile objectProfile data objectSMS rule objectSender objectSender typesStart schedule objectSubscription objectTrigger types
      Miscellaneousarrow
    • Upload fileGet message web versionPush providersDeduplication of requestsHow to send API request with RabbitMQList of gender identificationsObtain valid values for fields: browsers, devices, tz, oses, languages
    Importing the API collection in PostmanList of API endpoints
      SDKarrow
      • mSDKarrow
        • Androidarrow
        • Quick startSDK functionalitySDK ConfigurationPublic SDK API
            Provider setuparrow
          • Firebase Cloud MessagingHuawei Mobile ServicesRuStore
          iOSarrow
        • Quick startSDK configurationSDK functionalityPublic SDK API
            Provider configurationarrow
          • Apple Push Notification ServiceFirebase Cloud MessagingHuawei Mobile Services
          React Native (Android/iOS)arrow
        • Quick StartSDK ConfigurationSDK FunctionalityPublic SDK APIProvider setup
          Flutter (Android/iOS)arrow
        • Quick StartSDK ConfigurationSDK FunctionalitySDK Public APIProvider Setup
        Working with role and JWT tokens
      Web Push SDK
  • SDK
  • mSDK

mSDK

Description​

Altcraft mSDK is a mobile SDK for reliable push notification handling and interaction with the Altcraft Platform. It is designed for Android and iOS, supports Firebase, Huawei, RuStore, and APNS, and provides extended capabilities for subscription management, event handling, and working with multiple users on the same device.

The SDK can use JWT tokens or an rToken, which lets you flexibly configure the security level and profile data matching types. Automatic notification and delivery event handling ensures stability and high data accuracy, and the built-in WorkManager guarantees event delivery even in case of network failures.

Minimum requirements:

  • iOS: Minimum Deployment Target — 13
  • Android: minimum API level (minSdkVersion) — 25

Features​

The SDK is compatible with Kotlin, Java (Android), Swift, Objective-C (iOS), JavaScript (React Native), and Dart (Flutter).

The Android SDK is built from modules, each covering its own functional area. Add dependencies only for the modules you need.

Core (required)​

SDK core: app initialization and connection to the Altcraft Platform, and availability of optional modules.

  • SDK initialization and configuration.
  • Authentication with JWT tokens or an rToken.
  • Support for anonymous and registered users, and multiple users on a single device (JWT).
  • Automatic retry of failed requests via WorkManager.
  • SDK event stream for monitoring its operation in your app.
  • Clearing SDK data and stopping background tasks.

Push (optional)​

The module handles push notifications.

  • Subscription management: subscribe, suspend, unsubscribe.
  • Automatic display of push notifications configured in the platform, with the ability to override the format and access all message data fields.
  • Automatic push token refresh when it changes.
  • Automatic sending of notification delivery and open events.
  • Support for push providers: Firebase, Huawei, RuStore (Android), APNS (iOS).
  • Requesting the notification permission for Android 13+ devices.

Target (optional)​

The module handles goals: sending goal-achievement events to the platform.

  • Sending goals from the app.
  • Attaching payload data, matching parameters, profile fields, and channel subscriptions to a goal.
  • Attaching UTM tags to goals for attribution.

Profile (optional)​

The module handles user profile fields.

  • Updating profile fields from the app.

In-App (optional)​

The module handles in-app campaigns.

  • Automatic display of in-app campaigns configured in the platform.
  • In-app campaign subscription management: subscribe, unsubscribe, status.
  • Fetching placements, matching by the current screen, custom triggers.
  • JSON emitter for in-app campaigns for an external subscriber.

GitHub​

Altcraft mSDK repositories are available on GitHub:

  • iOS
  • Android
  • React Native
  • Flutter

Dependency managers​

Cocoapods:

pod 'Altcraft', '1.0.0'

Swift Package Manager:

1.0.0

Maven Central (Android):

Required core:

com.altcraft:android-sdk-core:X.Y.Z

Optional modules — add only the ones you need:

com.altcraft:android-sdk-push:X.Y.Z com.altcraft:android-sdk-target:X.Y.Z com.altcraft:android-sdk-profile:X.Y.Z com.altcraft:android-sdk-inapp:X.Y.Z

Repositories: mavenCentral() and google().

npm:

@altcraft/react-native-sdk


AndroidAndroid

Android

Setup and configuration of Altcraft mSDK for Android

iOSiOS

iOS

Setup and configuration of Altcraft mSDK for iOS

React Native (Android/iOS)React Native (Android/iOS)

React Native (Android/iOS)

Altcraft mSDK installation and configuration for React Native

Flutter (Android/iOS)Flutter (Android/iOS)

Flutter (Android/iOS)

Altcraft mSDK installation and configuration for Flutter

Working with role and JWT tokensWorking with role and JWT tokens

Working with role and JWT tokens

Detailed description of rToken and JWT token, differences, operation.

Last updated on Sep 28, 2026
Previous
SDK
Next
Android
  • Description
  • Features
    • Core (required)
    • Push (optional)
    • Target (optional)
    • Profile (optional)
    • In-App (optional)
  • GitHub
  • Dependency managers
© 2015 - 2026 Altcraft, LLC. All rights reserved.