diff --git a/packages/app/constants/settings/about/index.jsx b/packages/app/constants/settings/about/index.jsx index 51caafc7..ada173a6 100755 --- a/packages/app/constants/settings/about/index.jsx +++ b/packages/app/constants/settings/about/index.jsx @@ -70,6 +70,15 @@ export default { const [serverHealth, setServerHealth] = React.useState(null) const [secureConnection, setSecureConnection] = React.useState(false) const [connectionPing, setConnectionPing] = React.useState({}) + const [capInfo, setCapInfo] = React.useState(null) + + const setCapacitorInfo = async () => { + if (Capacitor.Plugins.App) { + const info = await Capacitor.Plugins.App.getInfo() + + setCapInfo(info) + } + } const checkServerVersion = async () => { const serverManifest = await app.cores.api.customRequest() @@ -117,6 +126,8 @@ export default { fetchServerHealth() measurePing() + setCapacitorInfo() + const measureInterval = setInterval(() => { fetchServerHealth() measurePing() @@ -191,6 +202,8 @@ export default { alignItems: "center", gap: "0.5rem", fontSize: "1.4rem", + justifyContent: "space-evenly", + width: "100%", }} >
App ID
+App Build
+App Version
+