Move appStoreID to app.json
This commit is contained in:
parent
91ef492e94
commit
f1fb77bf78
3
app.json
3
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"
|
||||
}
|
|
@ -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 }`;
|
||||
|
|
Loading…
Reference in New Issue