File tree Expand file tree Collapse file tree 3 files changed +13
-6
lines changed Expand file tree Collapse file tree 3 files changed +13
-6
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ import { reloadAppAsync } from 'expo';
66import { Text , View } from '@/components/Themed' ;
77import { setScopeProperties } from '@/utils/setScopeProperties' ;
88import React from 'react' ;
9+ import * as WebBrowser from 'expo-web-browser' ;
910
1011const isRunningInExpoGo = Constants . appOwnership === 'expo'
1112
@@ -84,6 +85,12 @@ export default function TabOneScreen() {
8485 } }
8586 />
8687 < Button title = "Reload" onPress = { ( ) => reloadAppAsync ( ) } />
88+ < Button
89+ title = "Open WebBrowser"
90+ onPress = { ( ) => {
91+ WebBrowser . openBrowserAsync ( 'https://sentry.io' ) ;
92+ } }
93+ />
8794 </ View >
8895 ) ;
8996}
Original file line number Diff line number Diff line change 2323 "expo-linking" : " ~7.0.2" ,
2424 "expo-router" : " ~4.0.5" ,
2525 "expo-status-bar" : " ~2.0.0" ,
26- "expo-web-browser" : " ~ 14.0.1 " ,
26+ "expo-web-browser" : " ^ 14.0.2 " ,
2727 "react" : " 18.3.1" ,
2828 "react-dom" : " 18.3.1" ,
2929 "react-native" : " 0.76.1" ,
Original file line number Diff line number Diff line change @@ -14806,13 +14806,13 @@ __metadata:
1480614806 languageName: node
1480714807 linkType: hard
1480814808
14809- "expo-web-browser@npm:~ 14.0.1 ":
14810- version: 14.0.1
14811- resolution: "expo-web-browser@npm:14.0.1 "
14809+ "expo-web-browser@npm:^ 14.0.2 ":
14810+ version: 14.0.2
14811+ resolution: "expo-web-browser@npm:14.0.2 "
1481214812 peerDependencies:
1481314813 expo: "*"
1481414814 react-native: "*"
14815- checksum: 5290f5cc1c3cccc94b782f460b4fc899c85dc2755c2ea6c6a5790282106f254386fa3af811cb269859b2888b880d97f1f9984cfd17d0f7ca36777f7e7e2ebae2
14815+ checksum: ee84e87987ec9054cee0d13bee78102ba609c219a8a9c81872be4d115d40f00acd068555d737f42fd0bc9b3fd43774d00108d82eececae18098558ef8a7971f1
1481614816 languageName: node
1481714817 linkType: hard
1481814818
@@ -24580,7 +24580,7 @@ __metadata:
2458024580 expo-linking: ~7.0.2
2458124581 expo-router: ~4.0.5
2458224582 expo-status-bar: ~2.0.0
24583- expo-web-browser: ~ 14.0.1
24583+ expo-web-browser: ^ 14.0.2
2458424584 react: 18.3.1
2458524585 react-dom: 18.3.1
2458624586 react-native: 0.76.1
You can’t perform that action at this time.
0 commit comments