verdnatura-chat/app/lib/constants/links.ts

12 lines
625 B
TypeScript
Raw Normal View History

import { getBundleId, isIOS } from '../../utils/deviceInfo';
2020-02-03 18:28:18 +00:00
const APP_STORE_ID = '1148741252';
2020-02-03 18:28:18 +00:00
export const PLAY_MARKET_LINK = `https://play.google.com/store/apps/details?id=${getBundleId}`;
export const FDROID_MARKET_LINK = 'https://f-droid.org/en/packages/chat.rocket.android';
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';
export const STORE_REVIEW_LINK = isIOS
? `itms-apps://itunes.apple.com/app/id${APP_STORE_ID}?action=write-review`
: `market://details?id=${getBundleId}`;