Git Product home page Git Product logo

flutterads / flutter_pangle_ads Goto Github PK

View Code? Open in Web Editor NEW
266.0 1.0 40.0 9.52 MB

🔥🔥🔥 Flutter 广告插件 -- 穿山甲、字节跳动、巨量引擎(支持开屏、插屏、激励视频、全屏视频、Banner、信息流)【持续更新】

Home Page: https://flutterads.top

License: MIT License

Java 42.82% Ruby 1.61% Objective-C 30.73% Dart 24.44% Shell 0.40%
flutter pangle ads flutterads ios android

flutter_pangle_ads's Introduction

📱 Flutter Pangle Ads

一款优质的穿山甲(字节跳动、巨量引擎)Flutter 广告插件

♻️ 持续更新 ♻️

🚀 核心功能

  • ✅ 开屏广告
  • ✅ 插屏广告
  • ✅ 激励视频
  • ✅ Banner
  • ✅ 信息流
  • 🦥 预缓存(预加载,极速展示) 🎁 Pro 版
  • 🏆 实时价格 eCPM(上报归因,买量更有效)🎁 Pro 版

📃 接入文档

📣 请升级到 GroMore

  • 因穿山甲官方已全面推 Gromore 融合 SDK,后续本插件也将只做小更新,推荐使用 Gromore
  • Gromore】可进行多家广告瀑布流竞价,让您拥有更高的广告收益

📌 广告系列插件(FlutterAds)

插件 描述
flutter_gromore_pro 🏆🏆🏆 帮你大幅提升广告收益,发挥出最大的用户价值
flutter_gromore_ads 字节跳动、穿山甲、GroMore 聚合 Flutter 广告开源版插件
flutter_pangle_ads 字节跳动、穿山甲 Flutter 广告插件
flutter_qq_ads 腾讯广告、广点通、优量汇 Flutter 广告插件
flutter_adspark 巨量广告/穿山甲的广告监测、增长分析、归因上报、事件管理 Flutter 版插件
flutter_adcontent 穿山甲内容输出 Flutter 版插件,支持短剧和小视频

flutter_pangle_ads's People

Contributors

byteszero avatar daixianceng avatar hhgz9527 avatar zerobytesx avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

flutter_pangle_ads's Issues

初始化失败 java.lang.NoClassDefFoundError: Failed resolution of: Lcom/bytedance/framwork/core/sdkmonitor/SDKMonitor$ICallback;

请大佬帮忙看下,我在想 是不是 https://artifact.bytedance.com/repository/pangle 这个地址失效了
flutter_pangle_ads: ^2.4.0

Flutter 2.2.3 • channel stable • https://github.com/flutter/flutter.git
Framework • revision f4abaa0735 (5 months ago) • 2021-07-01 12:46:11 -0700
Engine • revision 241c87ad80
Tools • Dart 2.13.4

I/Zeus/install( 996): Plugin synchronized begin, plugin=Plugin{pkg=com.byted.pangle, ver=0, life=1}
I/Zeus/install( 996): Plugin checkValid com.byted.pangle:4022 true
I/Zeus/install( 996): PluginInstaller watcher[install:com.byted.pangle]-start
V/Zeus/reporter( 996): eventName: install_start
V/Zeus/reporter( 996): categoryData:{
V/Zeus/reporter( 996): "status_code": "30000",
V/Zeus/reporter( 996): "plugin_package_name": "com.byted.pangle",
V/Zeus/reporter( 996): "version_code": "4022",
V/Zeus/reporter( 996): "net_type": "5",
V/Zeus/reporter( 996): "process_name": "xxxxx",
V/Zeus/reporter( 996): "plugin_api_version": "-1",
V/Zeus/reporter( 996): "zeus_sdk_version": "0.0.1-beta.53-bugfix.19-pangle"
V/Zeus/reporter( 996): }
V/Zeus/reporter( 996): metricData:{
V/Zeus/reporter( 996): "duration": "-1"
V/Zeus/reporter( 996): }
V/Zeus/reporter( 996): logExtrData:{
V/Zeus/reporter( 996): "throwable": "",
V/Zeus/reporter( 996): "timestamp": "1638368783299",
V/Zeus/reporter( 996): "message": ""
V/Zeus/reporter( 996): }
I/art ( 996): Rejecting re-init on previously-failed class java.lang.Class<com.bytedance.pangle.log.b>: java.lang.NoClassDefFoundError: Failed resolution of: Lcom/bytedance/framwork/core/sdkmonitor/SDKMonitor$ICallback;
I/art ( 996): at com.bytedance.pangle.log.a com.bytedance.pangle.log.a.a() (SourceFile:17)
I/art ( 996): at void com.bytedance.pangle.log.d.a(java.lang.String, org.json.JSONObject, org.json.JSONObject, org.json.JSONObject) (SourceFile:112)
I/art ( 996): at void com.bytedance.pangle.g$1.a(java.lang.String, org.json.JSONObject, org.json.JSONObject, org.json.JSONObject) (SourceFile:80)
I/art ( 996): at void com.bytedance.pangle.b.b.a(java.lang.String, org.json.JSONObject, org.json.JSONObject, org.json.JSONObject) (SourceFile:62)
I/art ( 996): at void com.bytedance.pangle.plugin.b.a(java.lang.String, int, java.lang.String, int, long, java.lang.String, java.lang.Throwable) (SourceFile:275)
I/art ( 996): at boolean com.bytedance.pangle.plugin.b.a(java.io.File, java.lang.String, int) (SourceFile:57)
I/art ( 996): at boolean com.bytedance.pangle.plugin.Plugin.install(java.io.File, com.bytedance.pangle.e.a.e) (SourceFile:483)
I/art ( 996): at boolean com.bytedance.pangle.plugin.a.a() (SourceFile:40)
I/art ( 996): at void com.bytedance.pangle.plugin.a.run() (SourceFile:28)
I/art ( 996): at void java.util.concurrent.ThreadPoolExecutor.runWorker(java.util.concurrent.ThreadPoolExecutor$Worker) (ThreadPoolExecutor.java:1133)
I/art ( 996): at void java.util.concurrent.ThreadPoolExecutor$Worker.run() (ThreadPoolExecutor.java:607)
I/art ( 996): at void java.lang.Thread.run() (Thread.java:761)
I/art ( 996): Caused by: java.lang.ClassNotFoundException: Didn't find class "com.bytedance.framwork.core.sdkmonitor.SDKMonitor$ICallback" on path: DexPathList[[zip file "/data/app/xxx.com.xxxx-2/base.apk"],nativeLibraryDirectories=[/data/app/xxxx.com.xxx-2/lib/x86, /data/app/xxxx.com.xxxx-2/base.apk!/lib/x86, /system/lib, /vendor/lib]]
I/art ( 996): at java.lang.Class dalvik.system.BaseDexClassLoader.findClass(java.lang.String) (BaseDexClassLoader.java:56)
I/art ( 996): at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String, boolean) (ClassLoader.java:380)
I/art ( 996): at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String) (ClassLoader.java:312)
I/art ( 996): at com.bytedance.pangle.log.a com.bytedance.pangle.log.a.a() (SourceFile:17)
I/art ( 996): at void com.bytedance.pangle.log.d.a(java.lang.String, org.json.JSONObject, org.json.JSONObject, org.json.JSONObject) (SourceFile:112)
I/art ( 996): at void com.bytedance.pangle.g$1.a(java.lang.String, org.json.JSONObject, org.json.JSONObject, org.json.JSONObject) (SourceFile:80)
I/art ( 996): at void com.bytedance.pangle.b.b.a(java.lang.String, org.json.JSONObject, org.json.JSONObject, org.json.JSONObject) (SourceFile:62)
I/art ( 996): at void com.bytedance.pangle.plugin.b.a(java.lang.String, int, java.lang.String, int, long, java.lang.String, java.lang.Throwable) (SourceFile:275)
I/art ( 996): at boolean com.bytedance.pangle.plugin.b.a(java.io.File, java.lang.String, int) (SourceFile:57)
I/art ( 996): at boolean com.bytedance.pangle.plugin.Plugin.install(java.io.File, com.bytedance.pangle.e.a.e) (SourceFile:483)
I/art ( 996): at boolean com.bytedance.pangle.plugin.a.a() (SourceFile:40)
I/art ( 996): at void com.bytedance.pangle.plugin.a.run() (SourceFile:28)
I/art ( 996): at void java.util.concurrent.ThreadPoolExecutor.runWorker(java.util.concurrent.ThreadPoolExecutor$Worker) (ThreadPoolExecutor.java:1133)
I/art ( 996): at void java.util.concurrent.ThreadPoolExecutor$Worker.run() (ThreadPoolExecutor.java:607)
I/art ( 996): at void java.lang.Thread.run() (Thread.java:761)
I/art ( 996):
I/Zeus/DefaultReporterImpl( 996): skip default report
I/Zeus/install( 996): PluginInstaller watcher[install:com.byted.pangle]-cleanDir cost=11
I/Zeus/install( 996): PluginInstaller watcher[install:com.byted.pangle]-checkSignature cost=48
I/Zeus/so ( 996): NativeLibHelper getAllSoZipEntries, zipFile=/data/user/0/xxx.com.xxxx/app_tt_pangle_bykv_file/pangle_com.byted.pangle/next/a236f56217cf2add0df7e0b9c87f6c60-4022-4022.apk, soEntries={arm64-v8a=[lib/arm64-v8a/libPglmetasec_ml.so, lib/arm64-v8a/libttmplayer_lite.so, lib/arm64-v8a/libavmdl_lite.so, lib/arm64-v8a/libtobEmbedEncrypt.so], armeabi-v7a=[lib/armeabi-v7a/libttmplayer_lite.so, lib/armeabi-v7a/libPglmetasec_ml.so, lib/armeabi-v7a/libavmdl_lite.so, lib/armeabi-v7a/libtobEmbedEncrypt.so]}
E/Zeus/so ( 996): NativeLibHelper isPluginApkMatchHostAbi [false], /data/user/0/xxxx.com.xxx/app_tt_pangle_bykv_file/pangle_com.byted.pangle/next/a236f56217cf2add0df7e0b9c87f6c60-4022-4022.apk
V/Zeus/reporter( 996): eventName: zeus_error
V/Zeus/reporter( 996): categoryData:{
V/Zeus/reporter( 996): "log_tag": "Zeus/so",
V/Zeus/reporter( 996): "net_type": "5",
V/Zeus/reporter( 996): "process_name": "xxx.com.xxx",
V/Zeus/reporter( 996): "plugin_api_version": "-1",
V/Zeus/reporter( 996): "zeus_sdk_version": "0.0.1-beta.53-bugfix.19-pangle"
V/Zeus/reporter( 996): }
V/Zeus/reporter( 996): metricData:{}
V/Zeus/reporter( 996): logExtrData:{
V/Zeus/reporter( 996): "message": "NativeLibHelper isPluginApkMatchHostAbi [false], /data/user/0/xxx.com.xxx/app_tt_pangle_bykv_file/pangle_com.byted.pangle/next/a236f56217cf2add0df7e0b9c87f6c60-4022-4022.apk",
V/Zeus/reporter( 996): "throwable": ""
V/Zeus/reporter( 996): }
I/Zeus/DefaultReporterImpl( 996): skip default report
V/Zeus/reporter( 996): eventName: install_finish
V/Zeus/reporter( 996): categoryData:{
V/Zeus/reporter( 996): "status_code": "32007",
V/Zeus/reporter( 996): "plugin_package_name": "com.byted.pangle",
V/Zeus/reporter( 996): "version_code": "4022",
V/Zeus/reporter( 996): "net_type": "5",
V/Zeus/reporter( 996): "process_name": "xxx.com.xxx",
V/Zeus/reporter( 996): "plugin_api_version": "-1",
V/Zeus/reporter( 996): "zeus_sdk_version": "0.0.1-beta.53-bugfix.19-pangle"
V/Zeus/reporter( 996): }
V/Zeus/reporter( 996): metricData:{
V/Zeus/reporter( 996): "duration": "-1"
V/Zeus/reporter( 996): }
V/Zeus/reporter( 996): logExtrData:{
V/Zeus/reporter( 996): "throwable": "com.bytedance.pangle.plugin.b$a: 插件包包含so不符合宿主ABI类型\n\tat com.bytedance.pangle.plugin.b.a(SourceFile:2149)\n\tat com.bytedance.pangle.plugin.Plugin.install(SourceFile:483)\n\tat com.bytedance.pangle.plugin.a.a(SourceFile:40)\n\tat com.bytedance.pangle.plugin.a.run(SourceFile:28)\n\tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)\n\tat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)\n\tat java.lang.Thread.run(Thread.java:761)\n",
V/Zeus/reporter( 996): "timestamp": "1638368783391",
V/Zeus/reporter( 996): "message": ""
V/Zeus/reporter( 996): }
I/Zeus/DefaultReporterImpl( 996): skip default report
E/Zeus/install( 996): PluginInstaller com.byted.pangle install failed.
E/Zeus/install( 996): com.bytedance.pangle.plugin.b$a: 插件包包含so不符合宿主ABI类型
E/Zeus/install( 996): at com.bytedance.pangle.plugin.b.a(SourceFile:2153)
E/Zeus/install( 996): at com.bytedance.pangle.plugin.Plugin.install(SourceFile:483)
E/Zeus/install( 996): at com.bytedance.pangle.plugin.a.a(SourceFile:40)
E/Zeus/install( 996): at com.bytedance.pangle.plugin.a.run(SourceFile:28)
E/Zeus/install( 996): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)
E/Zeus/install( 996): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)
E/Zeus/install( 996): at java.lang.Thread.run(Thread.java:761)
E/Zeus/install( 996): Caused by: com.bytedance.pangle.plugin.b$a: 插件包包含so不符合宿主ABI类型
E/Zeus/install( 996): at com.bytedance.pangle.plugin.b.a(SourceFile:2149)
E/Zeus/install( 996): ... 6 more
V/Zeus/reporter( 996): eventName: zeus_error
V/Zeus/reporter( 996): categoryData:{
V/Zeus/reporter( 996): "log_tag": "Zeus/install",
V/Zeus/reporter( 996): "net_type": "5",
V/Zeus/reporter( 996): "process_name": "xxx.com.xxx",
V/Zeus/reporter( 996): "plugin_api_version": "-1",
V/Zeus/reporter( 996): "zeus_sdk_version": "0.0.1-beta.53-bugfix.19-pangle"
V/Zeus/reporter( 996): }
V/Zeus/reporter( 996): metricData:{}
V/Zeus/reporter( 996): logExtrData:{
V/Zeus/reporter( 996): "message": "PluginInstaller com.byted.pangle install failed.",
V/Zeus/reporter( 996): "throwable": "com.bytedance.pangle.plugin.b$a: 插件包包含so不符合宿主ABI类型\n\tat com.bytedance.pangle.plugin.b.a(SourceFile:2153)\n\tat com.bytedance.pangle.plugin.Plugin.install(SourceFile:483)\n\tat com.bytedance.pangle.plugin.a.a(SourceFile:40)\n\tat com.bytedance.pangle.plugin.a.run(SourceFile:28)\n\tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)\n\tat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)\n\tat java.lang.Thread.run(Thread.java:761)\nCaused by: com.bytedance.pangle.plugin.b$a: 插件包包含so不符合宿主ABI类型\n\tat com.bytedance.pangle.plugin.b.a(SourceFile:2149)\n\t... 6 more\n"
V/Zeus/reporter( 996): }
I/Zeus/DefaultReporterImpl( 996): skip default report
I/Zeus/install( 996): Plugin INSTALL_FAILEDcom.byted.pangle:4022
W/Zeus/install( 996): Plugin delete file by failedCount > 0 com.byted.pangle:4022
D/TTPluginManager( 996): Plugin install result: [com.byted.pangle],false
W/Zeus/load( 996): PluginLoader loadPlugin, UN_INSTALLED, com.byted.pangle
E/TTPluginManager( 996): Load plugin failed
E/PluginDelegate( 996): fail: code = 4201 msg = No initializer
W/PluginDefaultAdManager( 996): Not ready, no manager
W/PluginDefaultAdManager( 996): Not ready, no manager
W/PluginDefaultAdManager( 996): Not ready, no manager
W/PluginDefaultAdManager( 996): Not ready, no manager
W/PluginDefaultAdManager( 996): Not ready, no manager
I/flutter ( 996): false

banner一直报错40006

请问下,banner的初始化是在哪里完成的?

我看其他的广告位通过PangleAds(appId)可以对应的appId,直接引入posId就能正常展示。但是banner直接传入的是posId,这个版位的appId是哪里初始化的呢

我在想是不是报错和初始化banner有关系,因为我用了事例的appId和posId是没有问题的。

请问如何支持深色及浅色主题?

目前遇到的问题:

有Logo的开屏广告页面,如何能够支持深色或浅色主题(下方Logo区域的背景色会不同)?又如何根据不同的主题自动选择不同的Logo(色彩的明亮度可能不同)呢?

想请教下应该怎么支持呢?

Remove not allowed permissions

Hello, I was trying to use this lib on flutter, and when I released my appbundle into the Play Console I've received two errors about the denied permissions REQUEST_INSTALL_PACKAGES and QUERY_ALL_PACKAGES. And I can't publish the app without removing this permissions.

https://github.com/FlutterAds/flutter_pangle_ads/blob/develop/android/src/main/AndroidManifest.xml#L18

They cannot be on the libs anymore, due to Google's policy

Reference: https://support.google.com/googleplay/android-developer/answer/12085295

AdFeedWidget在列表中显示错乱

PageView包括AdFeedWidget,上下滑动,滑动到广告页,AdFeedWidget显示,但是此时广告是浮出PageView组件展示数据的,没有内嵌进去。

从后台切换会前台,调用开屏广告会有空白.

前提已经配置启动页
app冷启动时,显示启动页,展示广告,没有白屏;
但是从app从前台切换回后台, 再从后台切换回前台时调用开屏广告api,这时候会有一个白屏. 等广告返回的时候,页面展示广告了,

作者可以提供一个展示启动页的api,这个问题就可以解决

iOS 16 beta 5( Xcode 14 beta 5 编译), 打开激励视频的时候会闪退

用 Xcode 14 beta 5 编译, 打开激励视频的时候会闪退

编译环境:Xcode 14 beta 5 (Macbook pro m1)
运行环境: iOS 16 beta 5 (iPhone X)

Podfile.lock

  - flutter_pangle_ads (2.5.0):
    - Ads-CN
    - Flutter
  - Ads-CN (4.6.0.7):
    - Ads-CN/BUAdSDK (= 4.6.0.7)
  - Ads-CN/BUAdSDK (4.6.0.7):
    - Ads-CN/Domestic
  - Ads-CN/BUFoundation (4.6.0.7):
    - BURelyFoundation (= 0.0.1.58)
  - Ads-CN/CSJAdSDK (4.6.0.7):
    - Ads-CN/BUFoundation
  - Ads-CN/Domestic (4.6.0.7):
    - Ads-CN/BUFoundation
    - Ads-CN/CSJAdSDK

logs:

[general] *** -[NSKeyedUnarchiver validateAllowedClass:forKey:] allowed unarchiving safe plist type ''NSString' (0x22478ea90) [/System/Library/Frameworks/Foundation.framework]' for key 'NS.keys', even though it was not explicitly included in the client allowed classes set: '{(
    "'NSDictionary' (0x2247872b8) [/System/Library/Frameworks/CoreFoundation.framework]"
)}'. This will be disallowed in the future.
* thread #50, name = 'NetworkCacheThread-0-tid:90375', stop reason = EXC_GUARD (code=2305843022098599245, subcode=0x0)
    frame #0: 0x0000000104a50148 Runner`___lldb_unnamed_symbol356691 + 8
Runner`___lldb_unnamed_symbol356691:
->  0x104a50148 <+8>:  ret
    0x104a5014c <+12>: brk    #0x1
Runner`___lldb_unnamed_symbol356692:
    0x104a50150 <+0>:  stp    x28, x27, [sp, #-0x60]!
    0x104a50154 <+4>:  stp    x26, x25, [sp, #0x10]
Target 0: (Runner) stopped.
Lost connection to device.

信息流代码位使用自定义模板报错

穿山甲后台代码为模板为自定义模板,调用信息流接口loadFeedAd之后再使用AdFeedWidget:
PlatformException(40029, 两种情况:1. SDK版本低;使用的sdk版本过低,还不支持个性化模板渲染功能。解决办法:升级到平台最新版本sdk。2. 接口使用错误;创建的代码位类型是模板渲染/非模板渲染,但是请求方法是非模板渲染/模板渲染的方法。解决办法:使用模板渲染的方法去请求模板渲染类型或者使用非模板渲染的方法去请求非模板类型的广告,如果代码位在平台上是模板渲染,可以参考文档中个性化模板XX广告的部分,demo中参考带有express部分的代码。如果代码位不是模板渲染,则不要调用含有express字样的接口。参考文档:https://partner.oceanengine.com/doc?id=5dd0fe716b181e00112e3eb8, 两种情况:1. SDK版本低;使用的sdk版本过低,还不支持个性化模板渲染功能。解决办法:升级到平台最新版本sdk。2. 接口使用错误;创建的代码位类型是模板渲染/非模板渲染,但...

Error add pangle

I/Zeus/install_pangle(22695): Plugin INSTALL_FAILEDcom.byted.pangle:5102
W/Zeus/install_pangle(22695): Plugin delete file by failedCount > 0 com.byted.pangle:5102
D/TTPluginManager(22695): Install dl plugin com.byted.pangle failed, need notify: false
W/Zeus/load_pangle(22695): PluginLoader loadPlugin, UN_INSTALLED, com.byted.pangle

信息流广告出现频繁弹出的问题

用的是最新版本2.5.0

附件为用户提供的视频。

信息流广告并不在这个页面上,而是之前的页面,是我处理的哪里不对导致的吗?

离开之前的信息流页面要做什么特别的处理吗?

还有文档上提到要清除adsid,什么时候清除更好呢?

麻烦解答一下~

RPReplay_Final1657005811.mp4

集成后报 error: unexpected element <queries> found in <manifest> 错误

这个是 gradle 版本的问题,需要更新到如下及以上版本

// build.gradle
dependencies {
      classpath 'com.android.tools.build:gradle:3.5.4'
  }

image

Android Gradle 插件需要了解新的清单元素,尤其是清单合并过程。如果插件在清单合并中看到它无法识别的元素,它会感到困惑,抛出问题中的构建错误。

在这种情况下,Android 11作为清单元素引入,而旧版本的 Android Gradle 插件不知道该元素。

清单合并发生这种情况的事实意味着简单地升级依赖项可能会导致此错误。例如,如果您升级到最新版本的com.awesome:awesome-library,并且它的清单中包含一个元素,即使您的代码没有任何其他更改,您也可能会因构建中的上述错误而崩溃。

谷歌发布了一系列 Android Gradle 插件的补丁版本来解决这个问题:

开屏广告退出动画可以自定义吗?

在接入开屏广告后,退出动画为向下滑出屏幕(iOS),这个动画在开屏广告上显得不太友好(滑出过程空白部分为白屏),是否能自定义或者把广告取消呢?

提示成功,但并未展示,后续又有提示广告物料预加载失败

  Future<void> showSplashAd([String? logo]) async {
    try {
      bool result = await FlutterPangleAds.showSplashAd(
        '888015697',
        logo: logo,
        timeout: 3.5,
      );
      print("展示开屏广告${result ? '成功' : '失败'}");
    } on PlatformException catch (e) {
      print("展示开屏广告失败 code:${e.code} msg:${e.message} details:${e.details}");
    }
  }

D/PluginDelegate(13814): MethodChannel onMethodCall method:showSplashAd arguments:{posId=888015697, logo=null, timeout=3.5}
I/flutter (13814): 展示开屏广告成功
D/libMEOW (13814): meow new tls: 0xb4000076bd6a3ac0
D/libMEOW (13814): applied 1 plugins for [com.example.pangle_ad_example]:
D/libMEOW (13814): plugin 1: [libMEOW_gift.so]:
D/libMEOW (13814): meow delete tls: 0xb4000076bd6a3ac0
D/ViewContentFactory(13814): initViewContentFetcherClass
I/ContentCatcher(13814): ViewContentFetcher : ViewContentFetcher
D/ViewContentFactory(13814): createInterceptor took 0ms
D/IS_CTS_MODE(13814): false
D/MULTI_WINDOW_SWITCH_ENABLED(13814): false
I/ContentCatcher(13814): Interceptor : Catcher list invalid for [email protected]_pangle_ads.page.AdSplashActivity@75604654
I/ContentCatcher(13814): Interceptor : Get featureInfo from config image_pick_mode
I/ContentCatcher(13814): Interceptor : Get featureInfo from config pick_mode
D/DecorView: getWindowModeFromSystem windowmode is 1
D/Splash_FullLink(13814): loadAd Type 2
E/NetApiImpl(13814):
V/DelegateRunnable(13814): run: pool = log waitTime = 0 taskCost = 0 name= upload_dpl
V/AdLocationUtils(13814): Location cache time = 1800000
I/GlobalInfo(13814): sdk_ad_location
I/AdLocationUtils(13814): Use the last valid location
V/GlobalInfo(13814): use cache key= sdk_ip_address value = 305d6ea8626b6257289c39b0784fcfa64c56e6d1e444638a2GUhhztCFyrJKPtP0Er7QeA==
V/GlobalInfo(13814):
V/GlobalInfo(13814): use cache key= sdk_ip_v6 value = 3fac74943ee5fcdb7e767e95ec3cb32c0bbf271ce90422a2bfN6hsUqR2v8rY7w70Xrjb1Sxo6ucCuxPSQskS0ZaEHpsZ2U58i5l940gj8k34WJv
V/GlobalInfo(13814):
V/DelegateRunnable(13814): run: pool = log waitTime = 0 taskCost = 3 name= uploadLogEvent
V/DelegateRunnable(13814): run: pool = io waitTime = 1 taskCost = 0 name= getSecdid
V/GlobalInfo(13814): use cache key= sdk_ip_address value = 305d6ea8626b6257289c39b0784fcfa64c56e6d1e444638a2GUhhztCFyrJKPtP0Er7QeA==
V/GlobalInfo(13814):
V/GlobalInfo(13814): use cache key= sdk_ip_v6 value = 3fac74943ee5fcdb7e767e95ec3cb32c0bbf271ce90422a2bfN6hsUqR2v8rY7w70Xrjb1Sxo6ucCuxPSQskS0ZaEHpsZ2U58i5l940gj8k34WJv
V/GlobalInfo(13814):
I/GlobalInfo(13814): sdk_clien_ip_address
V/GlobalInfo(13814): use cache key= sdk_ip_address value = 305d6ea8626b6257289c39b0784fcfa64c56e6d1e444638a2GUhhztCFyrJKPtP0Er7QeA==
V/GlobalInfo(13814):
V/GlobalInfo(13814): use cache key= sdk_ip_v6 value = 3fac74943ee5fcdb7e767e95ec3cb32c0bbf271ce90422a2bfN6hsUqR2v8rY7w70Xrjb1Sxo6ucCuxPSQskS0ZaEHpsZ2U58i5l940gj8k34WJv
V/GlobalInfo(13814):
V/GlobalInfo(13814): use cache key= sdk_ip_address value = 305d6ea8626b6257289c39b0784fcfa64c56e6d1e444638a2GUhhztCFyrJKPtP0Er7QeA==
V/GlobalInfo(13814):
V/GlobalInfo(13814): use cache key= sdk_ip_v6 value = 3fac74943ee5fcdb7e767e95ec3cb32c0bbf271ce90422a2bfN6hsUqR2v8rY7w70Xrjb1Sxo6ucCuxPSQskS0ZaEHpsZ2U58i5l940gj8k34WJv
V/GlobalInfo(13814):
D/TNCManager(13814): handleHostMapping, nomatch: api-access.pangolin-sdk-toutiao.com
D/ViewRootImplAdSplashActivity: hardware acceleration = true, sRendererEnabled = true, forceHwAccelerated = false
D/DecorView: getWindowModeFromSystem windowmode is 1
D/DecorView: updateDecorCaptionStatus displayWindowDecor is false
V/GlobalInfo(13814): use cache key= sdk_ip_address value = 305d6ea8626b6257289c39b0784fcfa64c56e6d1e444638a2GUhhztCFyrJKPtP0Er7QeA==
V/GlobalInfo(13814):
V/GlobalInfo(13814): use cache key= sdk_ip_v6 value = 3fac74943ee5fcdb7e767e95ec3cb32c0bbf271ce90422a2bfN6hsUqR2v8rY7w70Xrjb1Sxo6ucCuxPSQskS0ZaEHpsZ2U58i5l940gj8k34WJv
V/GlobalInfo(13814):
D/TNCManager(13814): handleHostMapping, nomatch: api-access.pangolin-sdk-toutiao.com
V/DelegateRunnable(13814): run: pool = log waitTime = 0 taskCost = 3 name= uploadLogEvent
E/ignored (13814): java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.Object android.content.Context.getSystemService(java.lang.String)' on a null object reference
E/ignored (13814): java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.Object android.content.Context.getSystemService(java.lang.String)' on a null object reference
V/DelegateRunnable(13814): run: pool = io waitTime = 0 taskCost = 61 name= unknown
E/NetApiImpl(13814):
V/AdLocationUtils(13814): Location cache time = 1800000
I/GlobalInfo(13814): sdk_ad_location
I/AdLocationUtils(13814): Use the last valid location
V/DelegateRunnable(13814): run: pool = io waitTime = 0 taskCost = 0 name= getSecdid
V/GlobalInfo(13814): use cache key= sdk_ip_address value = 305d6ea8626b6257289c39b0784fcfa64c56e6d1e444638a2GUhhztCFyrJKPtP0Er7QeA==
V/GlobalInfo(13814):
V/GlobalInfo(13814): use cache key= sdk_ip_v6 value = 3fac74943ee5fcdb7e767e95ec3cb32c0bbf271ce90422a2bfN6hsUqR2v8rY7w70Xrjb1Sxo6ucCuxPSQskS0ZaEHpsZ2U58i5l940gj8k34WJv
V/GlobalInfo(13814):
I/GlobalInfo(13814): sdk_clien_ip_address
V/GlobalInfo(13814): use cache key= sdk_ip_address value = 305d6ea8626b6257289c39b0784fcfa64c56e6d1e444638a2GUhhztCFyrJKPtP0Er7QeA==
V/GlobalInfo(13814):
V/GlobalInfo(13814): use cache key= sdk_ip_v6 value = 3fac74943ee5fcdb7e767e95ec3cb32c0bbf271ce90422a2bfN6hsUqR2v8rY7w70Xrjb1Sxo6ucCuxPSQskS0ZaEHpsZ2U58i5l940gj8k34WJv
V/GlobalInfo(13814):
V/GlobalInfo(13814): use cache key= sdk_ip_address value = 305d6ea8626b6257289c39b0784fcfa64c56e6d1e444638a2GUhhztCFyrJKPtP0Er7QeA==
V/GlobalInfo(13814):
V/GlobalInfo(13814): use cache key= sdk_ip_v6 value = 3fac74943ee5fcdb7e767e95ec3cb32c0bbf271ce90422a2bfN6hsUqR2v8rY7w70Xrjb1Sxo6ucCuxPSQskS0ZaEHpsZ2U58i5l940gj8k34WJv
V/GlobalInfo(13814):
D/TNCManager(13814): handleHostMapping, nomatch: api-access.pangolin-sdk-toutiao.com
V/GlobalInfo(13814): use cache key= sdk_ip_address value = 305d6ea8626b6257289c39b0784fcfa64c56e6d1e444638a2GUhhztCFyrJKPtP0Er7QeA==
V/GlobalInfo(13814):
V/GlobalInfo(13814): use cache key= sdk_ip_v6 value = 3fac74943ee5fcdb7e767e95ec3cb32c0bbf271ce90422a2bfN6hsUqR2v8rY7w70Xrjb1Sxo6ucCuxPSQskS0ZaEHpsZ2U58i5l940gj8k34WJv
V/GlobalInfo(13814):
V/DelegateRunnable(13814): run: pool = log waitTime = 0 taskCost = 0 name= uploadLogEvent
V/GlobalInfo(13814): use cache key= sdk_ip_address value = 305d6ea8626b6257289c39b0784fcfa64c56e6d1e444638a2GUhhztCFyrJKPtP0Er7QeA==
V/GlobalInfo(13814):
V/GlobalInfo(13814): use cache key= sdk_ip_v6 value = 3fac74943ee5fcdb7e767e95ec3cb32c0bbf271ce90422a2bfN6hsUqR2v8rY7w70Xrjb1Sxo6ucCuxPSQskS0ZaEHpsZ2U58i5l940gj8k34WJv
V/GlobalInfo(13814):
W/System.err(13814): java.lang.SecurityException: Permission denial
W/System.err(13814): at android.os.Parcel.createExceptionOrNull(Parcel.java:2456)
W/System.err(13814): at android.os.Parcel.createException(Parcel.java:2440)
W/System.err(13814): at android.os.Parcel.readException(Parcel.java:2423)
W/System.err(13814): at android.os.Parcel.readException(Parcel.java:2365)
W/System.err(13814): at com.xiaomi.mirror.IMirrorAppService$Stub$Proxy.isWorking(IMirrorAppService.java:187)
W/System.err(13814): at com.xiaomi.mirror.MirrorManager.isWorking(MirrorManager.java:259)
W/System.err(13814): at com.bytedance.sdk.component.panglarmor.SoftDecTool.b(Native Method)
W/System.err(13814): at com.bytedance.dutexplorer.tmapcloak.obj_bytdance_call(Native Method)
W/System.err(13814): at com.bytedance.sdk.component.panglarmor.SoftDecTool.a(Unknown Source:15)
W/System.err(13814): at com.bytedance.sdk.component.panglarmor.SoftDecTool$2.run(Unknown Source:170)
W/System.err(13814): at android.os.Handler.handleCallback(Handler.java:938)
W/System.err(13814): at android.os.Handler.dispatchMessage(Handler.java:99)
W/System.err(13814): at android.os.Looper.loopOnce(Looper.java:210)
W/System.err(13814): at android.os.Looper.loop(Looper.java:299)
W/System.err(13814): at android.os.HandlerThread.run(HandlerThread.java:67)
V/DelegateRunnable(13814): run: pool = log waitTime = 0 taskCost = 3 name= uploadLogEvent
D/TNCManager(13814): handleHostMapping, nomatch: api-access.pangolin-sdk-toutiao.com
E/ignored (13814): java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.Object android.content.Context.getSystemService(java.lang.String)' on a null object reference
E/ignored (13814): java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.Object android.content.Context.getSystemService(java.lang.String)' on a null object reference
D/splashLoad(13814): 广告物料预加载失败....reason: 0 message: 广告位ID不合法40006
D/SplashAdCacheManager(13814): reason: 0 message: 广告位ID不合法40006
E/SplashAdCacheManager(13814): SplashAdCacheManager 已经加载过了 adSlot.getCodeId() 888015697
E/SplashAdCacheManager(13814): SplashAdCacheManager 是否需要加载其他rit开屏广告
E/SplashAdCacheManager(13814): mloadSplashParaHashMap == null || mloadSplashParaHashMap.size() == 0
V/GlobalInfo(13814): use cache key= sdk_ip_address value = 305d6ea8626b6257289c39b0784fcfa64c56e6d1e444638a2GUhhztCFyrJKPtP0Er7QeA==
V/GlobalInfo(13814):
V/GlobalInfo(13814): use cache key= sdk_ip_v6 value = 3fac74943ee5fcdb7e767e95ec3cb32c0bbf271ce90422a2bfN6hsUqR2v8rY7w70Xrjb1Sxo6ucCuxPSQskS0ZaEHpsZ2U58i5l940gj8k34WJv
V/GlobalInfo(13814):
V/DelegateRunnable(13814): run: pool = log waitTime = 1 taskCost = 1 name= uploadLogEvent
V/DelegateRunnable(13814): run: pool = io waitTime = 0 taskCost = 50 name= unknown
D/DecorView: onWindowFocusChanged hasWindowFocus false
D/DecorView: onWindowFocusChanged hasWindowFocus true
D/View (13814): [Warning] assignParent to null: this = DecorView@4c8076a[AdSplashActivity]

Property 'splashButtonType' not found on object of type 'BUAdSlot *'

image

Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 2.2.3, on macOS 12.2 21D49 darwin-arm, locale
zh-Hans-CN)
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
[✓] Xcode - develop for iOS and macOS
[✓] Chrome - develop for the web
[!] Android Studio
✗ Unable to find bundled Java version.
[✓] Android Studio (version 4.2)
[✓] Android Studio (version 4.2)
[✓] IntelliJ IDEA Ultimate Edition (version 2021.2.1)
[✓] VS Code (version 1.64.2)
[✓] Connected device (2 available)

! Doctor found issues in 1 category.

集成的版本 :flutter_pangle_ads: ^2.4.0 # Null Safety

xcode版本 : Version 13.2.1 (13C100)

AdBanner error code:40029,怎么配置一下可以解决吗

AdBannerView(10587): onError code:40029 msg:reason: 0 message: 两种情况:1. SDK版本低;使用的sdk版本过低,还不支持个性化模板渲染功能。解决办法:升级到平台最新版本sdk。2. 接口使用错误;创建的代码位类型是模板渲染/非模板渲染,但是请求方法是非模板渲染/模板渲染的方法。解决办法:使用模板渲染的方法去请求模板渲染类型或者使用非模板渲染的方法去请求非模板类型的广告,如果代码位在平台上是模板渲染,可以参考文档中个性化模板XX广告的部分,demo中参考带有express部分的代码。如果代码位不是模板渲染,则不要调用含有express字样的接口。参考文档:https://partner.oceanengine.com/doc?id=5dd0fe716b181e00112e3eb8

Banner广告申请失败

企业微信截图_16697967893832
您好,请问您对接的是模板渲染banner么,现在穿山甲只支持新增模板渲染banner

广告事件监听 对不上

情况是这样的:播放 激励视频 使用 event is AdRewardEvent 结果是:进不去这个事件,而且我自己根据 adId 判断是否 激励视频(AdRewardEvent )转换的 AdRewardEvent adRewardEvent=event; 发现AdRewardEvent 中的参数 全部都为空

建议监听分开实现 统一复杂性太高,不方便维护

java.lang.UnsatisfiedLinkError: dlopen failed: library "libpangleflipped.so" not found

您好,在使用贵插件过程中,Android端遇到这个问题,导致开屏广告没有显示,IOS端可以完美运行

请问,我应该怎么才能解决呢?非常感谢

Syncing files to device sdk gphone x86...
D/PluginDelegate( 7940): MethodChannel onMethodCall method:initAd arguments:{useTextureView=false, supportMultiProcess=false, appId=5265015, directDownloadNetworkType=[1, 4], allowShowNotify=true}
I/Zeus/init( 7940): ZeusManager init, context = android.app.Application@46a381a, hParam = ZeusParam{mEnable=true, mDebug=true, mFastDex2Oat=false, mInstallThreads=4, mCheckMatchHostAbi=true}
W/TTPluginManager( 7940): Unexpected error for init zeus.
W/TTPluginManager( 7940): java.lang.UnsatisfiedLinkError: dlopen failed: library "libpangleflipped.so" not found
W/TTPluginManager( 7940): 	at java.lang.Runtime.loadLibrary0(Runtime.java:1087)
W/TTPluginManager( 7940): 	at java.lang.Runtime.loadLibrary0(Runtime.java:1008)
W/TTPluginManager( 7940): 	at java.lang.System.loadLibrary(System.java:1664)
W/TTPluginManager( 7940): 	at com.bytedance.pangle.flipped.FlippedV2Impl.<clinit>(SourceFile:22)
W/TTPluginManager( 7940): 	at com.bytedance.pangle.b.a(SourceFile:1026)
W/TTPluginManager( 7940): 	at com.bytedance.pangle.g.a(SourceFile:85)
W/TTPluginManager( 7940): 	at com.bytedance.pangle.Zeus.init(SourceFile:81)
W/TTPluginManager( 7940): 	at com.bytedance.sdk.openadsdk.api.plugin.f.c(TTPluginManager.java:165)
W/TTPluginManager( 7940): 	at com.bytedance.sdk.openadsdk.api.plugin.f.<init>(TTPluginManager.java:83)
W/TTPluginManager( 7940): 	at com.bytedance.sdk.openadsdk.api.plugin.f.a(TTPluginManager.java:90)
W/TTPluginManager( 7940): 	at com.bytedance.sdk.openadsdk.api.plugin.g.init(TTPluginSdkInitializer.java:50)
W/TTPluginManager( 7940): 	at com.bytedance.sdk.openadsdk.TTAdSdk.init(TTAdSdk.java:59)
W/TTPluginManager( 7940): 	at com.zero.flutter_pangle_ads.PluginDelegate.initAd(PluginDelegate.java:189)
W/TTPluginManager( 7940): 	at com.zero.flutter_pangle_ads.PluginDelegate.onMethodCall(PluginDelegate.java:85)
W/TTPluginManager( 7940): 	at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:262)
W/TTPluginManager( 7940): 	at io.flutter.embedding.engine.dart.DartMessenger.invokeHandler(DartMessenger.java:178)
W/TTPluginManager( 7940): 	at io.flutter.embedding.engine.dart.DartMessenger.lambda$handleMessageFromDart$0$DartMessenger(DartMessenger.java:206)
W/TTPluginManager( 7940): 	at io.flutter.embedding.engine.dart.-$$Lambda$DartMessenger$6ZD1MYkhaLxyPjtoFDxe45u43DI.run(Unknown Source:12)
W/TTPluginManager( 7940): 	at android.os.Handler.handleCallback(Handler.java:938)
W/TTPluginManager( 7940): 	at android.os.Handler.dispatchMessage(Handler.java:99)
W/TTPluginManager( 7940): 	at android.os.Looper.loop(Looper.java:223)
W/TTPluginManager( 7940): 	at android.app.ActivityThread.main(ActivityThread.java:7656)
W/TTPluginManager( 7940): 	at java.lang.reflect.Method.invoke(Native Method)
W/TTPluginManager( 7940): 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592)
W/TTPluginManager( 7940): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:947)
D/PluginDelegate( 7940): MethodChannel onMethodCall method:requestPermissionIfNecessary arguments:null
W/PluginDefaultAdManager( 7940): Not ready, no manager
D/TTPluginManager( 7940): Create initializer
V/Zeus/init( 7940): PluginManager parsePluginsJson
I/Zeus/init( 7940): PluginManagerparsePluginsJson. find com.byted.pangle
I/Zeus/init( 7940): PluginManager parsePluginsJson success
W/le.legulegu_ap( 7940): Accessing hidden field Landroid/content/pm/ApplicationInfo;->primaryCpuAbi:Ljava/lang/String; (greylist, reflection, allowed)
W/Zeus/so ( 7940): NativeLibHelper inferHostAbiAuto, primaryCpuAbi=x86
W/Zeus/so ( 7940): NativeLibHelper inferHostAbiAuto, processMode=32
W/Zeus/so ( 7940): NativeLibHelper inferHostAbiAuto2, sHostAbi=x86
I/Zeus/init( 7940): ZeusSpUtils isHostAbiUpdate HOST_ABI=x86, x86, result=false
I/Zeus/init( 7940): Plugin getInstalledMaxVersion, pkg=com.byted.pangle, maxVer=-1
I/Zeus/init( 7940): ZeusSpUtils getPluginApiVersion pluginPKg = com.byted.pangle, pluginApiVersion = 4022
I/Zeus/init( 7940): Plugin checkVersionValid, pkg=com.byted.pangle, ver=0, valid=false
I/Zeus/init( 7940): Plugin initPlugins result=Plugin{pkg=com.byted.pangle, ver=0, life=1}
I/Zeus/init( 7940): ZeusSpUtils setHostAbiUpdated HOST_ABI=x86 --> x86
I/Zeus/init( 7940): ZeusSpUtils getPluginApiVersion pluginPKg = com.byted.pangle, pluginApiVersion = 4022
I/Zeus/init( 7940): ZeusSpUtils setPluginApiVersion 4022 --> 4022
W/le.legulegu_ap( 7940): Accessing hidden method Ldalvik/system/CloseGuard;->get()Ldalvik/system/CloseGuard; (greylist,core-platform-api, reflection, allowed)
W/le.legulegu_ap( 7940): Accessing hidden method Ldalvik/system/CloseGuard;->open(Ljava/lang/String;)V (greylist,core-platform-api, reflection, allowed)
W/le.legulegu_ap( 7940): Accessing hidden method Ldalvik/system/CloseGuard;->warnIfOpen()V (greylist,core-platform-api, reflection, allowed)
W/le.legulegu_ap( 7940): Accessing hidden method Landroid/media/AudioManager;->getOutputLatency(I)I (greylist, reflection, allowed)
W/cr_media( 7940): Requires BLUETOOTH permission
D/HostConnection( 7940): HostConnection::get() New Host Connection established 0xf2e22f30, tid 8034
D/HostConnection( 7940): HostComposition ext ANDROID_EMU_CHECKSUM_HELPER_v1 ANDROID_EMU_native_sync_v2 ANDROID_EMU_native_sync_v3 ANDROID_EMU_native_sync_v4 ANDROID_EMU_dma_v1 ANDROID_EMU_direct_mem ANDROID_EMU_host_composition_v1 ANDROID_EMU_host_composition_v2 ANDROID_EMU_YUV_Cache ANDROID_EMU_has_shared_slots_host_memory_allocator ANDROID_EMU_sync_buffer_data ANDROID_EMU_read_color_buffer_dma GL_OES_EGL_image_external_essl3 GL_OES_vertex_array_object GL_KHR_texture_compression_astc_ldr ANDROID_EMU_host_side_tracing ANDROID_EMU_gles_max_version_3_0 
D/EGL_emulation( 7940): eglCreateContext: 0xf2e238d0: maj 3 min 0 rcv 3
D/EGL_emulation( 7940): eglMakeCurrent: 0xf2e238d0: ver 3 0 (tinfo 0xc0067af0) (first time)
I/VideoCapabilities( 7940): Unsupported profile 4 for video/mp4v-es
W/cr_MediaCodecUtil( 7940): HW encoder for video/avc is not available on this device.
D/EGL_emulation( 7940): eglCreateContext: 0xf2e23b00: maj 3 min 0 rcv 3
I/le.legulegu_ap( 7940): Waiting for a blocking GC ProfileSaver
D/EGL_emulation( 7940): eglMakeCurrent: 0xf2e26490: ver 3 0 (tinfo 0xf31791b0) (first time)
W/Gralloc4( 7940): allocator 3.x is not supported
I/flutter ( 7940): 0
I/le.legulegu_ap( 7940): NativeAlloc concurrent copying GC freed 39704(2135KB) AllocSpace objects, 150(6504KB) LOS objects, 49% free, 2917KB/5834KB, paused 83us total 369.703ms
W/Zeus/load( 7940): PluginLoader loadPlugin, UN_INSTALLED, com.byted.pangle
E/TTPluginManager( 7940): Load plugin failed
E/PluginDelegate( 7940): fail:  code = 4201 msg = No initializer
W/PluginDefaultAdManager( 7940): Not ready, no manager
W/PluginDefaultAdManager( 7940): Not ready, no manager

errCode:20001 errMsg:no ads iOS 模拟器上一直没有广告显示

没有合适的广告返回而导致的请求没有填充,偶尔出现属于正常情况。如果出现情况较多或者必现的话,请先检查一下广告尺寸是否填写正确,是否有使用模拟器测试广告,单个设备是否一天请求了大量广告但没有展示或者展示数极低等。排查以上问题依然没有结论可以联系技术支持同学或者提交工单(包含代码位和出现概率以及请求时间)相关同学查明后会做出回复。

激励广告展示失败,但是没有错误码

1、使用的是测试app、测试激励视频广告、ios模拟器
2、其他广告已正常显示:开屏、banner
3、flutter 3.3 , flutter_pangle_ads 2.6.1 , SDK版本号 - Ads-CN (4.7.1.0)、macos 12.5.1
4、输出:

-[RewardVideoPage nativeExpressRewardedVideoAd:didFailWithError:]

image

请问下,为什么激励视频广告展示不出来,然后控制台打印不出来error code

加入个性化广告控制参数

现在APP在国内应用市场上架时会检查app是否有个性化广告功能,如果有的话需要app提供配置开关,让用户能够关闭个性化广告。对于Flutter开发的APP,需要在Flutter代码中能够对此进行控制。

sdk2.6.1: Ads-CN会默认最高级5.0.x.x,继而无法编译成功

报错详情:
Generics Issue (Xcode): No type or protocol named 'BUNativeExpresInterstitialAdDelegate'
/Users/xxx/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_pangle_ads-2.6.1/ios/Classes/Page/InterstitialPage.h:10:41

Semantic Issue (Xcode): Unknown type name 'BUNativeExpressInterstitialAd'
/Users/xxx/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_pangle_ads-2.6.1/ios/Classes/Page/InterstitialPage.h:11:30

Semantic Issue (Xcode): Property with 'retain (or strong)' attribute must be of object type
/Users/xxx/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_pangle_ads-2.6.1/ios/Classes/Page/InterstitialPage.h:11:0

目前的解决办法:
在Podfile.lock中把Ads-CN和Ads-CN/BUAdSDK手动改为4.8.1.1,
然后pod install,会提示其他的插件版本对不上,对应去一个一个按提示改,直到pod install成功就能打包安装了。

可能需要作者大大解决的:
插件对应的原生sdk是不是默认最高级了呀,应该写死当前flutter插件对应的原生插件版本吗?
或者,啥时候对应更新下原生插件等级对应的flutter插件~

插件是否支持提前加载

hello,请问插件是否支持激励视频,和插屏的预加载功能。我看了文档,并没有类似load的方法,谢谢!

iOS无法正常运行了

运行到模拟器是16.2,我看提示的是原生代码部分的错误
请问目前有临时方案吗?

Error output from Xcode build:
↳
    ** BUILD FAILED **


Xcode's output:
↳
    Writing result bundle at path:
    	/var/folders/hc/4d81prx534gd6_7n510k78fh0000gn/T/flutter_tools.A72jcQ/flutter_ios_build_temp_dirSCReK5/temporary_xcresult_bundle

    In file included from /Volumes/Jianan/SDK/BETA/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_pangle_ads-2.6.1/ios/Classes/Load/FeedAdLoad.m:10:
    In file included from /Volumes/Jianan/SDK/BETA/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_pangle_ads-2.6.1/ios/Classes/FlutterPangleAdsPlugin.h:4:
    /Volumes/Jianan/SDK/BETA/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_pangle_ads-2.6.1/ios/Classes/Page/InterstitialPage.h:11:42: error: no type or protocol named 'BUNativeExpresInterstitialAdDelegate'
    @interface InterstitialPage : BaseAdPage<BUNativeExpresInterstitialAdDelegate>
                                             ^
    /Volumes/Jianan/SDK/BETA/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_pangle_ads-2.6.1/ios/Classes/Page/InterstitialPage.h:12:31: error: unknown type name 'BUNativeExpressInterstitialAd'
    @property (nonatomic, strong) BUNativeExpressInterstitialAd *iad;
                                  ^
    /Volumes/Jianan/SDK/BETA/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_pangle_ads-2.6.1/ios/Classes/Page/InterstitialPage.h:12:1: error: property with 'retain (or strong)' attribute must be of object type
    @property (nonatomic, strong) BUNativeExpressInterstitialAd *iad;
    ^
    3 errors generated.
    note: Building targets in dependency order
    warning: Run script build phase 'Run Script' will be run during every build because it does not specify any outputs. To address this warning, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'Runner' from project 'Runner')
    warning: Run script build phase 'Thin Binary' will be run during every build because it does not specify any outputs. To address this warning, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'Runner' from project 'Runner')

    Result bundle written to path:
    	/var/folders/hc/4d81prx534gd6_7n510k78fh0000gn/T/flutter_tools.A72jcQ/flutter_ios_build_temp_dirSCReK5/temporary_xcresult_bundle


Generics Issue (Xcode): No type or protocol named 'BUNativeExpresInterstitialAdDelegate'
/Volumes/Jianan/SDK/BETA/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_pangle_ads-2.6.1/ios/Classes/Page/InterstitialPage.h:10:41

Semantic Issue (Xcode): Unknown type name 'BUNativeExpressInterstitialAd'
/Volumes/Jianan/SDK/BETA/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_pangle_ads-2.6.1/ios/Classes/Page/InterstitialPage.h:11:30

Semantic Issue (Xcode): Property with 'retain (or strong)' attribute must be of object type
/Volumes/Jianan/SDK/BETA/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_pangle_ads-2.6.1/ios/Classes/Page/InterstitialPage.h:11:0

Could not build the application for the simulator.
Error launching application on iPhone 14 Pro Max.

image

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.