Closed danieldai closed 1 year ago
来个具体的文档说明是哪个参数哦
类似personalized这样的参数 https://github.com/gstory0404/flutter_tencentad/blob/master/lib/flutter_tencentad.dart
///
/// # SDK注册初始化
///
/// [androidId] androidId 必填
///
/// [iosId] iosId 必填
///
/// [channelId] channelId 渠道id [FlutterTencentadChannel]
///
/// [personalized] personalized 是否开启个性化广告 [FlutterTencentadPersonalized]
///
static Future<bool> register({
required String androidId,
required String iosId,
int? personalized,
bool? debug,
int? channelId,
}) async {
return await _channel.invokeMethod("register", {
"androidId": androidId,
"iosId": iosId,
"debug": debug ?? false,
"channelId": channelId ?? FlutterTencentadChannel.other,
"personalized": personalized ?? FlutterTencentadPersonalized.show,
});
}
请链接官方文档哦
收到
已更新 v2.6.0,具体看源码示例
现在APP在国内应用市场上架时会检查app是否有个性化广告功能,如果有的话需要app提供配置开关,让用户能够关闭个性化广告。对于Flutter开发的APP,需要在Flutter代码中能够对此进行控制。