Penambahan metode login dengan menerapkan EULA di awal

Add:
app/eula.tsx
screens/Authentication/EULAView.tsx

Fix:
- context/AuthContext.tsx
- screens/Authentication/RegisterView.tsx
- screens/RootLayout/AppRoot.tsx
- service/api-config.ts

### No Issue
This commit is contained in:
2026-01-09 17:44:13 +08:00
parent 33cd47aaed
commit ea3fbdc541
7 changed files with 357 additions and 35 deletions

View File

@@ -74,3 +74,10 @@ export async function apiAcceptTermService({
return response.data;
}
export async function apiUpdatedTermCondition({nomor}: {nomor: string}) {
const response = await apiConfig.post(`/auth/mobile-eula`, {
nomor: nomor,
});
return response.data;
}