Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

559
Views
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
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!