mirror of
https://git.rezel.net/LudoTech/traque.git
synced 2026-04-10 16:30:18 +02:00
Fixs
This commit is contained in:
@@ -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>
|
||||
</>);
|
||||
};
|
||||
|
||||
@@ -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: {
|
||||
|
||||
@@ -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."
|
||||
},
|
||||
|
||||
@@ -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."
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user