Giter VIP home page Giter VIP logo

react-native-audioplayer's People

Contributors

chetstone avatar sh3rawi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

react-native-audioplayer's Issues

Header not found

I am getting the following error when I attempt to build my project. I have followed your instructions to a t.

node_modules/react-native-audioplayer/RNAudioPlayer.h:1:9: 'RCTBridgeModule.h' file not found

iOS 10 - sound not playing

Running on a physical iOS 9 device this works perfectly, but I have an iOS 10 device and no sound is playing.

I noticed that I've (accidentally) not followed the installation instructions exactly. This bit:

Look for Header Search Paths and make sure it contains both $(SRCROOT)/../react-native/React and $(SRCROOT)/../../React - mark both as recursive

I don't think the documented paths exist in my RN0.34 project. Anyway, I unintentionally didn't follow this step. Instead I ran react-native link and my header search paths contain:

$(SRCROOT)/../node_modules/react-native/React (recursive)
$(SRCROOT)/../node_modules/react-native-audioplayer (non-recursive)

Has anyone else had issues with iOS 10?

EDIT: actually, it seems to work on a simulator, but not a physical device.

Issues getting started

Not sure what I'm doing wrong, but unable to get started. Getting error Cannot read property 'play' of undefined. Here are some screenshots that should provide more light.

screen shot 2015-10-17 at 11 40 02 am

screen shot 2015-10-17 at 11 40 19 am

screen shot 2015-10-17 at 11 40 26 am

Must check "Create groups" when adding files to Xcode project

When I added my sound files to my Xcode project the first time, I simply checked "Create folder references" vs. "Create groups" under the "Added folders" option. AudioPlayer.play wasn't playing any audio, so the sound files were not making it in the bundle. I tried adding the files again and checked "Create groups" and it worked. If this is not an isolated case, you should add this instruction to the README.

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.