diff --git a/.env b/.env
index bed8bdca7..09ba09af7 100644
--- a/.env
+++ b/.env
@@ -1,2 +1,4 @@
+REACT_APP_VERSION=$npm_package_version
+
REACT_APP_TELEGRAM_API_ID=
REACT_APP_TELEGRAM_API_HASH=
diff --git a/public/custom-service-worker.js b/public/custom-service-worker.js
index fa45a20e6..0a20d737e 100644
--- a/public/custom-service-worker.js
+++ b/public/custom-service-worker.js
@@ -5,7 +5,6 @@
* LICENSE file in the root directory of this source tree.
*/
// import TdClient from 'tdweb/dist/tdweb';
-// import packageJson from '../package';
// importScripts('./tdweb.js');
// importScripts('./subworkers.js');
@@ -272,7 +271,7 @@ self.addEventListener('message', async e => {
// // system_language_code: 'en',
// // device_model: 'Web',
// // system_version: 'Unknown',
-// // application_version: '0.0.1',//packageJson.version,
+// // application_version: '0.0.1',//process.env.REACT_APP_VERSION,
// // use_secret_chats: false,
// // use_message_database: true,
// // use_file_database: false,
diff --git a/src/Components/ColumnLeft/Settings/Main.js b/src/Components/ColumnLeft/Settings/Main.js
index 17e0aa01e..2b2da0efc 100644
--- a/src/Components/ColumnLeft/Settings/Main.js
+++ b/src/Components/ColumnLeft/Settings/Main.js
@@ -22,7 +22,6 @@ import SettingsMenuButton from './SettingsMenuButton';
import UnmuteIcon from '../../../Assets/Icons/Unmute';
import DataIcon from '../../../Assets/Icons/Data';
import LanguageIcon from '../../../Assets/Icons/Language';
-import packageJson from '../../../../package.json';
import { setProfileMediaViewerContent } from '../../../Actions/Client';
import ChatStore from '../../../Stores/ChatStore';
import './Main.css';
@@ -115,7 +114,7 @@ class Main extends React.Component {