A
A
Andrey Ka2019-12-14 18:07:41
Android
Andrey Ka, 2019-12-14 18:07:41

Does ads work in React Native WebView?

In general, there is a site that gives a video player and that's it, ads are played in the player, i.e. everything works on the site.
But there are no ads in WebView...
Here is how I use webview:

<WebView
                    style={{ backgroundColor: 'transparent' }}
                    source={{ uri: 'http://.../embed/give?epg=100001' }}
                    javaScriptEnabled={ true }
                    domStorageEnabled={ true }
                    thirdPartyCookiesEnabled={ true }
                    sharedCookiesEnabled={ true }
                    geolocationEnabled={ true }
                    cacheEnabled={ true }
                    origin="http://toorigin.ru"
                    automaticallyAdjustContentInsets={ false }
                    mixedContentMode="always"
                    userAgent="Mozilla/5.0 (Linux; Android 5.0; SM-G900P Build/LRX21T) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Mobile Safari/537.36"
                    //applicationNameForUserAgent={ ' EnjoyTV / 1.1.0 ' }
                    allowsFullscreenVideo={ true }
                />

Does advertising work in web view at all? By the way, I use VAST, VPAID, IMA.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andrey Ka, 2019-12-15
@lacky_exception

U.P.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question