| /expo/apps/native-component-list/src/screens/SVG/ |
| H A D | SVGExampleScreen.tsx | 19 <View style={styles.example} key={`sample-${index}`}> 25 const renderNoExample = React.useCallback(() => <Text>No example found.</Text>, []); 28 const example = examples[props.route.params.key]; 29 if (!example) { 32 const { samples } = example; 51 example: {
|
| /expo/apps/native-component-list/src/screens/Image/ |
| H A D | ImageContentFitScreen.tsx | 79 function renderExample(contentFit: ImageContentFit, example: ContentFitExample, index: number) { 80 const sizeText = example.size.join(' x '); 81 const positionText = example.position 82 ? JSON.stringify(example.position).replaceAll(/[{}"]/g, '').replaceAll(/[:,]/g, ' ') 89 source={{ uri: sourceWithSize(example.size) }} 91 contentPosition={example.position} 103 {EXAMPLES.map((example, index) => renderExample(contentFit, example, index))} 110 const example: ContentFitExample = { 114 return renderExample('none', example, index);
|
| H A D | ImageTintingScreen.tsx | 36 {EXAMPLES.map((example, index) => { 38 <View style={styles.example} key={index}> 39 <MonoText>{example.description}</MonoText> 47 tintColor={example.tintColor} 64 example: {
|
| /expo/packages/expo-linking/src/__tests__/__snapshots__/ |
| H A D | Linking-test.ts.snap.node | 149 exports[`parse parses "https://example.com/test/path" 1`] = ` 151 "hostname": "example.com", 158 exports[`parse parses "https://example.com/test/path?missingQueryValue=" 1`] = ` 160 "hostname": "example.com", 171 "hostname": "example.com", 180 exports[`parse parses "https://example.com/test/path?query=param" 1`] = ` 182 "hostname": "example.com", 191 exports[`parse parses "https://example.com:8000/test/path" 1`] = ` 193 "hostname": "example.com", 200 exports[`parse parses "https://example.com:8000/test/path+with+plus" 1`] = ` [all …]
|
| H A D | Linking-test.ts.snap.android | 149 exports[`parse parses "https://example.com/test/path" 1`] = ` 151 "hostname": "example.com", 158 exports[`parse parses "https://example.com/test/path?missingQueryValue=" 1`] = ` 160 "hostname": "example.com", 171 "hostname": "example.com", 180 exports[`parse parses "https://example.com/test/path?query=param" 1`] = ` 182 "hostname": "example.com", 191 exports[`parse parses "https://example.com:8000/test/path" 1`] = ` 193 "hostname": "example.com", 200 exports[`parse parses "https://example.com:8000/test/path+with+plus" 1`] = ` [all …]
|
| H A D | Linking-test.ts.snap.web | 149 exports[`parse parses "https://example.com/test/path" 1`] = ` 151 "hostname": "example.com", 158 exports[`parse parses "https://example.com/test/path?missingQueryValue=" 1`] = ` 160 "hostname": "example.com", 171 "hostname": "example.com", 180 exports[`parse parses "https://example.com/test/path?query=param" 1`] = ` 182 "hostname": "example.com", 191 exports[`parse parses "https://example.com:8000/test/path" 1`] = ` 193 "hostname": "example.com", 200 exports[`parse parses "https://example.com:8000/test/path+with+plus" 1`] = ` [all …]
|
| H A D | Linking-test.ts.snap.ios | 149 exports[`parse parses "https://example.com/test/path" 1`] = ` 151 "hostname": "example.com", 158 exports[`parse parses "https://example.com/test/path?missingQueryValue=" 1`] = ` 160 "hostname": "example.com", 171 "hostname": "example.com", 180 exports[`parse parses "https://example.com/test/path?query=param" 1`] = ` 182 "hostname": "example.com", 191 exports[`parse parses "https://example.com:8000/test/path" 1`] = ` 193 "hostname": "example.com", 200 exports[`parse parses "https://example.com:8000/test/path+with+plus" 1`] = ` [all …]
|
| /expo/packages/create-expo/src/ |
| H A D | createAsync.ts | 33 example?: string | true; 75 if (options.example && options.template) { 79 if (options.example) { 136 if (props.example === true) { 138 } else if (props.example) { 139 resolvedExample = props.example; 154 properties: { phase: AnalyticsEventPhases.ATTEMPT, example: resolvedExample },
|
| H A D | Examples.ts | 70 choices: examples.map((example) => ({ 71 title: example.name, 72 value: example.path,
|
| /expo/packages/expo-router/src/fork/__tests__/__snapshots__/ |
| H A D | extractPathFromURL.test.ios.ts.snap | 39 exports[`extractExpoPathFromURL Bare parses "https://example.com/test/path" 1`] = `"test/path"`; 41 exports[`extractExpoPathFromURL Bare parses "https://example.com/test/path?missingQueryValue=" 1`] … 43 exports[`extractExpoPathFromURL Bare parses "https://example.com/test/path?query=do+not+escape" 1`]… 45 exports[`extractExpoPathFromURL Bare parses "https://example.com/test/path?query=param" 1`] = `"tes… 47 exports[`extractExpoPathFromURL Bare parses "https://example.com:8000/test/path" 1`] = `"test/path"… 49 exports[`extractExpoPathFromURL Bare parses "https://example.com:8000/test/path+with+plus" 1`] = `"… 95 exports[`extractExpoPathFromURL Expo Go parses "https://example.com/test/path" 1`] = `"test/path"`; 97 exports[`extractExpoPathFromURL Expo Go parses "https://example.com/test/path?missingQueryValue=" 1… 101 exports[`extractExpoPathFromURL Expo Go parses "https://example.com/test/path?query=param" 1`] = `"… 103 exports[`extractExpoPathFromURL Expo Go parses "https://example.com:8000/test/path" 1`] = `"test/pa… [all …]
|
| /expo/docs/pages/modules/ |
| H A D | get-started.mdx | 18 …th a generated example project if you want to reuse it in multiple projects or publish it to npm.]… 47 Now, import the module in your application, for example in **App.js** or **App.tsx**: 60 '# Run the example app on Android', 62 '# Run the example app on iOS', 84 Change the `hello` method to return a different string. For example, you can change it to return "H… 92 Now, change the `hello` method to return a different string. For example, you can change it to retu… 103 ## Creating a new module with an example project 110 … a few questions and then generate the native Expo module along with the example app for Android a… 118 ### Running the example project 120 Navigate to the module directory and then open the Android and/or iOS example project by running th… [all …]
|
| H A D | config-plugin-and-native-module-tutorial.mdx | 77 ```typescript example/App.tsx 90 ## 3. Run the example project 105 cmdCopy="cd example && npx expo run:ios" 107 '$ cd example', 108 '# Run the example app on iOS', 110 '# Run the example app on Android', 175 ```json example/app.json 257 ```json example/app.json 317 '$ cd example', 320 '# Run the example app on iOS', [all …]
|
| /expo/packages/create-expo-module/build/ |
| H A D | createExampleApp.js.map | 1 …example app (`expo init` adds them)\nconst DEPENDENCIES_TO_REMOVE = ['expo-status-bar', 'expo-spla…
|
| /expo/packages/@expo/config-plugins/src/utils/__tests__/ |
| H A D | XML-test.ts | 53 const example = `<resources> constant 58 './android/app/src/main/res/values/strings.xml': example, 71 expect(await fs.promises.readFile(stringsPath, 'utf-8')).toBe(example);
|
| /expo/docs/pages/archive/classic-updates/ |
| H A D | hosting-your-app.mdx | 16 … In this guide, we will use `https://expo.github.io/self-hosting-example` as our example server en… 35 '$ expo export --public-url https://expo.github.io/self-hosting-example', 39 '$ git init && git remote add origin [email protected]:expo/self-hosting-example.git', 51 Here's an example of **firebase.json** configuration, with a [deploy target](https://firebase.googl… 97 #### Here’s an example of how you’d do this with a remote server: 99 URI: `exps://expo.github.io/self-hosting-example/android-index.json` 103 #### Here’s an example of how you’d do this from localhost: 129 …s an example URL from a remote server: [https://expo.github.io/self-hosting-example/android-index.… 131 Here is an example URL from localhost: `http://localhost:8000/android-index.json` 137 …e of your update for debugging purposes, you can generate source maps. Here is an example workflow: [all …]
|
| /expo/docs/pages/routing/ |
| H A D | create-pages.mdx | 11 … the **app** directory, it automatically becomes a route in the app. For example, the following fi… 22 For example, create the **app** directory in your project and then create a file **index.js** insid… 54 …e example matches the `/` route in the app and the browser. Files named **index** match the parent… 56 > Platform extensions (for example, **.ios.js**, **.native.ts**) are not supported in the **app** d… 67 Routes with higher specificity will be matched before a dynamic route. For example, `/blog/bacon` w… 69 Multiple slugs can be matched in a single route by using the rest syntax (`...`). For example, **ap…
|
| /expo/packages/expo-module-template/ |
| H A D | $.gitignore | 44 example/ios/Pods 47 example/vendor/
|
| /expo/docs/pages/custom-builds/ |
| H A D | schema.mdx | 601 ```yaml example.yml 625 ```yaml example.yml 648 ```yaml example.yml 679 ```yaml example.yml 695 ```yaml example.yml 725 ```yaml example.yml 737 ```yaml example.yml 771 ```yaml example.yml 801 ```yaml example.yml 839 ```yaml example.yml [all …]
|
| /expo/docs/pages/eas/ |
| H A D | webhooks.mdx | 9 …completed via a webhook. Webhooks need to be configured per project. For example, if you want to b… 37 The build webhook payload may look as the example below: 43 "projectName": "example", 44 …"buildDetailsPageUrl": "https://expo.dev/accounts/dsokal/projects/example/builds/147a3212-49fd-446… 56 "appName": "example", 65 "appIdentifier": "com.expo.example", 121 The submit webhook payload may look as the example below: 127 "projectName": "example", 128 …"submissionDetailsPageUrl": "https://expo.dev/accounts/dsokal/projects/example/builds/0374430d-777… 156 Here's an example of how you can implement your server: [all …]
|
| /expo/apps/native-component-list/src/screens/ |
| H A D | TextToSpeechScreen.tsx | 220 _renderExample = (example: { language: string; text: string }, i: number) => { 222 const isSelected = selectedExample === example; 228 onPress={() => this._selectExample(example)}> 230 {example.text} ({example.language}) 236 _selectExample = (example: { language: string; text: string }) => { 237 this.setState({ selectedExample: example });
|
| /expo/packages/expo-eas-client/ |
| H A D | README.md | 9 …hich is persisted and backed up. Upon restore (set up new iOS device for example), the identifier … 11 … automatically via Auto Backup, though some devices or apps may not (for example, if `android:allo…
|
| /expo/docs/pages/router/advanced/ |
| H A D | shared-routes.mdx | 11 …verlapping child routes. This pattern is very common in native apps. For example, in the Twitter a… 13 In the example below, **app/\_layout.js** is the tab bar and each route has its own header. The **a… 29 Shared routes can be navigated directly by including the group name in the route. For example, `/(s… 35 …ts, use the array syntax `(,)` to duplicate the children of a group. For example, `app/(home,searc…
|
| /expo/packages/expo-localization/build/ |
| H A D | Localization.types.js.map | 1 …example `'USD'`, `'EUR'`, `'CNY'`, `null`\n */\n currency: string | null;\n /**\n * Decimal …
|
| /expo/docs/pages/versions/v46.0.0/sdk/ |
| H A D | audio.mdx | 18 …example app](https://expo.dev/@documentation/playlist-example) (source code is [on GitHub](https:/… 156 See an example of **app.json** that enables audio playback in background:
|
| /expo/packages/expo-av/build/Audio/ |
| H A D | Recording.types.js.map | 1 …example: airpods are the active input and they run out of batteries during recording.\n *\n * …
|