'How to create 2 version of app (admin and user)
Hi i'm a college student and i'm taking mobile development class (1 month in) so please tolerate me for my lack of knowledge. I want to make an android app that has 2 version (admin version, user version), how can i do that ?
do i make 2 app and then connect it to a database (firebase) and then make 1 app has access ? (how can i do this)
is there anywhere to read about firebase (database, auth, etc) preferably a book ?
what book is the best for mobile development (on my class we use android studio with java) ?
Thank you in advance
(sorry for my bad english)
Solution 1:[1]
To answer your questions, I would like to recommend you to separate the apps between Admin Version and User Version. By doing this way, you will prepare for a big picture for your system and it will make you easy in the future.
Yes, you can create 2 apps for 1 database (Firebase). You can refer image below:
You can go to the Project Overview and add new application.
(Example, you already added an app for Admin, now you can add another one which is for User)
Once you finished add your new application to the Firebase, now you can develop your apps.
(google-services.json add to your new apps)
You can refer to this link
https://firebase.google.com/docs/database/android/start
You can refer to this link also (maybe will help you in coding later)
https://firebase.google.com/codelabs/firebase-android#0
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Ticherhaz FreePalestine |

