Do Firebase analytics work without Gapps? Out of curiosity, if a user installs Android without Google Apps or APIs and then installs an app that includes Firebase analytics, will the analytics function? Will the app still send something to Firebase, or will it open an empty connection, or will communication be cut off?

To word this another way, is it the Google apps (Play Services, service frameworks, etc.) that open a connection to Firebase, or is it the app itself that does so? Or, does this vary from app to app?
As evident from these FAQs:


  
  I don't want to use other Firebase products (such as Analytics).
  
  
  Google Analytics for Firebase is enabled by default to provide the full range of FCM features. However, it can be disabled. The FCM SDK's only hard dependency is Google Play Services (which was also a dependency in GCM).


The code which creates connection to Firebase servers is part of Play Services. Apps make use of Google APIs to use that code. Without GApps none of Google Mobile Services will work and the apps heavily depending on those will refuse to start or may keep crashing. Developers can explain better.

RELATED:


What is the exact functionality of Google Play Services &amp; Google Services Framework (gapps)?
How do certain apps show new notifications when internet access is restricted to them?