Comments (6)
Hi
I added the 2 files above. It didn't fix the issue. I still can't see any Android events.
Looking forward for your solution when it's available. Hopefully by the end of this week.
from kastri.
If you're using the demo, it should happen automatically, via the build event in the Project Options (see pic)
from kastri.
Do I need to do this with all my projects, or it's just for the demo?
The reason I'm asking is that there are Firebase Analytics events automatically created for iOS (e.g. app_update, first_open, os_update, screen_view, session_start), whereas there are no events created for Android. Actually, the Android version of the app is not even in the Firebase Analytics; it is just in the Firebase Cloud Messaging.
Also, how do I create new Firebase Analytics events?
from kastri.
Do I need to do this with all my projects, or it's just for the demo?
For all projects that use the Kastri Firebase Cloud Messaging solution. Alternatively, you could copy the resulting AndroidManifest.xml
file and ensure that it is deployed when building your app. Be aware that if the manifest needs to be changed in the future, you will need to repeat the process.
whereas there are no events created for Android.
This is because EMBT omitted files necessary for Firebase Analytics to work, namely:
https://github.com/DelphiWorlds/Kastri/blob/master/ThirdParty/Android/com-google-android-gms-play-services-measurement-api-16.4.0.jar
https://github.com/DelphiWorlds/Kastri/blob/master/ThirdParty/Android/com-google-android-gms-play-services-measurement-impl-16.4.0.jar
Adding these to the Libraries node of the Android platform in Project Manager for the projects that need Firebase Analytics should hopefully fix that issue. The second jar might not be required, however I've included it just in case.
Also, how do I create new Firebase Analytics events?
I just happen to be working on a solution for this, which I hope to have ready by the end of the week
from kastri.
I just happen to be working on a solution for this, which I hope to have ready by the end of the week
Hi. Any update on this?
from kastri.
As discussed privately, being able to include Firebase Analytics means having to switch out a number of jars, and modify FMX Java code and rebuild fmx.jar
. This might be supported in the next release of Delphi.
from kastri.
Related Issues (20)
- [AppUpdate] Add support for iOS HOT 2
- [FilesSelector] Add handling of video files on iOS HOT 1
- [AppleSignIn] Potentionally wrong value stored in TAppleIDCredentials.AuthorizationCode HOT 1
- [GoogleSignin] manifestmerge giving error code 3 HOT 4
- Delphi 12 Error [Barkod] Crash when Camera is opened HOT 6
- [Firebase] Is new FCM library compatible with iOs17? HOT 2
- [FCM] click_action replacement for iOS HOT 2
- FCMRebooted error on iOS 17.2 with Delphi 12 HOT 6
- FCMRebooted error on Android devices with FCM.ShowBannerIfForeground HOT 7
- AdMob ResetConsent flow never triggers ConsentComplete callback
- [SMS] Add functionality for SMS Retriever API #170 HOT 11
- Connectivity demo crashes with method not found TJDWNetworkCallback on D11.3 HOT 2
- ld: file not found: MLKitBarcodeScanning HOT 1
- Demo Barcode D11 IOS HOT 2
- SMS: could not send HOT 8
- Build error and/or app failures when using Delphi 12.1 for certain demos - Android only
- Google Sign In fail to deploy only works when building the project only HOT 20
- [CrossPlatformLocation] demo crashes in Delphi DX12.1 HOT 1
- [DCC Error] E2597 ld: warning: directory not found for option '-LComponent' HOT 1
- Compiler Hint HOT 1
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 kastri.