teads / TeadsSDK-android

Teads SDK for Android - Premium branded "outstream" ads
13 stars 6 forks source link

visibility 0 #185

Closed ThandarLynn closed 2 years ago

ThandarLynn commented 2 years ago

read me I am trying to add teads in webview. adCore.notifyAssetsDisplayChanged({"-1":{"visibility":0,"width":392,"height":242},"6":{"visibility":0,"width":391,"height":220}});

visiblity showing 0 in log Do you have any suggestion?

thank you

github-maxime-liege commented 2 years ago

Hello,

We cannot help you with that few information

Can you bring us more information like:

Thank you,

ThandarLynn commented 2 years ago

I solved that one.

I want to ask you another one advice.

in your demo code , you are using toolbar in mobile code. but I am using webview toolbar in my code.

so your teads does not overlap on toolbar. but my teads is overlapping on webview toolbar. do you have any suggestion for this

thank you very much, Lynn

ThandarLynn commented 2 years ago

pls reply me today It happens when scrolling webview. Teads overlap my webview toolbar.

github-benjamin-volland commented 2 years ago

Hello @ThandarLynn ,

you can use the offset feature in the WebViewHelper

EDIT

The right offset to use is this one

ThandarLynn commented 2 years ago

his pls read my message carefully.

My code use android teads with dynamic webview url .it's working fine in last week of april.

from the first week of May, my code doesn't work again.it's show visibility 0 again. your teads code only work for one constant webview url.

can you check any code changed in first week of May?

thank you, Lynn

On Tue, 26 Apr 2022, 5:12 pm Maxime Liege, @.***> wrote:

Hello,

We cannot help you with that few information

Can you bring us more information like:

  • SDK Version
  • Android Version
  • Ad type (InRead/Native)
  • Is the ad running
  • A screenshot would be appreciated

Thank you,

— Reply to this email directly, view it on GitHub https://github.com/teads/TeadsSDK-android/issues/185#issuecomment-1109550650, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOZGWCBT4CEAFU6FXX7NHNLVG6XQXANCNFSM5UBAGVCQ . You are receiving this because you authored the thread.Message ID: @.***>

github-benjamin-volland commented 2 years ago

Hello @ThandarLynn,

The visibility is not linked to the webview url. The main reasons to have 0 as visibility is:

Best,