Front: settings persistance (#108)

* Front: Add peristance dependencies

* Front: Fix Cross-platform persistance

* Front: Create Settings Slice

* Front: Use Redux State for settings

* Front: Check if access token is still valid

* Front: Create Language Gate to set correct language at startup

* Front: BEtter handling of Access Token validity
This commit is contained in:
Arthur Jamet
2022-11-26 14:18:06 +00:00
committed by GitHub
parent 8546c86332
commit 55526dbadc
10 changed files with 179 additions and 47 deletions
+3
View File
@@ -14,6 +14,7 @@
},
"dependencies": {
"@expo/vector-icons": "^13.0.0",
"@react-native-async-storage/async-storage": "^1.17.11",
"@react-navigation/native": "^6.0.11",
"@react-navigation/native-stack": "^6.7.0",
"@reduxjs/toolkit": "^1.8.3",
@@ -25,6 +26,7 @@
"expo": "~45.0.0",
"expo-asset": "~8.5.0",
"expo-dev-client": "~1.0.0",
"expo-secure-store": "~11.2.0",
"expo-status-bar": "~1.3.0",
"format-duration": "^2.0.0",
"i18next": "^21.8.16",
@@ -43,6 +45,7 @@
"react-native-testing-library": "^6.0.0",
"react-native-web": "0.17.7",
"react-redux": "^8.0.2",
"redux-persist": "^6.0.0",
"yup": "^0.32.11"
},
"devDependencies": {