Comments (5)
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.
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.
So they would be available in this plugin, but you enable them ad hoc? Sounds good to me.
from nativescript-plugin-firebase.
Also see this awesome PR: #101
from nativescript-plugin-firebase.
Added in 3.10.0
from nativescript-plugin-firebase.
Related Issues (20)
- M1 Issue - FirebaseSDK HOT 4
- Several "session_start" event are created on iOS 15 HOT 1
- ERROR TypeError: firebase.init is not a function.
- AdMob error: TypeError: Cannot set property 'resolve' of undefined
- Class constructor ContentView cannot be invoked without 'new'
- Android App Not working with NS 8.2. HOT 42
- A problem occurred configuring root project 'firebase'.
- microsoft login
- Android 12 background notification led to crash (PendingIntent) HOT 6
- Unable to run new deployment HOT 1
- ion
- Error trying to install @nativescript/firebase
- barcode scanning issue - iPhone 13 Pro and iPhone 13 Pro max
- Cannot read property 'ads' of undefined on NativeScript 8.2.3 HOT 1
- Plugin with id 'com.google.gms.google-services' not found. HOT 13
- SetValue of type Date Error on iOS
- Barcode Scanning issue on native script 8 with native camera control
- Mark this repository as deprecated HOT 1
- Firebase Authentication functions are giving error "No reference found.
- Firebase Messaging crash issue in Android 13 HOT 5
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 nativescript-plugin-firebase.