Giter Site home page Giter Site logo

Comments (6)

Salakar avatar Salakar commented on June 14, 2024

Have you tried the full file name, e.g. glass.mp3?

from react-native-notifee.

mdrajibsk8 avatar mdrajibsk8 commented on June 14, 2024

It's not working on Xiaomi devices...
I have checked on other devices, it's working fine.
But not in Xiaomi ...
please help me with this

from react-native-notifee.

netbull avatar netbull commented on June 14, 2024

For me on iOS the custom sound also does not work..

I added reminder.caf file /converted from mp3 via afconvert tool/ in Library/Sounds and tried with or without file extension in notifee.displayNotification(...), but with no success. It always plays the default sound.

from react-native-notifee.

netbull avatar netbull commented on June 14, 2024

Oooh. I just did it... included the file extension as well and it works now!

from react-native-notifee.

helenaford avatar helenaford commented on June 14, 2024

@mdrajibsk8 wha's the Android version on your Xiaomi device?

from react-native-notifee.

helenaford avatar helenaford commented on June 14, 2024

Closing this as the docs cover the file extensions and more details on how to work with sounds in general since this issue was opened. Please don't hesitate to reopen if you're still having an issue.

from react-native-notifee.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.