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 }`;