tiktok_events_sdk
1.5.1, released 12 days ago by an unverified publisher
TikTok Events Manager SDK for Flutter to track in-app user engagement and ad campaigns.
What it does
Integrates the TikTok Events SDK into Flutter apps for Android and iOS. Allows developers to initialize the SDK, identify users, log custom and predefined events, manage user logout, and control tracking consent.
AI-written summary of version 1.5.1, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need to track in-app user actions and optimize TikTok ad campaigns.
- You require runtime consent controls for GDPR or CCPA compliance.
Skip it when
- You are testing primarily on the iOS Simulator where the native TikTok SDK drops events.
- You do not use TikTok ads or analytics.
Strengths
- Supports both iOS and Android platforms.
- Provides runtime consent toggles and limited data use (LDU) modes.
Weaknesses
- Native SDK does not send events from the iOS Simulator.
- Requires manual configuration of platform-specific repositories and dependencies (like JitPack).
Setup
- Kind
- Plugin (native code)
- Effort
- Medium
- Code generation
- No
- Direct dependencies
- 1
Requires adding the JitPack repository to build.gradle, configuring Android permissions (like AD_ID and INTERNET), setting up NSUserTrackingUsageDescription on iOS, and setting up the SDK initialization.
await TikTokEventsSdk.initSdk(
androidAppId: 'YOUR_ANDROID_APP_ID',
tikTokAndroidId: 'YOUR_TIKTOK_ANDROID_ID',
iosAppId: 'YOUR_IOS_APP_ID',
tiktokIosId: 'YOUR_TIKTOK_IOS_ID',
isDebugMode: true,
);Works with
Packages commonly used together with tiktok_events_sdk: ones it builds on, ones built on it, and its own family.