Home
last modified time | relevance | path

Searched refs:sounds (Results 1 – 25 of 38) sorted by relevance

12

/expo/packages/expo-notifications/plugin/src/
H A DwithNotificationsIOS.ts17 { mode = 'development', sounds = [] }
23 config = withNotificationSounds(config, { sounds });
27 export const withNotificationSounds: ConfigPlugin<{ sounds: string[] }> = (config, { sounds }) => {
30 sounds,
44 sounds,
47 }: { sounds: string[]; project: XcodeProject; projectName: string | undefined }
52 if (!Array.isArray(sounds)) {
55 `Must provide an array of sound files in your app config, found ${typeof sounds}.`
59 for (const soundFileRelativePath of sounds) {
H A DwithNotificationsAndroid.ts80 export const withNotificationSounds: ConfigPlugin<{ sounds: string[] }> = (config, { sounds }) => {
84 setNotificationSounds(config.modRequest.projectRoot, sounds);
194 export function setNotificationSounds(projectRoot: string, sounds: string[]) {
195 if (!Array.isArray(sounds)) {
198 `Must provide an array of sound files in your app config, found ${typeof sounds}.`
201 for (const soundFileRelativePath of sounds) {
232 { icon = null, color = null, sounds = [] }
237 config = withNotificationSounds(config, { sounds });
H A DwithNotifications.ts25 sounds?: string[];
/expo/packages/expo-notifications/plugin/build/
H A DwithNotificationsIOS.js8 const withNotificationsIOS = (config, { mode = 'development', sounds = [] }) => { argument
13 config = (0, exports.withNotificationSounds)(config, { sounds }); field
17 const withNotificationSounds = (config, { sounds }) => { argument
20 sounds, field
31 function setNotificationSounds(projectRoot, { sounds, project, projectName, }) { field
35 if (!Array.isArray(sounds)) {
37 `Must provide an array of sound files in your app config, found ${typeof sounds}.`);
40 for (const soundFileRelativePath of sounds) {
H A DwithNotificationsIOS.d.ts5 sounds: string[];
10 export declare function setNotificationSounds(projectRoot: string, { sounds, project, projectName, …
11 sounds: string[];
H A DwithNotificationsAndroid.js57 const withNotificationSounds = (config, { sounds }) => { argument
61 setNotificationSounds(config.modRequest.projectRoot, sounds);
146 function setNotificationSounds(projectRoot, sounds) { argument
147 if (!Array.isArray(sounds)) {
149 `Must provide an array of sound files in your app config, found ${typeof sounds}.`);
151 for (const soundFileRelativePath of sounds) {
177 const withNotificationsAndroid = (config, { icon = null, color = null, sounds = [] }) => { argument
181 config = (0, exports.withNotificationSounds)(config, { sounds }); field
H A DwithNotificationsAndroid.d.ts28 sounds: string[];
40 export declare function setNotificationSounds(projectRoot: string, sounds: string[]): void;
H A DwithNotifications.d.ts19 sounds?: string[];
/expo/apps/native-component-list/
H A Dapp.config.js57 sounds: ['./assets/sounds/cat.wav'], property
/expo/packages/expo-notifications/plugin/src/__tests__/
H A DwithNotificationsiOS-test.ts48 sounds: ['/app/assets/notificationSound.wav'],
/expo/packages/expo-notifications/build/
H A DsetNotificationChannelAsync.js.map1 …more information,\n * see [Set custom notification sounds on Android](#set-custom-notification-sou…
H A DNotificationPermissions.js.map1sounds, etc.\n * There is no user-facing effect of calling this.\n * @return It returns a `Promise…
H A DNotificationPermissions.types.js.map1sounds.\n */\n allowSound?: boolean;\n /**\n * The ability to display notifications in a Car…
/expo/docs/pages/versions/v46.0.0/sdk/
H A Daudio.mdx28 ### Playing sounds
31 label='Playing sounds'
86 ### Recording sounds
88 <SnackInline label='Recording sounds' dependencies={['expo-av', 'expo-asset']}>
H A Dasset.mdx12 …r app that the app needs at runtime. Examples include images, fonts, and sounds. Expo's asset syst…
/expo/docs/pages/versions/unversioned/sdk/
H A Daudio.mdx29 ### Playing sounds
32 label='Playing sounds'
88 ### Recording sounds
90 <SnackInline label='Recording sounds' dependencies={['expo-av', 'expo-asset']}>
H A Dnotifications.mdx353 name: 'sounds',
355 … of local paths to sound files (.wav recommended) that can be used as custom notification sounds.',
371 "sounds": [
440 ### Set custom notification sounds
442 Custom notification sounds are only supported when using [EAS Build](/build/introduction).
444sounds to your app, add the `expo-notifications` plugin to your **app.json** file and then under t…
453 "sounds": ["local/path/to/mySoundFile.wav"]
484 <Collapsible summary="Manually adding notification sounds on Android">
515 <Collapsible summary="Manually adding notification sounds on iOS">
H A Dasset.mdx12 …r app that the app needs at runtime. Examples include images, fonts, and sounds. Expo's asset syst…
/expo/docs/pages/versions/v49.0.0/sdk/
H A Daudio.mdx29 ### Playing sounds
32 label='Playing sounds'
88 ### Recording sounds
90 <SnackInline label='Recording sounds' dependencies={['expo-av', 'expo-asset']}>
H A Dnotifications.mdx353 name: 'sounds',
355 … of local paths to sound files (.wav recommended) that can be used as custom notification sounds.',
371 "sounds": [
440 ### Set custom notification sounds
442 Custom notification sounds are only supported when using [EAS Build](/build/introduction).
444sounds to your app, add the `expo-notifications` plugin to your **app.json** file and then under t…
453 "sounds": ["local/path/to/mySoundFile.wav"]
484 <Collapsible summary="Manually adding notification sounds on Android">
515 <Collapsible summary="Manually adding notification sounds on iOS">
H A Dasset.mdx12 …r app that the app needs at runtime. Examples include images, fonts, and sounds. Expo's asset syst…
/expo/docs/pages/versions/v48.0.0/sdk/
H A Daudio.mdx29 ### Playing sounds
32 label='Playing sounds'
88 ### Recording sounds
90 <SnackInline label='Recording sounds' dependencies={['expo-av', 'expo-asset']}>
H A Dnotifications.mdx285 name: 'sounds',
287 … of local paths to sound files (.wav recommended) that can be used as custom notification sounds.',
303 "sounds": [
373 ### Set custom notification sounds
375 Custom notification sounds are only supported when using [EAS Build](/build/introduction).
377sounds to your app, add the `expo-notifications` plugin to your **app.json** file and then under t…
386 "sounds": ["local/path/to/mySoundFile.wav"]
417 <Collapsible summary="Manually adding notification sounds on Android">
448 <Collapsible summary="Manually adding notification sounds on iOS">
/expo/docs/pages/versions/v47.0.0/sdk/
H A Daudio.mdx28 ### Playing sounds
31 label='Playing sounds'
86 ### Recording sounds
88 <SnackInline label='Recording sounds' dependencies={['expo-av', 'expo-asset']}>
/expo/apps/native-component-list/src/screens/AV/
H A DAudioScreen.tsx35 source={Asset.fromModule(require('../../../assets/sounds/polonez.mp3'))}

12