Code Monkey home page Code Monkey logo

Comments (9)

IvRRimum avatar IvRRimum commented on July 2, 2024 3

I did all of the above, the problem is still present...

I followed your tutorial video.

from nativescript-plugin-firebase.

gabrielpiassetta avatar gabrielpiassetta commented on July 2, 2024 3

Same here, did everything exactly as documented in README, more than one time.

Started a project from scratch and tried again, problem stills present.

For days I'm looking for a solution.

from nativescript-plugin-firebase.

EddyVerbruggen avatar EddyVerbruggen commented on July 2, 2024

I may have forgotten to add something to the readme. Can you please try this to see if that fixes your problem?

  • Open platforms/android/build.gradle
  • Near the top there's a dependencies section, add classpath "com.google.gms:google-services:3.0.0" so it becomes something like:
    dependencies {
        classpath "com.android.tools.build:gradle:1.5.0"
        classpath "com.google.gms:google-services:3.0.0"
    }
  • Add the very bottom of the same file add apply plugin: "com.google.gms.google-services"

from nativescript-plugin-firebase.

mnesarco avatar mnesarco commented on July 2, 2024

Thanks Eddy,

It works now. One question: Is there a way to made this changes permanent? I mean to survive when we remove and then add android platform....

from nativescript-plugin-firebase.

EddyVerbruggen avatar EddyVerbruggen commented on July 2, 2024

Thanks for the quick check!

I don't think it will persist indeed.

I'll keep this open as a reminder to figure out how to do this via the plugin (if at all possible), but for now I'll add it to the readme.

from nativescript-plugin-firebase.

mnesarco avatar mnesarco commented on July 2, 2024

Hi Eddy,

It worked initially, but after google sdk update, I got this error:

Found com.google.android.gms:play-services-gcm:8.4.0, but version 9.0.0 is needed for the google-services plugin.

I have googled all the day, it is supposed that I have to add

compile 'com.google.android.gms:play-services:9.0.0'

to the dependencies in the app level build.gradle, but in nativescritp there is no "app level" build.gradle.
I have tried in app/App_Resources/android/app.gradle with no success.

EDIT:
I deleted node_modules and platforms directories and now everything is work.... oh no. Now I have reached the 65k dex limit :(

from nativescript-plugin-firebase.

EddyVerbruggen avatar EddyVerbruggen commented on July 2, 2024

Added a bunch of these (and other) issues to the readme (scroll down).

from nativescript-plugin-firebase.

IvRRimum avatar IvRRimum commented on July 2, 2024

@gabrielpiassetta I just continued the app development. The error doesn't affect the app in any way( from wha i have seen ). So just carry on. It will be fixed eventually.

from nativescript-plugin-firebase.

jvzanatta avatar jvzanatta commented on July 2, 2024

Same here (done everything from readme, error still bugs me but doesn't affect the app...

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.