Issue
I am working on my Final year project, which is an android native app, using Kotlin. my question is how to connect firebase with all modules do I need to copy the JSON file in every module as well as add all the required dependencies in every module i.e. auth module, resources module, etc. I am confused about this I think this would be really hard to maintain.
Please give me some best suggestions on how to handle multi-module project effectively
Solution
No need to add dependency in each and every module, let's just keep all the firebase related handling in separate firebase module and add that module in main app module. From app module you can simply call the implementation in firebase module and make it work.
PS: please make sure the project you are gonna develop has to be multi-module. Not every app needs to develop on multi-module approach IMO.
Answered By - Malik Basit
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.