Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

560
Vistas
react-native expo-notifications scheduleNotificationAsync sound dont work

I use expo notifications ~0.14.0

android 8+

I use expo-notifications local notifications scheduleNotificationAsync

I use eas build

my handler:

Notifications.setNotificationHandler({
  handleNotification: async () => ({
    shouldShowAlert: true,
    shouldPlaySound: true,
    shouldSetBadge: false

  })},
)

I use channels

My channel:

Notifications.setNotificationChannelAsync('sound', {
      name: 'sound',
      importance: Notifications.AndroidImportance.HIGH,
      sound: 'newmessage.wav'
    })

my Notification:

Notifications.scheduleNotificationAsync({
content: {
        title,
        body,
        sound:'newmessage.wav'
      },
      trigger: {
        seconds,
        channelId: 'sound'

      }
})

my app.json :

"expo": {
    "...."
    "plugins": [
      [
        "expo-notifications",
        {`enter code here`
          "sounds": ["./assets/newmessage.wav"]
        }
      ]
    ],
    "...."
    "android": {
"...."
 "useNextNotificationsApi":true,
  "permissions":["RECEIVE_BOOT_COMPLETED"]}

after prebuild my sound is in android\app\src\main\res\raw

but after eas build sound dont work

about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda