Skip to main content

Native support

Last updated 10/02/2026

Import td-analytics in uni_modules to support native platforms. The directory structure is as follows:

uni_modules
└── td-analytics
├── utssdk
├── changelog.md
├── package.json
└── readme.md

Android packaging​

  1. Select Run > Run to Phone or Emulator > Run to Android App Base > Use Custom Base
  2. The first time, enter the package name and signing information, and then submit it for cloud packaging. You're done once packaging succeeds.
  3. For later debugging, select the local base to run.

iOS packaging​

  1. Select Run > Run to Phone or Emulator > Run to iOS App Base > Use Custom Base
  2. The first time, enter the package name and signing information, and then submit it for cloud packaging. You're done once packaging succeeds.
  3. For later debugging, select the local base to run.

HarmonyOS packaging​

  1. Select Run > Run to Phone or Emulator > Run to HarmonyOS.
  2. The first time, enter the package name and signing information, and then run it directly.
Was this page helpful?