diff --git a/.env.example b/.env.example index 9368d8496620..0007bef5b6d9 100644 --- a/.env.example +++ b/.env.example @@ -1,7 +1,6 @@ /** * Rename this file to `.env` and put your local config in here */ -REPORT_IDS=1,2,3 EXPENSIFY_API_ROOT=https://www.expensify.com.dev/api? EXPENSIFY_PARTNER_NAME=android EXPENSIFY_PARTNER_PASSWORD=c3a9ac418ea3f152aae2 diff --git a/.env.production b/.env.production index 4250cc13d28f..c83821d5c79a 100644 --- a/.env.production +++ b/.env.production @@ -1,4 +1,3 @@ -REPORT_IDS= EXPENSIFY_API_ROOT=https://www.expensify.com/api? EXPENSIFY_PARTNER_NAME=chat-expensify-com EXPENSIFY_PARTNER_PASSWORD=e21965746fd75f82bb66 diff --git a/README.md b/README.md index 121eda1bda65..e2a78a32c0c8 100644 --- a/README.md +++ b/README.md @@ -47,7 +47,7 @@ This application is built with the following principles. 1. Install `node` & `npm`: `brew install node` 2. Install `watchman`: `brew install watchman` 3. Install dependencies: `npm install` -4. Run `cp .env.example .env` and edit `.env` to have your local config options(for example, we are curretly hardcoding the pinned chat reports IDs with the `REPORT_IDS` config option). +4. Run `cp .env.example .env` and edit `.env` to have your local config options. You can use any IDE or code editing tool for developing on any platform. Use your favorite! diff --git a/src/CONFIG.js b/src/CONFIG.js index a9e2afd392e9..f2e8b2f15ec9 100644 --- a/src/CONFIG.js +++ b/src/CONFIG.js @@ -14,7 +14,6 @@ export default { APP_KEY: Config.PUSHER_APP_KEY, CLUSTER: 'mt1', }, - REPORT_IDS: Config.REPORT_IDS, SITE_TITLE: 'Chat', FAVICON: { DEFAULT: 'favicon.png', diff --git a/src/lib/actions/Report.js b/src/lib/actions/Report.js index 0c04f97f6331..83ae305f037e 100644 --- a/src/lib/actions/Report.js +++ b/src/lib/actions/Report.js @@ -5,7 +5,6 @@ import ExpensiMark from 'js-libs/lib/ExpensiMark'; import Ion from '../Ion'; import * as API from '../API'; import IONKEYS from '../../IONKEYS'; -import CONFIG from '../../CONFIG'; import * as Pusher from '../Pusher/pusher'; import promiseAllSettled from '../promiseAllSettled'; import Notification from '../Notification'; @@ -51,7 +50,7 @@ Ion.connect({ const reportMaxSequenceNumbers = {}; // List of reportIDs that we define in .env -const configReportIDs = CONFIG.REPORT_IDS.split(',').map(Number); +const configReportIDs = ''; /** * Checks the report to see if there are any unread action items