@baronha/react-native-photo-editor
Advanced tools
Comparing version 1.1.1 to 1.1.2
{ | ||
"name": "@baronha/react-native-photo-editor", | ||
"version": "1.1.1", | ||
"version": "1.1.2", | ||
"description": "🌄 Image editor using native modules for iOS and Android", | ||
@@ -5,0 +5,0 @@ "main": "lib/commonjs/index", |
@@ -14,3 +14,3 @@ # React Native Photo Editor (RNPE) | ||
- [iOS](https://github.com/muukii/ZLImageEditor) | ||
- [iOS](https://github.com/longitachi/ZLImageEditor) | ||
- [Android](https://github.com/burhanrashid52/PhotoEditor) | ||
@@ -37,2 +37,4 @@ | ||
https://user-images.githubusercontent.com/23580920/139821324-386a08ae-4adf-4d8a-a382-352cdff6ae1c.mp4 | ||
## ScreenShot 👉👈 | ||
@@ -46,3 +48,3 @@ | ||
* Swift 5.3 (Xcode12.4+) | ||
* Swift 5.1+ (Xcode12.4+) | ||
* iOS 12+ | ||
@@ -53,5 +55,11 @@ | ||
```sh | ||
yarn add @baronha/react-native-photo-editor && cd ios/ && pod install && cd.. | ||
yarn add @baronha/react-native-photo-editor | ||
``` | ||
### iOS | ||
add ```use_frameworks! :linkage => :static``` in Podfile (Because this lib using SDWebImage for the purpose of loading images and stickers). | ||
<br> | ||
Then run ```cd ios/ && pod install``` | ||
> Don't forget add file [.swift](https://stackoverflow.com/questions/52536380/why-linker-link-static-libraries-with-errors-ios) in your project (and create bridging header file swift). | ||
@@ -73,3 +81,3 @@ | ||
| path | string | required | both | Local/remote image path | | ||
| [stickers](#stickers) | Array<String> | [] | both | An array of paths containing sticker images | | ||
| [stickers](#stickers-) | Array<String> | [] | both | An array of paths containing sticker images | | ||
@@ -111,8 +119,13 @@ ## Filters 🌈 | ||
You have to create ```Stickers.bundle``` and add all your sticker into ```Stickers.bundle```. Then add ```Stickers.bundle``` into ```Copy Bundle Resources```. | ||
[See detail](https://github.com/baronha/react-native-photo-editor/tree/master/example/ios) | ||
![](resources/sticker_ios.png.png) | ||
[See detail](https://github.com/baronha/react-native-photo-editor/tree/master/example/ios) | ||
<br> | ||
<br> | ||
![](resources/sticker_tutorial_ios.png) | ||
#### Android | ||
You have to create ```Stickers``` folder inside ```assets``` folder. Then drag or copy all sticker in to ```Sticker``` folder. [See detail](https://github.com/baronha/react-native-photo-editor/tree/master/example/android/app/src/main/assets/Stickers) | ||
![](resources/sticker_android.png.png) | ||
You have to create ```Stickers``` folder inside ```assets``` folder. Then drag or copy all sticker in to ```Sticker``` folder. | ||
[See detail](https://github.com/baronha/react-native-photo-editor/tree/master/example/android/app/src/main/assets/Stickers) | ||
<br> | ||
<br> | ||
![](resources/sticker_tutorial_android.png) | ||
## To Do | ||
@@ -119,0 +132,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
142
3967613
211