EddyVerbruggen / nativescript-plugin-firebase

:fire: NativeScript plugin for Firebase
https://firebase.google.com
MIT License
1.01k stars 445 forks source link

Crashlytics stuck on add SDK #1742

Open danouche93 opened 3 years ago

danouche93 commented 3 years ago

I want to use the crashlytics plugin to my nativescript angular project for android. I did all the steps in the documentation of crashlytics but in the firebase console, the screen is stuck with "add the sdk firebase for android".

my package.json:

{
  "nativescript": {
    "id": {
      "android": "org.nativescript.TinaApp",
      "ios": "org.nativescript.TinaAppIos"
    },
    "tns-ios": {
      "version": "6.3.0"
    },
    "tns-android": {
      "version": "6.3.1"
    }
  },
  "description": "NativeScript Application",
  "license": "SEE LICENSE IN <your-license-filename>",
  "repository": "<fill-your-repository-here>",
  "scripts": {
    "lint": "tslint \"src/**/*.ts\""
  },
  "dependencies": {
    "@angular/animations": "~8.2.0",
    "@angular/common": "~8.2.0",
    "@angular/compiler": "~8.2.0",
    "@angular/core": "~8.2.0",
    "@angular/forms": "~8.2.0",
    "@angular/platform-browser": "~8.2.0",
    "@angular/platform-browser-dynamic": "~8.2.0",
    "@angular/router": "~8.2.0",
    "@nstudio/nativescript-checkbox": "^1.0.0",
    "@nstudio/nativescript-loading-indicator": "^4.0.0",
    "@nstudio/nativescript-pulltorefresh": "^2.0.0",
    "nativescript-angular": "~8.20.3",
    "nativescript-datetimepicker": "^1.2.3",
    "nativescript-geolocation": "^5.1.0",
    "nativescript-plugin-firebase": "^10.5.2",
    "nativescript-theme-core": "^1.0.6",
    "platform": "^1.3.6",
    "reflect-metadata": "~0.1.12",
    "rxjs": "^6.4.0",
    "tns-core-modules": "^6.3.2",
    "tns-platform-declarations": "^6.5.15",
    "zone.js": "~0.9.1"
  },
  "devDependencies": {
    "@angular/compiler-cli": "~8.2.0",
    "@nativescript/schematics": "^0.5.2",
    "@ngtools/webpack": "~8.2.0",
    "codelyzer": "~4.5.0",
    "nativescript-dev-webpack": "~1.4.0",
    "node-sass": "^4.7.1",
    "tslint": "~5.19.0",
    "typescript": "~3.5.3"
  },
  "gitHead": "fa98f785df3fba482e5e2a0c76f4be1fa6dc7a14",
  "readme": "NativeScript Application"
}

my firebase.nativescript.json

{
    "using_ios": true,
    "using_android": true,
    "analytics": false,
    "firestore": false,
    "realtimedb": false,
    "authentication": false,
    "remote_config": false,
    "performance_monitoring": false,
    "external_push_client_only": false,
    "messaging": true,
    "in_app_messaging": false,
    "crashlytics": true,
    "storage": false,
    "functions": false,
    "facebook_auth": false,
    "google_auth": false,
    "admob": false,
    "dynamic_links": false,
    "ml_kit": false
}

I use this to simulate a crash on my app but nothing changes in the firebase console

 import { crashlytics } from "nativescript-plugin-firebase";

crashlytics.crash();

and also added this to androidmanifest.xml

<meta-data
            android:name="firebase_crashlytics_collection_enabled"
            android:value="true" />
lukas-eschstruth commented 3 years ago

Hi @danouche93 seems like other people are experiencing this too, see https://github.com/EddyVerbruggen/nativescript-plugin-firebase/issues/1733