react-native-image-resizer:with使用React Native调整本地图像的大小

时间:2021-01-31 06:35:55
【文件属性】:
文件名称:react-native-image-resizer:with使用React Native调整本地图像的大小
文件大小:377KB
文件格式:ZIP
更新时间:2021-01-31 06:35:55
android ios resize react-native jpeg React Native Image Resizer 一个React Native模块可以创建本地图像的缩放版本(也支持iOS上的资产库)。 React性的 React本机图像调整器 ≤0.60 1.1.0 0.61 1.2.0 建立 安装软件包: React本机> = 0.60 yarn add react-native-image-resizer cd ios && pod install React本机<= 0.59 yarn add react-native-image-resizer react-native link react-native-image-resizer 安卓 注意:在最新版本的React Native上,您可能会在Android上的Gradle构建过程中出错( com.android.dex.DexException: Multiple dex files define Landroid/support/v7/appcompat/R$anim )。 运行cd android && ./gradlew clean修复此问题。 手动链接 And
【文件预览】:
react-native-image-resizer-master
----yarn.lock(2KB)
----ios()
--------RCTImageResizer.xcodeproj()
--------RCTImageResizer()
----.npmignore(8B)
----react-native-image-resizer.podspec(655B)
----index.js.flow(459B)
----android()
--------gradlew(5KB)
--------src()
--------gradle()
--------gradlew.bat(2KB)
--------build.gradle(643B)
----example()
--------metro.config.js(734B)
--------.flowconfig(2KB)
--------.gitattributes(16B)
--------yarn.lock(313KB)
--------.eslintrc.js(74B)
--------babel.config.js(77B)
--------ios()
--------android()
--------App.js(5KB)
--------__tests__()
--------README.md(291B)
--------.buckconfig(114B)
--------app.json(51B)
--------.gitignore(813B)
--------.prettierrc.js(120B)
--------index.js(183B)
--------.watchmanconfig(2B)
--------package.json(768B)
----LICENSE(1KB)
----.prettierrc(73B)
----README.md(8KB)
----index.d.ts(1KB)
----docs()
--------android_manual_config.md(1KB)
----.gitignore(1KB)
----index.js(2KB)
----common.js(641B)
----package.json(988B)

网友评论