I am trying to use firebase's real-time database with android instant app. Looking at google doc for using the real-time database, I do have bit of idea. However the example that google provide is base on android app, not the instant one. As you know that there are multiple modules for instant app. base, app, feature(default name suggested by android studio). Should I add firebase packages in each of appGriddle, baseGriddle and appGriddle?
What about the JSON file generated by firebase... where should I place that JSON file? If the app is not instant one, I know that I just need to place it in app..There are multiple modules...
I try to do it with android studio's firebase tool for configuration. However it does not work. I looked up others attempt;changing "implement" to "api"... It does not work either.
Please let me know if you know a way to deal with instant app and firebase's real-time database together
Thank you.