πŸ”₯ Fire Analytics : An extension to add Firebase Analytics to your apps

Yes, firebase supports multiple apps

:upside_down_face:

Aix is now free + I will open source it soon

@Taifun kindly update in your site

6 Likes

done
thank you
Taifun

1 Like

I would appreciate your help with a tutorial on this way of doing it.

1 Like

Ya, It would be nice, anyways now aix is free and u know, google sheets cannot capture other type of app data like :

  1. User Country and origin
  2. Events
  3. App removed
  4. App data cleared
  5. Screen View
  6. Session started
  7. Assign a specific user id
  8. Set User property based on interests
2 Likes

You would be so kind as to show me the blocks to implement the extension.
I have not been able to make it work.
Do you have a video or tutorial?

Ya, sure, by tomorrow eve, i will do so

2 Likes

Good night friend, did you manage to put this extension into operation?
Would you be so kind to help me with a video or aia that helps me to implement it in my apps?

Thanks !

I wil provide aia soon and also :

In order to prevent app crashes, u need to drag firebase authentication as, aix is dependent on it for some dependencies

3 Likes

For reference of users

Going to import in my project.
By the way after create any event how many time take to show in Firebase ?

I tried first time and it took 1 day to display :slight_smile:

1 Like

Hi UB,

This is really cool, I’m interested in tracking my project with FB, but when I build with the latest version of Kodular, it is not able to build aabs. I tested even with the fire.aia you released on the other thread with how to use extension. This is the error log I get:
Kodular is unable to compile this project.
The compiler error output was
________Preparing application icon
________Creating animation xml
________Creating fragment xml
________Creating listview xml in res/layout/…
________Creating listview xml in res/layout-v21/…
________Creating xml in res/drawable/…
________Creating splash png in res/drawable/…
________Creating colors xml
________Creating styles xml
________Creating drawables xml v21
________Checking for firebase
________________Firebase components found.
________________Firebase config file error.
.
Edit:
I did test on my actual project and added the google services.json etc, with same error.

Error comes because you didn’t add google-services.json

I realized that may pop up, so I edited my op under my log that I have already done that, and my original project which does have a firebase project gets stuck at 85% building always still.

Still same error ? Firebase config file error ? If yes

  1. Make sure that google-services.json is in assets.
  2. Make sure it doesn’t have a number, like google-services(1).json.
  3. The package name of your app, and the package name you provided to firebase to download β€œgoogle-services.json” MUST be the same
  4. and finally check if firebase url is missing from json
1 Like

Thank you, I will check these things :+1:

1 Like

I went through your check, the firebase url I was missing, thanks again.

I’m still a bit β€œwet behind the ears” with Firebase, but I checked my Real-time Database and app settings and ids were matching, checked my google-services.json, rebuilt my app and unfortunately having an error still, but the log is different. However, when I remove the ext. it builds again:
Kodular is unable to compile this project.
The compiler error output was
________Preparing application icon
________Creating animation xml
________Creating fragment xml
________Creating listview xml in res/layout/…
________Creating listview xml in res/layout-v21/…
________Creating xml in res/drawable/…
________Creating splash png in res/drawable/…
________Creating colors xml
________Creating styles xml
________Creating drawables xml v21
________Checking for firebase
________________Firebase components found.
________________Firebase config file successfully added.
________Creating provider_path xml
________Creating network_security_config xml
________Generating adaptive icon file
________Generating round adaptive icon file
________Generating adaptive icon background file
________Generating manifest file
________Attaching native libraries
________Attaching Android Archive (AAR) libraries
________Attaching component assets
________Invoking AAPT
AAPT2 compile time: 0.423 seconds
AAPT2 link time: 1.274 seconds
________Compiling source files
(compiling ************************************/Screen1.yail to ***********************************************.Screen1)
(compiling /tmp/runtime363568459752595713.scm to com.google.youngandroid.runtime)
Kawa compile time: 3.695 seconds
________Invoking DX
DX time: 37.04 seconds
___________Creating structure
___________Extracting protobuf resources
________Running bundletool
.

I could be missing something obvious, but checking the log, not sure. (*Note I intentionally obfuscated just my project name and such).

@UnknownBeast
It already worked but only the first time and the rest of the times it didn’t work
Even though I have a google file in the media
What is the cause of the problem and is there a solution?

What is use of Tag and Value in Log block?