verdnatura-chat/app/constants/links.js

9 lines
539 B
JavaScript
Raw Normal View History

2020-02-03 18:28:18 +00:00
import { getBundleId, isIOS } from '../utils/deviceInfo';
const APP_STORE_ID = '1272915472';
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 }`;
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 }`;