Giter Club home page Giter Club logo

Comments (6)

hraztan avatar hraztan commented on June 3, 2024 1

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.

DelphiWorlds avatar DelphiWorlds commented on June 3, 2024

If you're using the demo, it should happen automatically, via the build event in the Project Options (see pic)
Screen Shot 2021-06-17 at 5 26 16 am

from kastri.

hraztan avatar hraztan commented on June 3, 2024

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.

DelphiWorlds avatar DelphiWorlds commented on June 3, 2024

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.

hraztan avatar hraztan commented on June 3, 2024

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.

DelphiWorlds avatar DelphiWorlds commented on June 3, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.