Configure your .env file with the following keys:
TRANSLATE_API_KEY=
apiKey=
authDomain=
databaseURL=
projectId=
storageBucket=
messagingSenderId=
appId=
measurementId=
uri=
ip_geo_api=-
/DepartmentEmployees/{id}Active: trueDepartmentId: {DepartmentId}EmployeeId: {PersonId}EndDate: "Null"Permissions"Admin": true"ManageDepartments": true"ManagePersons": true"ManageSubjects": true"ManageTasks": true"Read": true"Write": true
-
/Departments/{id}Active: trueDepartmentDescription: "Description"DepartmentId: "DepartmentId"DepartmentName: "Name"PDFUrl: "null"Permissions"Admin": true"ManageDepartments": true"ManagePersons": true"ManageTasks": true
-
/Persons/1AccountType: "Employee"Name: "John"NfcId: "null"PersonId: "PersonId"Surname: "Doe"
-
/User/ORCo6Dt18LZ0MdPHv6PHVZgPvob2EMail: "johndoe@hotmail.com"PersonId: "1"UserId: "ORCo6Dt18LZ0MdPHv6PHVZgPvob2"
- Create an account with the email
johndoe@hotmail.comin Firebase Auth. - Set the
/User/{id}field in Firebase Realtime Database to match the Firebase Auth UID.
In addition to the above setup, you will also need to make changes to the AndroidManifest.xml file in your Android project to ensure proper configuration. These changes might include:
-
Internet Permissions:
- Ensure that your app has permission to access the internet:
<uses-permission android:name="android.permission.INTERNET" />
- Ensure that your app has permission to access the internet:
-
Access to Network State (Optional):
- If you need to check network status, add:
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
- If you need to check network status, add:
-
Firebase Services:
- Make sure that Firebase services are correctly initialized by adding the following inside the
<application>tag:<meta-data android:name="com.google.firebase.messaging.default_notification_channel_id" android:value="@string/default_notification_channel_id" /> <meta-data android:name="com.google.firebase.analytics.APP_MEASUREMENT_EVENT_ID" android:value="id" />
- Make sure that Firebase services are correctly initialized by adding the following inside the
-
Google Maps or Location Services (if used):
- If your application uses Google Maps or location services:
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" /> <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" /> <meta-data android:name="com.google.android.geo.API_KEY" android:value="TRANSLATE_API_KEY"/>
- If your application uses Google Maps or location services: