behart-live-tour
Advanced tools
Comparing version 0.0.6 to 0.0.7
@@ -64,11 +64,9 @@ import React from 'react'; | ||
buttonClick(uri) { | ||
window.open(uri, '_blank'); | ||
// Linking.canOpenURL(uri).then(supported => { | ||
// if (!supported) { | ||
// console.log('Uri not supported: ', uri); | ||
// } else { | ||
// // return Linking.openURL(uri); | ||
// return window.open(uri, '_blank'); | ||
// } | ||
// }).catch(err => console.error('Linking open URL failed', err)); | ||
Linking.canOpenURL(uri).then(supported => { | ||
if (!supported) { | ||
console.log('Uri not supported: ', uri); | ||
} else { | ||
return Linking.openURL(uri, '_blank'); | ||
} | ||
}).catch(err => console.error('Linking open URL failed', err)); | ||
} | ||
@@ -75,0 +73,0 @@ |
{ | ||
"name": "behart-live-tour", | ||
"version": "0.0.6", | ||
"version": "0.0.7", | ||
"description": "Create VR tours. Built on React VR. LiveTourLab is the #1 open source framework and ecosystem for creating Live Tours. Extend with your own VR components in minutes.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
75025
1713