Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(ui): show a message when a new version is available #534

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions assets/translations/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,8 @@
"navigate": "Navigate",
"newItems": "New item",
"newItems_plural": "New items",
"newVersionTitle": "A new version is on the store!",
"newVersionBody": "A new version of PoliTO Students ({{newVersion}}) is available.\n\nUpdate it from the <0>store</0> to access all the new features and avoid malfunctions.",
"next": "Next",
"noInternet": "You are offline, some features may not be available",
"noValue": "No value",
Expand Down
2 changes: 2 additions & 0 deletions assets/translations/it.json
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,8 @@
"navigate": "Naviga",
"newItems": "Nuovo elemento",
"newItems_plural": "Nuovi elementi",
"newVersionTitle": "Una nuova versione è sullo store!",
"newVersionBody": "È disponibile una nuova versione di PoliTO Students ({{newVersion}}).\n\nAggiornala dallo <0>store</0> per avere a disposizione tutte le nuove funzionalità e non incorrere in malfunzionamenti.",
"next": "Avanti",
"noInternet": "Sei offline, alcune funzionalità potrebbero non essere disponibili",
"noValue": "Nessun valore",
Expand Down
6 changes: 6 additions & 0 deletions ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -546,6 +546,8 @@ PODS:
- React-Core
- react-native-safe-area-context (4.7.4):
- React-Core
- react-native-version-check (3.4.7):
- React-Core
- react-native-video (5.2.1):
- React-Core
- react-native-video/Video (= 5.2.1)
Expand Down Expand Up @@ -801,6 +803,7 @@ DEPENDENCIES:
- react-native-pdf (from `../node_modules/react-native-pdf`)
- react-native-render-html (from `../node_modules/react-native-render-html`)
- react-native-safe-area-context (from `../node_modules/react-native-safe-area-context`)
- react-native-version-check (from `../node_modules/react-native-version-check`)
- react-native-video (from `../node_modules/react-native-video`)
- React-NativeModulesApple (from `../node_modules/react-native/ReactCommon/react/nativemodule/core/platform/ios`)
- React-perflogger (from `../node_modules/react-native/ReactCommon/reactperflogger`)
Expand Down Expand Up @@ -946,6 +949,8 @@ EXTERNAL SOURCES:
:path: "../node_modules/react-native-render-html"
react-native-safe-area-context:
:path: "../node_modules/react-native-safe-area-context"
react-native-version-check:
:path: "../node_modules/react-native-version-check"
react-native-video:
:path: "../node_modules/react-native-video"
React-NativeModulesApple:
Expand Down Expand Up @@ -1083,6 +1088,7 @@ SPEC CHECKSUMS:
react-native-pdf: b4ca3d37a9a86d9165287741c8b2ef4d8940c00e
react-native-render-html: 984dfe2294163d04bf5fe25d7c9f122e60e05ebe
react-native-safe-area-context: 2cd91d532de12acdb0a9cbc8d43ac72a8e4c897c
react-native-version-check: 6cd36aad4e30b8e3216747e3b4ddeb09e0647af8
react-native-video: c26780b224543c62d5e1b2a7244a5cd1b50e8253
React-NativeModulesApple: 83cd035f454ac54f4f72ce7b01c34054fa6d60f8
React-perflogger: de3900e86d8a4d896999b08e0b130ad8b83ebf11
Expand Down
173 changes: 153 additions & 20 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@
"react-native-screens": "^3.21.1",
"react-native-svg": "^15.2.0",
"react-native-tab-view": "^3.5.2",
"react-native-version-check": "^3.4.7",
"react-native-video": "^5.2.1",
"react-string-replace": "^1.1.0",
"react-usestateref": "^1.0.8",
Expand Down Expand Up @@ -121,6 +122,7 @@
"@types/react-native-dotenv": "^0.2.0",
"@types/react-native-html-to-pdf": "^0.8.1",
"@types/react-native-pdf-lib": "^0.2.1",
"@types/react-native-version-check": "^3.4.8",
"@types/react-native-video": "^5.0.14",
"@types/react-test-renderer": "^18.0.0",
"@typescript-eslint/eslint-plugin": "^5.54.1",
Expand Down
Loading
Loading