Giter VIP home page Giter VIP logo

Comments (5)

floatinghotpot avatar floatinghotpot commented on August 12, 2024

If I remember correctly, it's some dependency or mediation, required by the customer who sponsor this project.

from cordova-smart-adserver.

mparpaillon avatar mparpaillon commented on August 12, 2024

That's weird in a "SmartAdServer" project, but ok. I'll remove them from my fork then

Same question for Google play Service. Is that necessary ? For what use ?

Finally, why are there post request to "http://adlic.rjfun.com/adlic" ?

from cordova-smart-adserver.

floatinghotpot avatar floatinghotpot commented on August 12, 2024

I remember that smart ad server sdk is dependent on google play services libraries, but you can try checking whether it still works or not if the dependency removed.
as to adlic, see: https://github.com/floatinghotpot/cordova-admob-pro/issues/326

from cordova-smart-adserver.

mparpaillon avatar mparpaillon commented on August 12, 2024

I've contacted SmartAd about the Google Play dependency. I'll tell you if the dependency is still required.

As to adlic, if it's AdMob specific why is it called in other Ad Servers like SmartAd ? Shouldn't it be in the AdMobPlugin only ?

from cordova-smart-adserver.

mparpaillon avatar mparpaillon commented on August 12, 2024

Ok so "Google Play Service" is used for "AdSize", so it is required indeed.

However, you have forked this repo https://github.com/MobileChromeApps/google-play-services and the owner explains that it is deprecated and that you should use the framework instead.

So I replaced this line

<dependency id="com.google.playservices" url="https://github.com/floatinghotpot/google-play-services" commit="r19" />

...by...

<framework src="com.google.android.gms:play-services-ads:+" />

Much cleaner since the framework can be used by several plugins (so you don't have to include "Google Play Service" in every plugins).

Also you don't need to maintain your (now obsolete) fork of the "Google Play Services" anymore.

Finally, to make it work, you have to install "Google Play Service" framework locally. Type android and install Extra > Google Play Service

PS: This question remains

As to adlic, if it's AdMob specific why is it called in other Ad Servers like SmartAd ? Shouldn't it be in the AdMobPlugin only ?

from cordova-smart-adserver.

Related Issues (9)

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.