FlutterAds / flutter_gromore_ads

🔥🔥🔥 Flutter 超强聚合广告插件 -- GroMore、穿山甲、优量汇、百度、快手、AdMob、SigmobAd、UnityAds、Mintegral(支持开屏、插屏、激励视频、Banner、信息流)
https://flutterads.top
MIT License
89 stars 13 forks source link

同样的代码为什么安卓的可以IOS的不行一直报40006 #14

Closed DaYang816 closed 10 months ago

DaYang816 commented 10 months ago

跑的是楼主的demo,我的环境ios是走swift的,不知道跟这个有没有关系。在楼主的demo能跑,页面相同的情况我拷贝过来就不行。 反倒是安卓的跑起来没啥问题。

DaYang816 commented 10 months ago

ios要注意一下podfile文件作者有自己写的要下的插件,文档没提到。广告就正常了 安卓会闪退,第一次成功,然后我flutter手动点重新加载项目后再去调用初始化就会闪退,我用GETX搭建的项目 日志

W/ActivityThread(32176): handleWindowVisibility: no activity for token android.os.BinderProxy@3a4f351
D/ViewContentFactory(32176): initViewContentFetcherClass
I/ContentCatcher(32176): ViewContentFetcher : ViewContentFetcher
D/ViewContentFactory(32176): createInterceptor took 0ms
D/ForceDarkHelper(32176): updateByCheckExcludeList: pkg: com.yongjiang.airobot activity: com.zero.flutter_gromore_ads.page.AdSplashActivity@68e6690
I/chatty  (32176): uid=10613(com.yongjiang.airobot) identical 6 lines
D/ForceDarkHelper(32176): updateByCheckExcludeList: pkg: com.yongjiang.airobot activity: com.zero.flutter_gromore_ads.page.AdSplashActivity@68e6690
I/TTMediationSDK(32176): CSJM_loadAD Type:3
I/TMe     (32176): load m splash 广告位 = 102584391
I/TTMediationSDK(32176): CSJMSplashLoader 构造函数创建 mAdSlotValueSet = com.bytedance.sdk.gromore.x.x.x@cd96654 mAdSlotValueSet.getCodeId() = 102584391
I/TTMediationSDK(32176): CSJMSplashLoader load
I/TMe     (32176): adn init load config v1 --------------------
I/if      (32176): canUploadInitDuration = true 当sessionId = d16dc5cc-9741-459e-9b27-e6eea6d9a831 存储的sessionId = d16dc5cc-9741-459e-9b27-e6eea6d9a831
E/TTMediationSDK(32176): TTMediationSDK_102584391_层操作......开始执行index:0   层数:0  的config配置............
E/TTMediationSDK(32176): TTMediationSDK_102584391_层操作......开始执行serverBidding层广告............hasServerBidding: true
E/TTMediationSDK(32176): TTMediationSDK_102584391_开启server bidding网络请求......:
I/AdLoadDynamicParamHandler(32176): recordSameDaySdkStartTimes start => enableDynamicPolicy:false
E/z       (32176): checkPermissinKITKATNew,permission:android.permission.ACCESS_COARSE_LOCATION
E/z       (32176): checkPermissinKITKATNew,locationOp,permission:1,android:coarse_location
E/z       (32176): checkPermissinKITKATNew,false,permission:android:coarse_location
E/z       (32176): checkPermissinKITKATNew,permission:android.permission.READ_PHONE_STATE
E/z       (32176): checkPermissinKITKATNew,locationOp,permission:0,android:read_phone_state
E/z       (32176): checkPermissinKITKATNew,permission:android.permission.ACCESS_WIFI_STATE
E/z       (32176): 权限检查出错时默认返回有权限,异常代码:java.lang.IllegalArgumentException: Unknown operation string: android:access_wifi_state
E/z       (32176): checkPermissinKITKATNew,permission:android.permission.ACCESS_COARSE_LOCATION
E/z       (32176): checkPermissinKITKATNew,locationOp,permission:1,android:coarse_location
E/z       (32176): checkPermissinKITKATNew,false,permission:android:coarse_location
E/TTMediationSDK(32176): TTMediationSDK_102584391_层操作......开始执行index:1   层数:1  的config配置............
E/TTMediationSDK(32176): TTMediationSDK_102584391_层操作......开始执行普通层广告............
I/crash_dispatcher(32176): end dispose java.lang.IllegalStateException: Reply already submitted
I/if      (32176): canUploadInitDuration = true 当sessionId = d16dc5cc-9741-459e-9b27-e6eea6d9a831 存储的sessionId = d16dc5cc-9741-459e-9b27-e6eea6d9a831
E/TTMediationSDK(32176): TTMediationSDK_102584391_层操作......开始执行index:2   层数:2  的config配置............
E/TTMediationSDK(32176): TTMediationSDK_102584391_层操作......开始执行普通层广告............
E/SdkSettingsHelper(32176): setting 尝试拉取配置...
E/SdkSettingsHelper(32176): setting resetRetryCount...
I/SdkSettingsHelper(32176): setting 缓存未过期,无需再次发起请求...
I/Process (32176): Sending signal. PID: 32176 SIG: 9
Lost connection to device.

Exited.