react-native interface to create watermarks on videos and/or images(iOS)
Credit: https://www.raywenderlich.com/30200/avfoundation-tutorial-adding-overlays-and-animations-to-videos
npm install react-native-watermark@latest --save
Libraries
➜ Add Files to [your project's name]
node_modules
➜ react-native-watermark
and add RNWatermark.xcodeproj
libRNWatermark.a
to your project's Build Phases
➜ Link Binary With Libraries
RNWatermark.xcodeproj
in the project navigator and go the Build Settings
tab. Make sure 'All' is toggled on (instead of 'Basic'). Look for Header Search Paths
and make sure it contains both $(SRCROOT)/../../react-native/React
and $(SRCROOT)/../../../React
- mark both as recursive
.Cmd+R
)