Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix RNAudioPlayer require #2

Closed
wants to merge 1 commit into from
Closed

Conversation

cymen
Copy link

@cymen cymen commented Aug 11, 2015

Per http://facebook.github.io/react-native/docs/native-modules-ios.html, it looks like the require should be:

require('react-native').NativeModules.RNAudioPlayer

Instead of:

require('NativeModules').RNAudioPlayer

@cymen
Copy link
Author

cymen commented Aug 11, 2015

I forgot to mention this fixes the errors I was getting on the build console.

@cymen
Copy link
Author

cymen commented Aug 11, 2015

Closing to avoid confusion as #3 includes this change too.

@cymen cymen closed this Aug 11, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant