Skip to content

Commit

Permalink
feat(rn,settings) add field with SDK version
Browse files Browse the repository at this point in the history
This helps us know it at a glance, from applications using it, without
having to look at any logs.
  • Loading branch information
saghul committed Jun 29, 2023
1 parent a8e2fcd commit 699b797
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lang/main.json
Original file line number Diff line number Diff line change
Expand Up @@ -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}}",
Expand Down
8 changes: 8 additions & 0 deletions react/features/settings/components/native/SettingsView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -385,6 +385,14 @@ class SettingsView extends Component<IProps, IState> {
{`${AppInfo.version} build ${AppInfo.buildNumber}`}
</Text>
</FormRow>
{/* @ts-ignore */}
<Divider style = { styles.fieldSeparator } />
<FormRow
label = 'settingsView.sdkVersion'>
<Text style = { styles.text }>
{AppInfo.sdkVersion}
</Text>
</FormRow>
</FormSection>
<FormSection
label = 'settingsView.advanced'>
Expand Down

0 comments on commit 699b797

Please sign in to comment.