Move appStoreID to app.json

This commit is contained in:
Diego Mello 2020-03-11 17:27:45 -03:00
parent 91ef492e94
commit f1fb77bf78
2 changed files with 3 additions and 2 deletions

View File

@ -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"
}

View File

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