capacitor-community / firebase-analytics

Enable Firebase Analytics for Capacitor Apps
MIT License
160 stars 64 forks source link

After add "@capacitor-community/firebase-analytics": "^1.0.1", problem with Android app build #124

Closed nowitz closed 2 years ago

nowitz commented 2 years ago

Describe the bug After I added plugin "@capacitor-community/firebase-analytics": "^1.0.1", I have problem with android build app. I also tried the version 2.0.0-1. The plugin is incompatible with "@capacitor-community/admob": "^4.0.0-1".

Here is the discussion on the admob side: https://github.com/capacitor-community/admob/issues/188

To Reproduce Steps to reproduce the behavior: Add the plugin to Ionic android

Expected behavior Compile successfully.

Screenshots image

Desktop (please complete the following information):

Ionic:

Ionic CLI : 6.20.1 (C:\Users\UZIVATEL\AppData\Roaming\npm\node_modules\@ionic\cli) Ionic Framework : @ionic/angular 6.2.2 @angular-devkit/build-angular : 14.1.2 @angular-devkit/schematics : 14.1.2 @angular/cli : 14.1.2 @ionic/angular-toolkit : 6.1.0

Capacitor:

Capacitor CLI : 4.0.1 @capacitor/android : 4.0.1 @capacitor/core : 4.0.1 @capacitor/ios : 4.0.1

Utility:

cordova-res : 0.15.4 native-run : 1.6.0

System:

NodeJS : v16.13.1 (C:\Software\nodejs\node.exe) npm : 8.1.2 OS : Windows 10

Package.json: "dependencies": { "@angular/common": "^14.0.0", "@angular/core": "^14.0.0", "@angular/forms": "^14.0.0", "@angular/platform-browser": "^14.0.0", "@angular/platform-browser-dynamic": "^14.0.0", "@angular/router": "^14.0.0", "@awesome-cordova-plugins/http": "^5.44.0", "@capacitor-community/admob": "^4.0.0-1", "@capacitor-community/firebase-analytics": "^1.0.1", "@capacitor/android": "4.0.1", "@capacitor/app": "4.0.1", "@capacitor/configure": "^2.0.10", "@capacitor/core": "4.0.1", "@capacitor/haptics": "4.0.1", "@capacitor/ios": "^4.0.1", "@capacitor/keyboard": "4.0.1", "@capacitor/network": "^4.0.1", "@capacitor/preferences": "^4.0.1", "@capacitor/splash-screen": "^4.0.1", "@capacitor/status-bar": "4.0.1", "@ionic/angular": "^6.1.9", "@ngneat/transloco": "^4.1.1", "@trapezedev/configure": "^5.0.0", "cordova-plugin-advanced-http": "^3.3.1", "cordova-plugin-file": "^7.0.0", "ionicons": "^6.0.2", "rxjs": "~6.6.0", "tslib": "^2.2.0", "zone.js": "~0.11.4" }, "devDependencies": { "@angular-devkit/build-angular": "^14.0.0", "@angular-eslint/builder": "~13.0.1", "@angular-eslint/eslint-plugin": "~13.0.1", "@angular-eslint/eslint-plugin-template": "~13.0.1", "@angular-eslint/template-parser": "~13.0.1", "@angular/cli": "^14.0.0", "@angular/compiler": "^14.0.0", "@angular/compiler-cli": "^14.0.0", "@angular/language-service": "^14.0.0", "@capacitor/cli": "4.0.1", "@ionic/angular-toolkit": "^6.0.0", "@types/jasmine": "~3.6.0", "@types/jasminewd2": "~2.0.3", "@types/node": "^12.11.1", "@typescript-eslint/eslint-plugin": "5.3.0", "@typescript-eslint/parser": "5.3.0", "eslint": "^7.6.0", "eslint-plugin-import": "2.22.1", "eslint-plugin-jsdoc": "30.7.6", "eslint-plugin-prefer-arrow": "1.2.2", "jasmine-core": "~3.8.0", "jasmine-spec-reporter": "~5.0.0", "karma": "~6.3.2", "karma-chrome-launcher": "~3.1.0", "karma-coverage": "~2.0.3", "karma-coverage-istanbul-reporter": "~3.0.2", "karma-jasmine": "~4.0.0", "karma-jasmine-html-reporter": "^1.5.0", "protractor": "~7.0.0", "ts-node": "~8.3.0", "typescript": "~4.7.3" },