Last updated:
0 purchases
gtads ks
GTAds快手广告支持插件 #
📢 相关插件 #
ksad 快手广告本体,内部已集成无需额外引入,配置相关查看插件说明
GTAds 聚合广告插件基础库,必须引入
使用 #
pubspec.yaml #
//广告基础库 必须引入
gtads: ^1.3.0
//快手广告支持
gtads_ks: ^1.3.1
copied to clipboard
引入 #
import 'package:gtads_csj/gtads_bqt.dart';
copied to clipboard
⚠️注:
如果andorid出现NoClassDefFoundError闪退
java.lang.NoClassDefFoundError: Failed resolution of:Landroidx/localbroadcastmanager/content/LocalBroadcastManager
则在app下build.gradle中引入库
implementation 'androidx.localbroadcastmanager:localbroadcastmanager:1.1.0'
copied to clipboard
使用 #
仅需通过以下方法插入广告至聚合插件,无需关注具体广告的调用
//参数依次为 别名、andorid app Id、ios app Id
GTAds.addProvider(GTAdsKSProvider(_alias, "613400004", "613400004"));
copied to clipboard
广告位使用参考GTAds
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.