Lines Matching refs:Linking
2 import * as Linking from 'expo-linking';
25 t.expect(await Linking.canOpenURL(validExpUrl)).toBe(true);
29 t.expect(await Linking.canOpenURL(Constants.linkingUri)).toBe(true);
33 t.expect(await Linking.canOpenURL(validHttpUrl)).toBe(true);
37 t.expect(await Linking.canOpenURL(validHttpsUrl)).toBe(true);
56 const testUrl = Linking.createURL('++message=hello');
61 const subscription = Linking.addEventListener('url', handler);
74 t.expect(url).toEqual(Linking.createURL('++message=Redirected automatically by timer'));
77 const subscription = Linking.addEventListener('url', handler);
78 await Linking.openURL(`${redirectingBackendUrl}${Linking.createURL('++')}`);
88 t.expect(url).toEqual(Linking.createURL('++message=Redirected automatically by timer'));
92 const subscription = Linking.addEventListener('url', handler);
93 await WebBrowser.openBrowserAsync(`${redirectingBackendUrl}${Linking.createURL('++')}`);
104 const subscription = Linking.addEventListener('url', handler);
105 await Linking.openURL(Linking.createURL('++'));
114 const { path, queryParams } = Linking.parse(url);
121 const subscription = Linking.addEventListener('url', handler);
122 await Linking.openURL(Linking.createURL('++test/path?query=param'));