From 699b797e0f932d767853817d11eaadbb1a274340 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sa=C3=BAl=20Ibarra=20Corretg=C3=A9?= Date: Thu, 29 Jun 2023 11:05:14 +0200 Subject: [PATCH] feat(rn,settings) add field with SDK version This helps us know it at a glance, from applications using it, without having to look at any logs. --- lang/main.json | 3 ++- .../features/settings/components/native/SettingsView.tsx | 8 ++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/lang/main.json b/lang/main.json index b01a34001b7..379ee366ebf 100644 --- a/lang/main.json +++ b/lang/main.json @@ -1073,13 +1073,14 @@ "links": "Links", "privacy": "Privacy", "profileSection": "Profile", + "sdkVersion": "SDK version", "serverURL": "Server URL", "showAdvanced": "Show advanced settings", "startCarModeInLowBandwidthMode": "Start car mode in low bandwidth mode", "startWithAudioMuted": "Start with audio muted", "startWithVideoMuted": "Start with video muted", "terms": "Terms", - "version": "Version" + "version": "App version" }, "share": { "dialInfoText": "\n\n=====\n\nJust want to dial in on your phone?\n\n{{defaultDialInNumber}}Click this link to see the dial in phone numbers for this meeting\n{{dialInfoPageUrl}}", diff --git a/react/features/settings/components/native/SettingsView.tsx b/react/features/settings/components/native/SettingsView.tsx index 5c0072689ff..bb8a8b320f7 100644 --- a/react/features/settings/components/native/SettingsView.tsx +++ b/react/features/settings/components/native/SettingsView.tsx @@ -385,6 +385,14 @@ class SettingsView extends Component { {`${AppInfo.version} build ${AppInfo.buildNumber}`} + {/* @ts-ignore */} + + + + {AppInfo.sdkVersion} + +