Live video on the AT Protocol
at eli/multitesting 36 lines 1.0 kB view raw
1import { Image, Linking, TouchableOpacity, View } from "react-native"; 2 3const RATIO = 3.39741547176; 4const WIDTH = 200; 5const HEIGHT = 200 / RATIO; 6 7export default function GetApps() { 8 return ( 9 <View style={[{ justifyContent: "center" }, { flexDirection: "row" }]}> 10 <TouchableOpacity 11 onPress={() => 12 Linking.openURL( 13 "https://apps.apple.com/us/app/streamplace/id6535653195", 14 ) 15 } 16 > 17 <Image 18 style={[{ width: WIDTH, height: HEIGHT, marginHorizontal: 8 }]} 19 source={require("../assets/images/appstore.svg")} 20 /> 21 </TouchableOpacity> 22 <TouchableOpacity 23 onPress={() => 24 Linking.openURL( 25 "https://play.google.com/store/apps/details?id=tv.aquareum", 26 ) 27 } 28 > 29 <Image 30 style={[{ width: WIDTH, height: HEIGHT, marginHorizontal: 8 }]} 31 source={require("../assets/images/playstore.svg")} 32 /> 33 </TouchableOpacity> 34 </View> 35 ); 36}