bug: Error: "FirebaseAnalytics" plugin is not implemented on ios
See original GitHub issuePlugin(s): Analytics
Platform(s): iOS
Current behavior:
After I added pod, cap sync, etc. and run app on emulator, I have problem with:
[error] - ERROR Error: Uncaught (in promise): Error: "FirebaseAnalytics" plugin is not implemented on ios CapacitorException@capacitor://localhost/vendor.js:1469:10 createPluginMethod@capacitor://localhost/vendor.js:1591:37 @capacitor://localhost/vendor.js:1600:40 onInvoke@capacitor://localhost/vendor.js:93774:31 @capacitor://localhost/polyfills.js:296:43 @capacitor://localhost/polyfills.js:1716:31 onInvokeTask@capacitor://localhost/vendor.js:93762:35 @capacitor://localhost/polyfills.js:353:49 drainMicroTaskQueue@capacitor://localhost/polyfills.js:823:32 promiseReactionJob@[native code]
On Android is everything OK!
Expected behavior: App send data to firebase.
Steps to reproduce:
Related code:
Other 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-firebase/analytics”: “^1.0.0”, “@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”, “firebase”: “^9.9.3”, “ionicons”: “^6.0.2”, “rxjs”: “~6.6.0”, “tslib”: “^2.2.0”, “zone.js”: “~0.11.4” },
Capacitor doctor:
Capacitor Doctor
Latest Dependencies:
@capacitor/cli: 4.1.0
@capacitor/core: 4.1.0
@capacitor/android: 4.1.0
@capacitor/ios: 4.1.0
Installed Dependencies:
@capacitor/cli: 4.0.1
@capacitor/core: 4.0.1
@capacitor/ios: 4.0.1
@capacitor/android: 4.0.1
[success] Android looking great! 👌
[success] iOS looking great! 👌
Issue Analytics
- State:
- Created a year ago
- Comments:8 (5 by maintainers)
Top GitHub Comments
I could reproduce your issue. I have removed the iOS platform and added it back. I also removed admob as it was not used anywhere.
Now it works:
No problem. But I removed my googleService files for safety. When you run app. You will see Error: not implemented CapacitorException@capacitor://localhost/vendor.js:1469:10 and after you click on button, you will see problem with plugin.
All stacktrace: