Skip to content

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