Code Monkey home page Code Monkey logo

Comments (5)

calebeaires avatar calebeaires commented on July 21, 2024 1

I have implemented on Google Service Ads LITE to this project and also installed you nativescript-admob without the dependence copile on its include.gradle. Everthing works well.

dependencies {
     ...
     compile 'com.google.android.gms:play-services-ads-lite:9.4.0'
 }

The size of APK doesn't get much bigger. More about it on Firebase Google Mobile Ads Lite SDK

from nativescript-plugin-firebase.

EddyVerbruggen avatar EddyVerbruggen commented on July 21, 2024

Hey Jen,

The problem with adding all these additional features is that Firebase requires additional SDK's to be loaded. For AdMob, Facebook (2 even), Google (1 for login, 1 for Push), and so on.

If I'd enable all of those by default your app would:

  • Take forever to build
  • Be slower because some of those require bootstrapping
  • Be much bigger (apk/ipa size)

On top of that builds would occasionally fail because of unresolved dependencies (network hickups, SDK version bumps, etc). And MultiDex would be required as standard for Android.

And some of those SDK's require manual setup because a plugin can't manipulate certain files (specific .plist entries, .gradle files, app.js).

All of that will make this plugin unusable (you've had your own share already).

So what I'm planning is adding these features to the plugin API but if you want to use fi. AdMob then you have to manually edit a few config files. Mostly that means uncommenting a line in a Podfile or .gradle file.

from nativescript-plugin-firebase.

jlooper avatar jlooper commented on July 21, 2024

So they would be available in this plugin, but you enable them ad hoc? Sounds good to me.

from nativescript-plugin-firebase.

EddyVerbruggen avatar EddyVerbruggen commented on July 21, 2024

Also see this awesome PR: #101

from nativescript-plugin-firebase.

EddyVerbruggen avatar EddyVerbruggen commented on July 21, 2024

Added in 3.10.0

from nativescript-plugin-firebase.

Related Issues (20)

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.