This commit is contained in:
Sebastien Riviere
2026-02-22 01:50:26 +01:00
parent 405b2934c8
commit 0196bd7714
7 changed files with 21 additions and 21 deletions

View File

@@ -8,8 +8,8 @@ const LocationPermission = () => {
return (<>
<View style={styles.container}>
<Image style={styles.image} source={require("@/assets/images/placement.png")} />
<Text style={styles.title}>{t("location-permission.title")}</Text>
<Text style={styles.subtitle}>{t("location-permission.subtitle")}</Text>
<Text style={styles.title}>{t("location_permission.title")}</Text>
<Text style={styles.subtitle}>{t("location_permission.subtitle")}</Text>
</View>
</>);
};

View File

@@ -16,13 +16,13 @@ export const INITIAL_REGIONS = {
export const LOCATION_PARAMETERS = {
LOCAL: {
accuracy: 4, // High
distanceInterval: 3, // meters
timeInterval: 1000, // ms
distanceInterval: 0, // meters
timeInterval: 3000, // ms
},
SERVER: {
accuracy: 4, // High
distanceInterval: 5, // meters
timeInterval: 5000, // ms
distanceInterval: 0, // meters
timeInterval: 10000, // ms
showsBackgroundLocationIndicator: true, // iOS only
pausesUpdatesAutomatically: false, // (iOS) Prevents auto-pausing of location updates
foregroundService: {

View File

@@ -2,7 +2,7 @@
"common": {
"no_value": "Unavailable"
},
"location-permission": {
"location_permission": {
"title": "Please enable background location in settings and restart the app.",
"subtitle": "Each team's location must be known by the server and organizers to ensure the game runs smoothly."
},

View File

@@ -2,7 +2,7 @@
"common": {
"no_value": "Indisponible"
},
"location-permission": {
"location_permission": {
"title": "Veuillez activer la localisation en arrière plan dans les paramètres et relancer l'application.",
"subtitle": "La localisation de chaque équipe doit être connue par le serveur et les organisateurs pour veiller au bon déroulement du jeu."
},