From f1fb77bf784c2483b1d1348cbc52950871c62b9c Mon Sep 17 00:00:00 2001 From: Diego Mello Date: Wed, 11 Mar 2020 17:27:45 -0300 Subject: [PATCH] Move appStoreID to app.json --- app.json | 3 ++- app/constants/links.js | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/app.json b/app.json index f5238da15..d6f9bc472 100644 --- a/app.json +++ b/app.json @@ -3,5 +3,6 @@ "share": "ShareRocketChatRN", "displayName": "RocketChatRN", "server": "https://open.rocket.chat", - "appGroup": "group.ios.chat.rocket" + "appGroup": "group.ios.chat.rocket", + "appStoreID": "1272915472" } \ No newline at end of file diff --git a/app/constants/links.js b/app/constants/links.js index f676ded9a..f9a15c7a9 100644 --- a/app/constants/links.js +++ b/app/constants/links.js @@ -1,6 +1,6 @@ import { getBundleId, isIOS } from '../utils/deviceInfo'; -const APP_STORE_ID = '1272915472'; +import { appStoreID as APP_STORE_ID } from '../../app.json'; export const PLAY_MARKET_LINK = `https://play.google.com/store/apps/details?id=${ getBundleId }`; export const APP_STORE_LINK = `https://itunes.apple.com/app/id${ APP_STORE_ID }`;