EddyVerbruggen / nativescript-plugin-firebase

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

Stuck on "Configure firebase" / "Add iOS crash logging" #1622

Closed kriefsacha closed 4 years ago

kriefsacha commented 4 years ago

Hi,

I have an app with the plugin that works great on android but on IOS when i run "tns run ios" it get stuck at "Add iOS crash logging" ,or at "Configure firebase" if i remove the crashlytics feature, and doesn't do anything for hours.

I tried with real device , with emulator , same thing. I tried to remove node_modules , to remove the plugin and put it back , to do "pod repo update" , to delete the platform and put it back, nothing.

I'm on macOS Catalina v10.15.5 with the last version of xcode and version 6.2 of nativescript angular.

The GoogleService-Info.plist is in the right place in "App_Resources/iOS".

There is some informations that may help, if you have a clue about what happen, why it's not moving.

Package.json:

{
  "nativescript": {
    "id": "myid...",
    "tns-ios": {
      "version": "6.5.0"
    },
    "tns-android": {
      "version": "6.5.1"
    }
  },
  "description": "NativeScript Application",
  "license": "SEE LICENSE IN <your-license-filename>",
  "repository": "<fill-your-repository-here>",
  "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",
    "@nativescript/theme": "~2.2.1",
    "@nstudio/nativescript-loading-indicator": "^3.0.4",
    "@types/jest": "^25.2.3",
    "@types/mocha": "^7.0.2",
    "nativescript-angular": "^8.21.0",
    "nativescript-camera": "^4.5.0",
    "nativescript-datetimepicker": "^1.2.2",
    "nativescript-imagepicker": "^7.1.0",
    "nativescript-mapbox": "^5.0.1",
    "nativescript-plugin-firebase": "^10.5.2",
    "nativescript-ui-calendar": "^6.1.0",
    "nativescript-videorecorder": "^3.0.0-beta.6",
    "reflect-metadata": "~0.1.12",
    "rxjs": "^6.4.0",
    "tns-core-modules": "^6.5.2",
    "tns-platform-declarations": "^6.5.4",
    "zone.js": "^0.9.1"
  },
  "devDependencies": {
    "@angular/compiler-cli": "~8.2.0",
    "@ngtools/webpack": "~8.2.0",
    "nativescript-dev-webpack": "^1.5.1",
    "node-sass": "^4.14.1",
    "sass-loader": "^8.0.2",
    "typescript": "~3.5.3"
  },
  "gitHead": "fa98f785df3fba482e5e2a0c76f4be1fa6dc7a14",
  "readme": "NativeScript Application"
}

firebase.nativescript.json:

{
    "using_ios": true,
    "using_android": true,
    "firestore": false,
    "realtimedb": true,
    "remote_config": false,
    "messaging": true,
    "crashlytics": true,
    "crash_reporting": false,
    "storage": true,
    "facebook_auth": false,
    "google_auth": false,
    "admob": false,
    "invites": false,
    "dynamic_links": false,
    "ml_kit": false,
    "performance_monitoring": true
}

If you need to know anything else just tell me. Thanks for your help !

kriefsacha commented 4 years ago

Okay so i looked at : #1621 and he saied there that when removing the plugin it's needed to manually remove the hooks, this seemed to work because i have now a "project successfuly built" so it should be okay, for anyone in the same case that's the solution