⚠️ Disclaimer
We are not supporting this module at this moment, use by your own responsability.
Installation
- Integrate
AmazingAudioEngine2
library first. - Copy
ghinwa-rn-preview-audio-player
directory to your project. - Add
"ghinwa-rn-preview-audio-player": "file:./PATH_TO_PREVIEW_AUDIO_PLAYER_DIRECTORY"
to thepackage.json
file. - Run
npm install
command. - Open
.xcodeproj
file of your main Xcode project. In the Project Navigator, select your main project and expand it. - Drag
PreviewAudioPlayer.xcodeproj
to your main project as it is presented on the screenshot below: - Add paths of
AudioPlayer
andAmazingAudioEngine2
directories to theHeader Search Paths
setting (which can be found inBuild Settings
) ofPreviewAudioPlayer.xcodeproj
project. - Drag
libPreviewAudioPlayer.a
to the Link Binary With Libraries build phase of your main project as on the attached screenshot. - Enjoy using
ghinwa-rn-preview-audio-player
!