Comments (13)
the correct {NS} way to fix this is by adding a buildscript.gradle file to your App_Resources/Android directory
repositories {
google()
mavenCentral()
}
dependencies {
classpath 'com.google.gms:google-services:4.3.12'
}
from nativescript-plugin-firebase.
looks like things has been changed. We are using outdated plugin.
Have a look at this https://github.com/NativeScript/firebase
It works for me fine.
from nativescript-plugin-firebase.
Same issue here
from nativescript-plugin-firebase.
I had that very same issue. I ended up downgrading to @nativescript/core
to version 8.2.0
to continue working. Not sure what the problem with this version is
from nativescript-plugin-firebase.
You think the problem is with core and not this plugin?
from nativescript-plugin-firebase.
I'm not sure to be quite honest. Didn't give it much investigation after finding the fix for it.
from nativescript-plugin-firebase.
Its sad to see this plugin is not being maintained right now. There are over 500 open issues and last update was almost 2 years ago. @EddyVerbruggen can you confirm if you're still working on this?
from nativescript-plugin-firebase.
hey @Whip are you able to find solution for this? I am also facing this issue earlier this May.
from nativescript-plugin-firebase.
No. I believe the plugin needs to be updated. @EddyVerbruggen could tell. I hope he hasn't abandoned the project.
from nativescript-plugin-firebase.
Same issue here. After upgrading to {N} 8.2.2. It was working file with NS 8.0. Looks like this plugin no longer maintained. @EddyVerbruggen would you please confirm if this plugin is no longer in development.
from nativescript-plugin-firebase.
jwrascoe
Could you tell me where to put that file? I can't find that code to include firebase in an Android Studio Firebase project
from nativescript-plugin-firebase.
@machadoastur It goes in your App_Resources/Android directory where your Angular code is, not in the platform generated code... the NS builder looks at that file and then creates the correct files in the platform area
from nativescript-plugin-firebase.
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
- 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.