Commit c1d995fd authored by Esala Senrathna's avatar Esala Senrathna

integration updates

parent 12c06786
......@@ -13,6 +13,7 @@
"@react-navigation/stack": "^6.3.16",
"expo": "~48.0.9",
"expo-av": "^13.2.1",
"expo-linking": "^4.0.1",
"expo-screen-orientation": "~5.1.1",
"expo-status-bar": "~1.4.4",
"react": "18.2.0",
......@@ -5575,6 +5576,11 @@
"resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.11.tgz",
"integrity": "sha512-E5Kwq2n4SbMzQOn6wnmBjuK9ouqlURrcZDVfbo9ftDDTFt3nk7ZKK4GMOzoYgnpQJKcxwQw+lGaBvvlMo0qN/Q=="
},
"node_modules/@types/qs": {
"version": "6.9.7",
"resolved": "https://registry.npmjs.org/@types/qs/-/qs-6.9.7.tgz",
"integrity": "sha512-FGa1F62FT09qcrueBA6qYTrJPVDzah9a+493+o2PCXsesWHIn27G98TsSMs3WPNbZIEj4+VJf6saSFpvD+3Zsw=="
},
"node_modules/@types/stack-utils": {
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/@types/stack-utils/-/stack-utils-2.0.1.tgz",
......@@ -7835,6 +7841,30 @@
"expo": "*"
}
},
"node_modules/expo-linking": {
"version": "4.1.0",
"resolved": "https://registry.npmjs.org/expo-linking/-/expo-linking-4.1.0.tgz",
"integrity": "sha512-XDeBs2UuaO982spQyyVS0h7fk1UNNf6GXoqtChm2li5a7ZeeLue8btUFTZJIc3758Z5mejfDoGIgK48Rs0T3ow==",
"dependencies": {
"@types/qs": "^6.9.7",
"expo-constants": "~14.3.0",
"invariant": "^2.2.4",
"qs": "^6.11.0",
"url-parse": "^1.5.9"
}
},
"node_modules/expo-linking/node_modules/expo-constants": {
"version": "14.3.0",
"resolved": "https://registry.npmjs.org/expo-constants/-/expo-constants-14.3.0.tgz",
"integrity": "sha512-O8b+mZlPXZGH4wLLd+jMihGD0ZSMJRSmSsmcG7T60jHU3Dw4yDIuzHM/wMoBoL1pxLIbEwvcwDj0w8c+Sn+1sQ==",
"dependencies": {
"@expo/config": "~8.0.0",
"uuid": "^3.3.2"
},
"peerDependencies": {
"expo": "*"
}
},
"node_modules/expo-modules-autolinking": {
"version": "1.2.0",
"resolved": "https://registry.npmjs.org/expo-modules-autolinking/-/expo-modules-autolinking-1.2.0.tgz",
......@@ -19352,6 +19382,11 @@
"resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.11.tgz",
"integrity": "sha512-E5Kwq2n4SbMzQOn6wnmBjuK9ouqlURrcZDVfbo9ftDDTFt3nk7ZKK4GMOzoYgnpQJKcxwQw+lGaBvvlMo0qN/Q=="
},
"@types/qs": {
"version": "6.9.7",
"resolved": "https://registry.npmjs.org/@types/qs/-/qs-6.9.7.tgz",
"integrity": "sha512-FGa1F62FT09qcrueBA6qYTrJPVDzah9a+493+o2PCXsesWHIn27G98TsSMs3WPNbZIEj4+VJf6saSFpvD+3Zsw=="
},
"@types/stack-utils": {
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/@types/stack-utils/-/stack-utils-2.0.1.tgz",
......@@ -21079,6 +21114,29 @@
"integrity": "sha512-hqeCnb4033TyuZaXs93zTK7rjVJ3bywXATyMmKmKkLEsH2PKBAl/VmjlCOPQL/2Ncqz6aj7Wo//tjeJTARBD4g==",
"requires": {}
},
"expo-linking": {
"version": "4.1.0",
"resolved": "https://registry.npmjs.org/expo-linking/-/expo-linking-4.1.0.tgz",
"integrity": "sha512-XDeBs2UuaO982spQyyVS0h7fk1UNNf6GXoqtChm2li5a7ZeeLue8btUFTZJIc3758Z5mejfDoGIgK48Rs0T3ow==",
"requires": {
"@types/qs": "^6.9.7",
"expo-constants": "~14.3.0",
"invariant": "^2.2.4",
"qs": "^6.11.0",
"url-parse": "^1.5.9"
},
"dependencies": {
"expo-constants": {
"version": "14.3.0",
"resolved": "https://registry.npmjs.org/expo-constants/-/expo-constants-14.3.0.tgz",
"integrity": "sha512-O8b+mZlPXZGH4wLLd+jMihGD0ZSMJRSmSsmcG7T60jHU3Dw4yDIuzHM/wMoBoL1pxLIbEwvcwDj0w8c+Sn+1sQ==",
"requires": {
"@expo/config": "~8.0.0",
"uuid": "^3.3.2"
}
}
}
},
"expo-modules-autolinking": {
"version": "1.2.0",
"resolved": "https://registry.npmjs.org/expo-modules-autolinking/-/expo-modules-autolinking-1.2.0.tgz",
......@@ -15,6 +15,14 @@ const HomeScreen = ({ navigation }) => {
}
}
const openObjectDetectApp = () => {
try {
Linking.openURL("objectdetect://game");
} catch (error) {
console.log("error on open Object detect app "+error);
}
}
return (
<View style={styles.container}>
......@@ -32,7 +40,7 @@ const HomeScreen = ({ navigation }) => {
<Text style={styles.buttonText}>Quiz River</Text>
</TouchableOpacity>
<TouchableOpacity style={styles.button3} onPress={() => navigation.navigate('ObjectExplore')}>
<TouchableOpacity style={styles.button3} onPress={() => openObjectDetectApp()}>
<Image source={require('./assets/home/balloon.png')} style={styles.buttonImage} resizeMode="cover" />
<Text style={styles.buttonText}>Explore</Text>
</TouchableOpacity>
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment