Android – How to use Firebase API on Android without the Google Play Service dependency

androidfirebasegoogle-play-servicesrest

I want to develop a Chat App on Android that uses the Firebase API. But the issue I found with the Firebase is that the App will not work properly if the device is no having the Google Play services installed in it.

When I tested the App on my personal device, it wasn't working in it even though the device had the Play Services in it, but an older version. I would really like to remove this dependency of Firebase on the Play services. Is there anyway?

Can we use the options like REST API or the Javascript calls from the mobile devices to connect to firebase?

Best Answer

The Firebase SDK for Android is based on Google Play Services.
You can't avoid or skip the dependencies.

If you want to use the REST API you can check the official guide, but only a few services are available.