Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

开屏广告使用失效 #3

Closed
FangPro opened this issue Apr 7, 2020 · 4 comments
Closed

开屏广告使用失效 #3

FangPro opened this issue Apr 7, 2020 · 4 comments

Comments

@FangPro
Copy link

FangPro commented Apr 7, 2020

大佬你好,我在实际接入穿山甲广告sdk过程中使用的是调用sdk+返回PlatformView的方法。测试是直接运行debug全能展示的,但是我打成release包过后广告就没了,我测试了一下在打成release包后,调用开屏广告里的方法 "mTTAdNative.loadSplashAd(adSlot, new TTAdNative.SplashAdListener() {...}"就不执行了,在直接运行debug模式时是完全正常的,但是打包成release就是没有,不知道你在实际开发过程中是否遇到,是怎样解决的,谢谢。

@tongyangsheng
Copy link
Member

你是使用Pangolin的接口吗 还是自己集成的?

@FangPro
Copy link
Author

FangPro commented Apr 7, 2020 via email

@tongyangsheng
Copy link
Member

我没有遇到类似问题,我自己的项目中也进行了打包测试,开屏没有问题,根据你的描述可能的问题应该有:
1.如果打成release包 确认代码中的混淆的问题
2.如果是方法不调用确认穿山甲SDK初始化是否成功以及用户权限授权状态是否正常
3.确认你的方法在主线程回调,并确保主线程没有被UI操作阻塞
4.将debug参数调致false
5.检查穿山甲控制台对应代码位是否有相应的请求记录
6.检查真机网络状态

@tongyangsheng
Copy link
Member

fixed #2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants