Home
last modified time | relevance | path

Searched refs:Linking (Results 1 – 25 of 145) sorted by relevance

123456

/expo/apps/test-suite/tests/
H A DLinking.js2 import * as Linking from 'expo-linking';
25 t.expect(await Linking.canOpenURL(validExpUrl)).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');
78 await Linking.openURL(`${redirectingBackendUrl}${Linking.createURL('++')}`);
92 const subscription = Linking.addEventListener('url', handler);
104 const subscription = Linking.addEventListener('url', handler);
105 await Linking.openURL(Linking.createURL('++'));
114 const { path, queryParams } = Linking.parse(url);
[all …]
/expo/packages/expo-linking/src/__tests__/
H A DLinking-test.ts4 import * as Linking from '../Linking';
34 expect(Linking.parse(url)).toMatchSnapshot();
38 describe(Linking.createURL, () => {
66 expect(Linking.createURL('some/path', { queryParams })).toMatchSnapshot();
70 expect(Linking.createURL(path)).toMatchSnapshot();
97 expect(Linking.createURL('some/path', { queryParams })).toMatchSnapshot();
101 expect(Linking.createURL(path)).toMatchSnapshot();
105 expect(Linking.createURL('some/path', { isTripleSlashed: true })).toMatchSnapshot();
H A DLinking-test.web.ts1 import * as Linking from '../Linking';
3 describe(Linking.addEventListener, () => {
5 const subscription = Linking.addEventListener('url', jest.fn());
/expo/packages/expo-router/src/link/
H A Dlinking.ts2 import * as Linking from 'expo-linking';
16 return Linking.getInitialURL() ?? getRootURL();
28 const url = await Linking.getInitialURL();
35 const parsed = Linking.parse(url);
66 _rootURL = Linking.createURL('/');
77 const parsed = Linking.parse(url);
93 const subscription = Linking.addEventListener('url', callback);
/expo/apps/native-component-list/src/screens/
H A DLinkingScreen.tsx2 import * as Linking from 'expo-linking';
17 return Linking.canOpenURL(url);
33 const parsedText = await Linking.parse(text);
47 Linking.openURL(link);
71 const url = Linking.useURL();
75 alert(`Linking url event: ${url}`);
84 Linking.openSettings();
87 {url && <TextInputButton text={Linking.createURL('deep-link')} />}
100 title: 'Linking',
/expo/docs/pages/versions/unversioned/sdk/
H A Dlinking.mdx2 title: Linking
12 …ep links into your app. This module is an extension of the React Native [Linking](https://reactnat…
14 For a more comprehensive explanation of how to use `expo-linking`, refer to the [Linking guide](/gu…
25 import * as Linking from 'expo-linking';
28 <APISection packageName="expo-linking" apiName="Linking" />
/expo/docs/pages/versions/v46.0.0/sdk/
H A Dlinking.mdx2 title: Linking
12 …ep links into your app. This module is an extension of the React Native [Linking](https://reactnat…
14 For a more comprehensive explanation of how to use `expo-linking`, refer to the [Linking guide](../…
25 import * as Linking from 'expo-linking';
28 <APISection packageName="expo-linking" apiName="Linking" />
/expo/docs/pages/versions/v47.0.0/sdk/
H A Dlinking.mdx2 title: Linking
12 …ep links into your app. This module is an extension of the React Native [Linking](https://reactnat…
14 For a more comprehensive explanation of how to use `expo-linking`, refer to the [Linking guide](/gu…
25 import * as Linking from 'expo-linking';
28 <APISection packageName="expo-linking" apiName="Linking" />
/expo/docs/pages/versions/v48.0.0/sdk/
H A Dlinking.mdx2 title: Linking
12 …ep links into your app. This module is an extension of the React Native [Linking](https://reactnat…
14 For a more comprehensive explanation of how to use `expo-linking`, refer to the [Linking guide](/gu…
25 import * as Linking from 'expo-linking';
28 <APISection packageName="expo-linking" apiName="Linking" />
/expo/docs/pages/versions/v49.0.0/sdk/
H A Dlinking.mdx2 title: Linking
12 …ep links into your app. This module is an extension of the React Native [Linking](https://reactnat…
14 For a more comprehensive explanation of how to use `expo-linking`, refer to the [Linking guide](/gu…
25 import * as Linking from 'expo-linking';
28 <APISection packageName="expo-linking" apiName="Linking" />
/expo/packages/expo-linking/build/
H A DExpoLinking.d.ts1 import { Linking } from 'react-native';
2 export default Linking;
H A DExpoLinking.js1 import { Linking } from 'react-native';
2 export default Linking;
H A DExpoLinking.js.map1 …ACvC,eAAe,OAAO,CAAC","sourcesContent":["import { Linking } from 'react-native';\nexport default Li…
/expo/packages/expo-linking/src/
H A DExpoLinking.ts1 import { Linking } from 'react-native';
2 export default Linking;
/expo/packages/expo-router/build/link/
H A Dlinking.js31 const Linking = __importStar(require("expo-linking")); constant
45 return Linking.getInitialURL() ?? getRootURL();
57 const url = await Linking.getInitialURL();
62 const parsed = Linking.parse(url);
87 _rootURL = Linking.createURL('/');
97 const parsed = Linking.parse(url);
112 const subscription = Linking.addEventListener('url', callback);
/expo/packages/expo-store-review/src/
H A DStoreReview.ts2 import * as Linking from 'expo-linking';
34 const supported = await Linking.canOpenURL(url);
38 await Linking.openURL(url);
/expo/packages/expo-store-review/build/
H A DStoreReview.js2 import * as Linking from 'expo-linking';
31 const supported = await Linking.canOpenURL(url);
36 await Linking.openURL(url);
/expo/packages/expo-auth-session/src/
H A DSessionUrlProvider.ts2 import * as Linking from 'expo-linking';
12 options?: Omit<Linking.CreateURLOptions, 'queryParams'>
20 return Linking.createURL(path, {
22 scheme: options?.scheme ?? Linking.resolveScheme({ isSilent: true }),
90 Linking.resolveScheme({}))
/expo/home/utils/
H A DPermissionUtils.ts2 import { Alert, Linking } from 'react-native';
20 onPress: () => Linking.openSettings(),
/expo/apps/test-suite/
H A DApp.js2 import * as Linking from 'expo-linking';
8 prefixes: [Linking.createURL('/')],
/expo/packages/expo-auth-session/build/
H A DSessionUrlProvider.d.ts1 import * as Linking from 'expo-linking';
5 …getDefaultReturnUrl(urlPath?: string, options?: Omit<Linking.CreateURLOptions, 'queryParams'>): st…
H A DSessionUrlProvider.js2 import * as Linking from 'expo-linking';
14 return Linking.createURL(path, {
16 scheme: options?.scheme ?? Linking.resolveScheme({ isSilent: true }),
73 Linking.resolveScheme({}))) {
/expo/ios/versioned-react-native/ABI48_0_0/ReactNative/Libraries/Linking/
H A DLinking.d.ts60 export const Linking: LinkingStatic; constant
61 export type Linking = LinkingStatic; alias
/expo/ios/versioned-react-native/ABI49_0_0/ReactNative/Libraries/Linking/
H A DLinking.d.ts60 export const Linking: LinkingStatic; constant
61 export type Linking = LinkingStatic; alias
/expo/packages/html-elements/build/elements/
H A DAnchor.js2 import { Linking, Platform } from 'react-native';
18 Linking.openURL(href);

123456