# kb_bytedance_attribution **Repository Path**: zhangweida/kb_bytedance_attribution ## Basic Information - **Project Name**: kb_bytedance_attribution - **Description**: 巨量归因插件 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-07-11 - **Last Updated**: 2025-07-14 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # kb_bytedance_attribution A new Flutter project. ## Getting Started This project is a starting point for a Flutter [plug-in package](https://flutter.dev/to/develop-plugins), a specialized package that includes platform-specific implementation code for Android and/or iOS. For help getting started with Flutter development, view the [online documentation](https://docs.flutter.dev), which offers tutorials, samples, guidance on mobile development, and a full API reference. 安卓配置 android/build.gradle文件下添加如下 allprojects { repositories { google() mavenCentral() //添加下面代码 maven { url 'https://artifact.bytedance.com/repository/Volcengine/' } } } iOS配置 一 AppDelegate.swift文件添加代码 import Flutter import UIKit import kb_bytedance_attribution ///添加 @main @objc class AppDelegate: FlutterAppDelegate { override func application( _ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]? ) -> Bool { GeneratedPluginRegistrant.register(with: self) BDASignalManager.didFinishLaunching(options: launchOptions, connect: nil)///添加这句代码 return super.application(application, didFinishLaunchingWithOptions: launchOptions) } } 二、Runner-Bridging-Header.h添加代码 #import "BDASignalManager.h" #import "BDASignalDefinitions.h"