From c67324d1ee5a2b145433571a2fc81189dc7c4023 Mon Sep 17 00:00:00 2001 From: Dylan Jeffers Date: Fri, 19 Jul 2024 10:55:55 -0700 Subject: [PATCH] [C-4698] Add solana dapp store update link --- .../screens/update-required-screen/UpdateRequiredScreen.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/mobile/src/screens/update-required-screen/UpdateRequiredScreen.tsx b/packages/mobile/src/screens/update-required-screen/UpdateRequiredScreen.tsx index 25806b418c8..b4baf56531e 100644 --- a/packages/mobile/src/screens/update-required-screen/UpdateRequiredScreen.tsx +++ b/packages/mobile/src/screens/update-required-screen/UpdateRequiredScreen.tsx @@ -2,6 +2,7 @@ import { Platform } from 'react-native' import { NewVersionPrompt } from './NewVersionPrompt' +const SOLANA_DAPP_STORE_LINK = 'solanadappstore://details?id=co.audius.app' const ANDROID_PLAY_STORE_LINK = 'https://play.google.com/store/apps/details?id=co.audius.app' const IOS_APP_STORE_LINK = 'itms-apps://us/app/audius-music/id1491270519' @@ -19,7 +20,7 @@ export const UpdateRequiredScreen = () => { const isSolanaPhone = Platform.OS === 'android' && Platform.constants.Model === 'Saga' const url = isSolanaPhone - ? undefined + ? SOLANA_DAPP_STORE_LINK : isAndroid ? ANDROID_PLAY_STORE_LINK : IOS_APP_STORE_LINK