Comments (6)
I tried to replicate the steps you followed in order to achieve a successful build. But got this instead:
**A problem occurred evaluating root project 'android'.
Failed to apply plugin [class 'com.google.gms.googleservices.GoogleServicesPlugin']
For input string: "+"
classpath 'com.android.tools.build:gradle:+'** This line is being high lighted
from cordova-plugin-firebase-analytics.
https://github.com/chemerisuk/cordova-support-google-services#faq
from cordova-plugin-firebase-analytics.
Still unable to make it work altough we are using the following plugins
com.googlemaps.ios 2.3.0 "Google Maps SDK for iOS"
cordova-clipboard 1.0.0 "Clipboard"
cordova-plugin-browsertab 0.2.0 "cordova-plugin-browsertab"
cordova-plugin-camera 2.4.1 "Camera"
cordova-plugin-cocoapod-support 1.3.0 "Cordova CocoaPods Dependency Support"
cordova-plugin-compat 1.1.0 "Compat"
cordova-plugin-crosswalk-webview 2.3.0 "Crosswalk WebView Engine"
cordova-plugin-device 1.1.4 "Device"
cordova-plugin-file 4.3.3 "File"
cordova-plugin-file-transfer 1.6.3 "File Transfer"
cordova-plugin-filepath 1.0.2 "FilePath"
cordova-plugin-firebase-analytics 0.11.0 "FirebaseAnalyticsPlugin"
cordova-plugin-geolocation 2.4.3 "Geolocation"
cordova-plugin-googlemaps 2.0.0-beta3-20170903-1743 "cordova-plugin-googlemaps"
cordova-plugin-inappbrowser 1.7.1 "InAppBrowser"
cordova-plugin-network-information 1.3.3 "Network Information"
cordova-plugin-splashscreen 4.0.3 "Splashscreen"
cordova-plugin-statusbar 2.2.1 "StatusBar"
cordova-plugin-whitelist 1.3.1 "Whitelist"
cordova-sqlite-storage 2.0.3 "Cordova sqlite storage plugin"
cordova-support-google-services 1.0.0 "cordova-support-google-services"
ionic-plugin-keyboard 2.2.1 "Keyboard"
org.apache.cordova.plugin.cache 1.0.5 "Clear Cache"
from cordova-plugin-firebase-analytics.
HI
I tried the steps --
--$ cordova plugin add cordova-support-google-services --save
--applied necessary changes in build.gradle file
--build was successful
but the app again stopped .
from cordova-plugin-firebase-analytics.
@lfelipeqn please try
->cordova platform rm android
->cordova platform add [email protected]
->then make changes in build.gradle file again .
from cordova-plugin-firebase-analytics.
Hey Chemerisuk,
First of all great work done. Many Thanks in Advance.
As we are using cordova (5,3,3) and ionic framework (2.0.0), we are installing plug-in cordova-plugin-firebase-analytics as explained in the support document.
Post installing plug-in, we have done all the changes in build.gradle file and have added google-services.json file. When we are compiling the code and making the build, the build is running successfully but the moment app is launching, it is getting killed on boot.
We do have following queries as well:
- When we check the path/directory configuration in the js file then it is referring to the google-services.json file of "/myproject/platform/android/src/google-services.json" which is root folder of the app and one more blank google-services.json file is being created automatically by plug-in installed under plug-in folder which is "/plugins/cordova-plugin-firebase/android/src/google-services.json". Now we are confuse which google-services.json file is actually being referred by the app and which one to be updated. Please shred some light here.
Also, our Android SDK version is 23. Is there any dependencies or upgrade issues ?
from cordova-plugin-firebase-analytics.
Related Issues (20)
- Duplicate resources google_app_id google_app_key HOT 1
- Problem in FirebaseAnalytic HOT 3
- Building IOS Capacitor 3 - CordovaPlugins Error - Undefined symbol: _OBJC_CLASS_$_FIRAnalytics HOT 11
- Disable automatic collection of events HOT 3
- Need support for e-commerce items (i.e. products) for Firebase Analytics HOT 2
- Plugin doesn't support this project's cordova version HOT 4
- CocoaPods could not find compatible versions for pod "GoogleUtilities/AppDelegateSwizzler"
- Conflict with FCM
- Unable to build project for iOS and Android after adding Firebase Analytics Plugin
- Localstorage not working
- Release notes?
- Library expects a BoM package: com.google.firebase:firebase-analytics HOT 4
- Broken on Capacitor HOT 1
- Android - Data do not send to firebase analytics HOT 6
- Failed to install firebase-analytics in iOS HOT 4
- cordova-plugin-firebase-analytics version 7.0.5 is not working for android platform HOT 2
- EXCEPTION: TypeError: Cannot read properties of undefined (reading 'split') HOT 1
- restrict the events based on bundle id
- Logged Event not reflected in firebase events console. HOT 1
- Missing setConsent implementation
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cordova-plugin-firebase-analytics.