- Forum posts: 1
Jun 24, 2019, 12:37:02 PM via Website
Jun 24, 2019 12:37:02 PM via Website
Hi,
I am Shubham & I'm working in a mobile app development company & doing a project with firestore...so the app I'm working on have model classes.
I need to import data to preload firestore (reference data, test data and so on) so I used admin SDK but the preload code needs models classes too.
My question :
How organize my project :
1) Should I put admin classes (that do import with a main function) in the app module and tell gradle to not put it in the app when building ?
2) Should I put my admin classes in another module (android library, ..) but in this case where should be my models classes ? in the app module, in the library module, .. ?
Please advice
Ty for your help...
Recommended editorial content
With your consent, external content is loaded here.
By clicking on the button above, you agree that external content may be displayed to you. Personal data may be transmitted to third-party providers in the process. You can find more information about this in our Privacy Policy.