FYLSunghwan / react-native-piano-sampler

React Native Piano Sampler : Reads sf2 with FluidSynth(on Android) or sfz with AudioKit(on iOS)
MIT License
13 stars 4 forks source link

Updated to work with the latest version of RN (0.73.1) #10

Open AncientRoman opened 9 months ago

AncientRoman commented 9 months ago

README

Updated the iOS link to point to archive.org since the original linked file is offline Changed soudfont -> soundfont

iOS

Forced AudioKit dependency to v4 (the last compatible version) to fix build errors when using a newer version of AudioKit Added @objc decorator to requiresMainQueueSetup to fix RN warning (also removed UIKit import cause its unneeded)

Android

Removed dependency on v1 of okio due to gradle being unable to satisfy it in combination with other libraries Replaced okio code with stdlib code Fixed warnings (which are now treated as errors due to -Werror) in fluidsynth

Note that these changes fix both open issues (#9 and #4)