baronha / react-native-photo-editor

🌄 Photo editor using native modules for iOS and Android. Inherit from 2 available libraries, ZLImageEditor (iOS) and PhotoEditor (Android)
MIT License
430 stars 135 forks source link

Local sticker issue #66

Closed ItxAltaf closed 7 months ago

ItxAltaf commented 7 months ago

how can we add local stickers from our assets folder

PhotoEditor.open({ path: image.path, stickers: [ { image: 'file_path.type' }, // , 'https://cdn-icons-png.flaticon.com/512/5272/5272912.png', // 'https://cdn-icons-png.flaticon.com/512/5272/5272913.png', // 'https://cdn-icons-png.flaticon.com/512/5272/5272916.png', ], })

ItxAltaf commented 7 months ago

Local stekcers can place steckers in asset folder https://github.com/baronha/react-native-photo-editor/tree/master/example/android/app/src/main/assets/Stickers