feat: add and enhance PermitsScreen and RequestPermitModal

- add LoadingScreen component
- update utilities
This commit is contained in:
2025-12-15 17:20:57 +01:00
parent b9807f6cc2
commit ef88c518d1
9 changed files with 166 additions and 122 deletions

View File

@ -1,8 +1,7 @@
import axios from 'axios';
import AsyncStorage from '@react-native-async-storage/async-storage';
import * as SecureStore from 'expo-secure-store';
const API_BASE_URL = `http://10.0.2.2:32768/mobile`;
const API_BASE_URL = process.env.EXPO_PUBLIC_API_URL;
export const KEY_TOKEN = 'auth_key';
// Crea un'istanza di axios