Comments (10)
Hi,
Sorry for the issue, we've updated the documentation to fix this.
Here is also the needed part to enable it:
mInReadAdView.load(new AdSettings.Builder()
.enableValidationMode()
.build());
from teadssdk-android.
I have encounter new issue after added attribute inside load ads(enableValidationMode), there was no popup then stacktrace like below
E/EventBus: Could not dispatch event: class tv.teads.sdk.android.engine.web.event.OpenDialogRequest to subscribing class class tv.teads.sdk.android.engine.ui.UIEngine
android.view.WindowManager$BadTokenException: Unable to add window -- token null is not valid; is your activity running?
at android.view.ViewRootImpl.setView(ViewRootImpl.java:765)
at android.view.WindowManagerGlobal.addView(WindowManagerGlobal.java:356)
at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:92)
at android.app.Dialog.show(Dialog.java:330)
at tv.teads.sdk.android.utils.DialogUtils.a(DialogUtils.java:65)
at tv.teads.sdk.android.engine.ui.UIEngine.onEvent(UIEngine.java:325)
at java.lang.reflect.Method.invoke(Native Method)
at org.greenrobot.eventbus.EventBus.invokeSubscriber(EventBus.java:485)
at org.greenrobot.eventbus.EventBus.postToSubscription(EventBus.java:416)
at org.greenrobot.eventbus.EventBus.postSingleEventForEventType(EventBus.java:397)
at org.greenrobot.eventbus.EventBus.postSingleEvent(EventBus.java:370)
at org.greenrobot.eventbus.EventBus.post(EventBus.java:251)
at tv.teads.sdk.android.engine.web.WebEngine.a(WebEngine.java:407)
at tv.teads.sdk.android.engine.web.commander.webview.WebViewBridge.openDialog(WebViewBridge.java:518)
at tv.teads.sdk.android.engine.web.commander.webview.Commander.openDialog(Commander.java:368)
at org.chromium.base.SystemMessageHandler.nativeDoRunLoopOnce(Native Method)
at org.chromium.base.SystemMessageHandler.handleMessage(SystemMessageHandler.java:41)
at android.os.Handler.dispatchMessage(Handler.java:105)
at android.os.Looper.loop(Looper.java:164)
at android.os.HandlerThread.run(HandlerThread.java:65)
from teadssdk-android.
hmm, that's weird. Do you think you can isolate the issue in a new app, following #140 ?
from teadssdk-android.
Hi!
Even if the validation tool is enabled, the popup does not appear to me.
requestSettings = AdRequestSettings.Builder()
.pageSlotUrl("http://teads.com")
.enableValidationMode()
.build()
Did not noticed any exception in the logs or any clue why the validation popup doesn't appear. Any tips/idea?
Thanks!
from teadssdk-android.
Hi @adlibsv,
Can you give us more context about your integration type ?
- Are you using mediation or direct teads ?
- Your SDK version
- Some logs when Teads is being called
Thank you for your feedback !
from teadssdk-android.
Hi!
Here are the answers to the questions above:
- direct standard integration
- v5.0.12
- 2022-04-07 09:56:16.548 D/teads#AssetUpdater: lib-js up to date
2022-04-07 09:56:16.733 D/teads#PerfTeads: p23: 1063
2022-04-07 09:56:16.780 D/teads#AdPlacement: Init advertising ids and adLoader...
2022-04-07 09:56:16.781 D/teads#AdPlacement: Init - Advertising ids OK
2022-04-07 09:56:16.783 D/teads#InReadAdPlacement: Waiting placement to be ready for ad request
2022-04-07 09:56:16.784 D/teads#PerfTeads: p10: 5
2022-04-07 09:56:16.784 D/teads#AdPlacement: Init - AdLoader asset recovered
2022-04-07 09:56:16.806 D/teads#PerfTeads: p11: 27
2022-04-07 09:56:16.806 D/teads#AdPlacement: Init - AdLoader OK
2022-04-07 09:56:16.807 D/teads#InReadAdPlacement: Request InRead Ad
2022-04-07 09:56:16.807 D/teads#JsEngine: ---->AdLoaderModule.requestInReadAd(84242, '%7B%22debugModeEnabled%22%3Atrue%2C%22locationEnabled%22%3Afalse%2C%22lightEndScreenEnabled%22%3Afalse%2C%22consent%22%3A%22%22%2C%22subjectToGDPR%22%3A%220%22%2C%22tcfVersion%22%3A2%2C%22cmpSdkID%22%3A0%2C%22crashReporterEnabled%22%3Atrue%2C%22extras%22%3A%7B%7D%2C%22browserUrlHidden%22%3Afalse%2C%22browserToolbarBackgroundColor%22%3A0%7D', '%7B%22publisherSlotUrl%22%3A%22http%3A%2F%2Fteads.com%22%2C%22validationModeEnabled%22%3Afalse%2C%22extras%22%3A%7B%7D%2C%22listenerKey%22%3A-1%7D')
2022-04-07 09:56:16.829 D/teads#LoggerBridge: t:placementCall
2022-04-07 09:56:16.831 D/teads#LoggerBridge: Building usPrivacy string...
2022-04-07 09:56:16.832 D/teads#LoggerBridge: Building referrerUrl string...
2022-04-07 09:56:16.832 D/teads#LoggerBridge: Creating & returns the built AdRequest...
2022-04-07 09:56:16.848 D/teads#LoggerBridge: Creating url & body request
2022-04-07 09:56:16.848 D/teads#LoggerBridge: Post the AdRequest
URL: https://r.teads.tv/rich/84242?responseSerialization=v2
Body: locale=en_US&country=US&windowReferrerUrl=http%3A%2F%2Fteads.com&userId=081439f9-7ea6-455b-a96d-88f155e5172c&network=wifi&deviceType=samsung%20SM-G991U1&screenHeight=725&screenWidth=360&deviceFamily=smartphone&carrier=&osVersion=31&os=Android&appVersion=12.16&appId=com.pinger.textfree.call&browser=SDK&sdkVersion=5.0.12&env=sdk-inapp&gdprIab=%7B%22status%22%3A21%2C%22consent%22%3Anull%2C%22reason%22%3A210%2C%22apiVersion%22%3Anull%2C%22cmpId%22%3Anull%7D&tag=84242&sdkEngineVersion=66&sdkIntegrationType=classic&apiFrameworks=1%2C2%2C7&omidPn=Teadstv
from teadssdk-android.
Hi @adlibsv
I can see in logs that the validation mode is not enabled, did you put the setup the settings correctly ?
Can you create another issue to get correct following regarding this ?
Thank you,
from teadssdk-android.
I created an issue with your previous message
from teadssdk-android.
I can see in logs that the validation mode is not enabled, did you put the setup the settings correctly ?
Really sorry about that - I think we logs pasted here are not correct, I must have been collected them when the validation mode was not enabled. Anyways, noticed that when it is enabled, then the popup does not appear, BUT in the logs there is something like:
W/teads#LoggerBridge: To start the validation, open this page on your desktop:
https://sdkvalidation.teads.tv/1NLp4JuPZ
Waiting for the first test to start...
and when clicking the link it does open in the browser.
from teadssdk-android.
Do you have an an blocker?
from teadssdk-android.
Related Issues (20)
- NullPointerException TeadsCrashController HOT 5
- Teads Ads Display just white space HOT 7
- Duplicate class a.a.a.a.a.a found in modules jetified-sdk-4.8.1-runtime.jar (tv.teads.sdk.android:sdk:4.8.1) HOT 3
- Video ad in WebView does not adjust position automatically HOT 3
- Remove android.support dependencies from teads Android project HOT 5
- How to pass InReadAdView to my Viewholder (TeadsViewholder)? HOT 2
- error: cannot find symbol import tv.teads.sdk.android.AdFailedReason; after updating the teads SDK HOT 1
- Je prends des nouvelles 🤗 HOT 2
- Is there custom mediation support? HOT 5
- About the equivalent of Teads ad types in other ad networks HOT 5
- Jetifier still not removed HOT 5
- Validation mode not working in 5.0.12 HOT 1
- internal crash related to some coroutines issues on version 5.0.13 HOT 2
- visibility 0 HOT 6
- video ad is not playing HOT 12
- TeadsAdapter in admobadapter does not implement CustomEvent HOT 2
- META-INF/sdk_prodRelease.kotlin_module
- teads SDK error on low OS version HOT 4
- InReadAdBaseListener error codes, descriptions and fail reasons HOT 3
- android:allowBackup removal HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from teadssdk-android.