From 952eb1b9b58362cc4ead737554872197ae8a89b1 Mon Sep 17 00:00:00 2001 From: Ivan Chen Date: Tue, 9 Feb 2021 14:06:06 -0500 Subject: added actual url to redirect, fixed bug for twitter handle redirect --- src/screens/onboarding/UpdateRequired.tsx | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'src/screens') diff --git a/src/screens/onboarding/UpdateRequired.tsx b/src/screens/onboarding/UpdateRequired.tsx index 17fcc6cf..adf7ba71 100644 --- a/src/screens/onboarding/UpdateRequired.tsx +++ b/src/screens/onboarding/UpdateRequired.tsx @@ -1,5 +1,5 @@ import React from 'react'; -import {Image, Modal, StyleSheet, View} from 'react-native'; +import {Image, Linking, Modal, StyleSheet, View} from 'react-native'; import {Text} from 'react-native-animatable'; import {CenteredView, TaggSquareButton} from '../../components'; import {normalize, SCREEN_WIDTH} from '../../utils'; @@ -24,7 +24,11 @@ const UpdateRequired: React.FC = ({visible}) => { {}} + onPress={() => { + Linking.openURL( + 'https://apps.apple.com/us/app/tagg-discover-your-community/id1537853613', + ); + }} buttonStyle={'normal'} buttonColor={'purple'} labelColor={'white'} -- cgit v1.2.3-70-g09d2