2020-02-03 18:28:18 +00:00
|
|
|
import { getBundleId, isIOS } from '../utils/deviceInfo';
|
|
|
|
|
2021-01-22 19:52:25 +00:00
|
|
|
const APP_STORE_ID = '1148741252';
|
2020-02-03 18:28:18 +00:00
|
|
|
|
2021-09-13 20:41:05 +00:00
|
|
|
export const PLAY_MARKET_LINK = `https://play.google.com/store/apps/details?id=${getBundleId}`;
|
2020-08-24 12:24:10 +00:00
|
|
|
export const FDROID_MARKET_LINK = 'https://f-droid.org/en/packages/chat.rocket.android';
|
2021-09-13 20:41:05 +00:00
|
|
|
export const APP_STORE_LINK = `https://itunes.apple.com/app/id${APP_STORE_ID}`;
|
2019-08-08 18:28:51 +00:00
|
|
|
export const LICENSE_LINK = 'https://github.com/RocketChat/Rocket.Chat.ReactNative/blob/develop/LICENSE';
|
2021-09-13 20:41:05 +00:00
|
|
|
export const STORE_REVIEW_LINK = isIOS
|
|
|
|
? `itms-apps://itunes.apple.com/app/id${APP_STORE_ID}?action=write-review`
|
|
|
|
: `market://details?id=${getBundleId}`;
|