OpenFlutter / Pangolin

🐾 Flutter 广告SDK-字节跳动-穿山甲 集成
https://pub.dev/packages/pangolin
Apache License 2.0
335 stars 64 forks source link

ios 激励视频调用没反应 #46

Open tangbincheng opened 3 years ago

tangbincheng commented 3 years ago

pangolin最新版测试的 2020-11-27 14:57:17.026898+0800 Runner[699:120409] 【BytedanceUnion V3.3.1.5】-【webViewPool】BUWebViewOwner: memory dealloc:0x2829667c0 2020-11-27 14:57:17.033592+0800 Runner[699:120409] 【BytedanceUnion V3.3.1.5】-【renderControl】renderControlFlow 请求的渲染方式:模板渲染 2020-11-27 14:57:17.033745+0800 Runner[699:120409] 【BytedanceUnion V3.3.1.5】-【renderControl】------------------我是分割线------------------ 2020-11-27 14:57:17.033825+0800 Runner[699:120409] 【BytedanceUnion V3.3.1.5】-【renderControl】广告素材请求的时候,需要上传的renderType:模板渲染 2020-11-27 14:57:17.048686+0800 Runner[699:120780] 【BytedanceUnion V3.3.1.5】-【BUFoundation】192.168.2.110 2020-11-27 14:57:17.048997+0800 Runner[699:120706] 【BytedanceUnion V3.3.1.5】-【setting】--------------------slotId(945642973)开始--------------- 2020-11-27 14:57:17.049113+0800 Runner[699:120706] 【BytedanceUnion V3.3.1.5】-【setting】[slot与子模板id对应关系] 获取slotId(945642973)对应的子模板信息 2020-11-27 14:57:17.049338+0800 Runner[699:120706] 【BytedanceUnion V3.3.1.5】-【setting】[slot与子模板id对应关系] slotId:945642973, templateDataIds(query):{id=89;md5=e202ebb7ea77ac765aa7d0b25aa5ca84;} 2020-11-27 14:57:17.051075+0800 Runner[699:120780] 【BytedanceUnion V3.3.1.5】-【other】Sign begin, param 2020-11-27 14:57:17.051271+0800 Runner[699:120780] 【BytedanceUnion V3.3.1.5】-【other】BUSecGuardManager Init 2020-11-27 14:57:17.051481+0800 Runner[699:120780] 【BytedanceUnion V3.3.1.5】-【other】Start bodyEncry 2020-11-27 14:57:17.051775+0800 Runner[699:120780] 【BytedanceUnion V3.3.1.5】-【other】SGM exists 2020-11-27 14:57:17.052441+0800 Runner[699:120780] 【BytedanceUnion V3.3.1.5】-【other】SGM init 2020-11-27 14:57:17.052554+0800 Runner[699:120780] 【BytedanceUnion V3.3.1.5】-【other】SGM testMsgLog 2020-11-27 14:57:17.053449+0800 Runner[699:120780] 【BytedanceUnion V3.3.1.5】-【other】SGM bodyEncry 2020-11-27 14:57:17.053589+0800 Runner[699:120780] 【BytedanceUnion V3.3.1.5】-【other】BUSecGuardManager response bodyEnc 2020-11-27 14:57:17.053759+0800 Runner[699:120780] 【BytedanceUnion V3.3.1.5】-【other】add Sign 2020-11-27 14:57:17.055158+0800 Runner[699:120780] 【BytedanceUnion V3.3.1.5】-【BUFoundation】【BytedanceUnion】Add request: BUGetADSRequest 2020-11-27 14:57:17.067547+0800 Runner[699:120614] flutter: value=true 2020-11-27 14:57:17.377559+0800 Runner[699:120783] 【BytedanceUnion V3.3.1.5】-【BUFoundation】Finished Request: BUGetADSRequest 2020-11-27 14:57:17.382615+0800 Runner[699:120409] 【BytedanceUnion V3.3.1.5】-【rewardedVideo】video ad material loaded successfully 2020-11-27 14:57:17.383084+0800 Runner[699:120409] 【BytedanceUnion V3.3.1.5】-【nativeExpress】[加载数据] 数据格式有问题 2020-11-27 14:57:17.383610+0800 Runner[699:120409] 【BytedanceUnion V3.3.1.5】-【renderControl】物料(0x104e0b630)修正前的服务端下发的渲染类型: 广告物料需要的渲染类型:动态布局渲染 2020-11-27 14:57:17.383934+0800 Runner[699:120409] 【BytedanceUnion V3.3.1.5】-【renderControl】物料(0x104e0b630)修正后的渲染类型: 广告物料需要的渲染类型:动态布局渲染 2020-11-27 14:57:17.438497+0800 Runner[699:120409] 【BytedanceUnion V3.3.1.5】-【webViewPool】缓存池测试:此webview可以复用 webview:0x129c39400 2020-11-27 14:57:17.438814+0800 Runner[699:120409] 【BytedanceUnion V3.3.1.5】-【webViewPool】BUWebViewOwner: memory init:0x282924c40 2020-11-27 14:57:17.439792+0800 Runner[699:120706] 【BytedanceUnion V3.3.1.5】-【setting】[slot与子模板id对应关系] slotId:945642973, templateDataId(物料返回):89 2020-11-27 14:57:17.439950+0800 Runner[699:120706] 【BytedanceUnion V3.3.1.5】-【setting】[子模板获取] 子模板id(89) 2020-11-27 14:57:17.440124+0800 Runner[699:120706] 【BytedanceUnion V3.3.1.5】-【setting】[子模板获取] 版本号校验通过, 物料版本(1.0.65), 主模板版本(1.0.206) 2020-11-27 14:57:17.440219+0800 Runner[699:120706] 【BytedanceUnion V3.3.1.5】-【setting】[子模板缓存管理] 通过子模板(89)获取缓存子模板信息 2020-11-27 14:57:17.440489+0800 Runner[699:120706] 【BytedanceUnion V3.3.1.5】-【setting】[子模板缓存管理] 子模板(89)存在,不需要创建一个新的 2020-11-27 14:57:17.440715+0800 Runner[699:120706] 【BytedanceUnion V3.3.1.5】-【setting】[子模板获取] 子模板(89)有缓存, 使用物料的子模板信息(如果有的话)替换缓存并使用缓存渲染 2020-11-27 14:57:17.441829+0800 Runner[699:120706] 【BytedanceUnion V3.3.1.5】-【setting】[子模板缓存管理] 通过子模板(89)获取缓存子模板信息 2020-11-27 14:57:17.442253+0800 Runner[699:120706] 【BytedanceUnion V3.3.1.5】-【setting】[子模板缓存管理] 子模板(89)存在,不需要创建一个新的 2020-11-27 14:57:17.442667+0800 Runner[699:120706] 【BytedanceUnion V3.3.1.5】-【setting】[slot与子模板id对应关系] 此templateDataId(89), 已经存在在slot(945642973)中了,不需要添加。 2020-11-27 14:57:17.443171+0800 Runner[699:120706] 【BytedanceUnion V3.3.1.5】-【setting】[slot与子模板id对应关系] slotId:945642973, templateDataId(saveToCache):89 2020-11-27 14:57:17.445034+0800 Runner[699:120409] 【BytedanceUnion V3.3.1.5】-【other】【统计】tag=rewarded_video lable=load_ad_duration adId=1679680284623933 2020-11-27 14:57:17.446437+0800 Runner[699:120409] 【BytedanceUnion V3.3.1.5】-【BUFoundation】Request queue size = 0 2020-11-27 14:57:17.451494+0800 Runner[699:120409] 【BytedanceUnion V3.3.1.5】-【rewardedVideo】video ad creative already exists locally 2020-11-27 14:57:17.451748+0800 Runner[699:120409] 【BytedanceUnion V3.3.1.5】-【rewardedVideo】video cached successfully 2020-11-27 14:57:17.460573+0800 Runner[699:120783] 【BytedanceUnion V3.3.1.5】-【setting】[子模板缓存管理] 当前值是:1, 未达到了最大值:500 2020-11-27 14:57:17.464336+0800 Runner[699:120598] 【BytedanceUnion V3.3.1.5】-【setting】[缓存管理] 保存子模板信息并且保存子模板和rit对应的关系 2020-11-27 14:57:17.475015+0800 Runner[699:120706] 【BytedanceUnion V3.3.1.5】-【BUFoundation】【BytedanceUnion】Add request: BUExtlogRequest 2020-11-27 14:57:17.533129+0800 Runner[699:120780] 【BytedanceUnion V3.3.1.5】-【BUFoundation】Finished Request: BUExtlogRequest 2020-11-27 14:57:17.535276+0800 Runner[699:120409] 【BytedanceUnion V3.3.1.5】-【BUFoundation】Request queue size = 0 2020-11-27 14:57:17.535776+0800 Runner[699:120409] 【BytedanceUnion V3.3.1.5】-【other】logstatusCode==200

tangbincheng commented 3 years ago

工单咨询解决了,ios 展示广告必须改为到nativeExpressRewardedVideoAdDidDownLoadVideo方法下

tongyangsheng commented 3 years ago

这部分我的验证了一下 在我的工程里把 展示放在这个位置才能拉起激励视频。请问工单反馈的是新版本SDK的要求吗,或者你那边的穿山甲SDK是多少呢?在这个方法下调用不生效吗。

//激励视频渲染完成并展示
- (void)nativeExpressRewardedVideoAdViewRenderSuccess:(BUNativeExpressRewardedVideoAd *)rewardedVideoAd {
    [self.rewardedAd showAdFromRootViewController: [self rootViewController]];
}
tongyangsheng commented 3 years ago

测试在此方法下调用无法正常展示激励视频

- (void)nativeExpressRewardedVideoAdDidDownLoadVideo:(BUNativeExpressRewardedVideoAd *)rewardedVideoAd {
    [self.rewardedAd showAdFromRootViewController: [self rootViewController]];
}