Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android Integrating Firebase Messaging in Library Module

I am implementing a Android Library Module which will be given as .jar / .aar to other parties. One of the features I am trying to include is Firebase Push Notifications into library.

But as there would no applicationId for a library project, I really couldn't find a way to integrate Firebase into my module (In order to download google-services.json, we need applicationId or package name, google-playservices in .gradle).

Please suggest me if there is any other workaround regarding this.

Thank You

like image 958
Minion Avatar asked Apr 17 '26 20:04

Minion


1 Answers

Firebaser here

Firebase features are integrated at the level of the entire app, not on a per-module or per-library basis. What you are trying to do is not a supported use case.

like image 184
Doug Stevenson Avatar answered Apr 19 '26 15:04

Doug Stevenson



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!