Comments (9)
你提供一下RN版本和syan-image-picker 版本 手机版本 我测试一下
from react-native-syan-image-picker.
有崩溃信息吗 安卓 还是 iOS
from react-native-syan-image-picker.
两个都会,有时慢慢点又好的,大多情况会崩溃,app直接关闭,不知怎么查看崩溃信息,新手,请老师指教
from react-native-syan-image-picker.
不好意思,回复晚了,RN=0.42.3 react-native-syan-image-picker=0.0.8
from react-native-syan-image-picker.
我试了示例的iOS端,没有发现闪退。
各位是跑的 示例 崩溃吗?还是集成后的项目?日志没有崩溃信息吗?
from react-native-syan-image-picker.
@ljunb 集成后的项目崩溃,debug模式不好重现bug,无法查看崩溃信息,属于偶发
from react-native-syan-image-picker.
@super-ax 升级到 0.0.8 安卓5.0 和 7.0都有测试 为正常
from react-native-syan-image-picker.
@syanbo、@ljunb 已解决,是我的其它组件影响了,测试正常,没有发现崩溃问题
from react-native-syan-image-picker.
我也遇到選圖時閃退了, 我是套用這個示例 : https://github.com/syanbo/ImagePickerExample
示例本身執行時都正常, 我把 react-native-syan-image-picker 安裝到自己的項目, 把示例裡的 App.js 改名為另一個 XXX.js, 放項目裡, 照相功能正常, 可拍可存, 但選圖的功能只能走到列出圖像, 手指一點就閃退, 一點錯誤訊息都沒有, 就死在這一行裡:
SYImagePicker.showImagePicker({imageCount: 9}, (err, photos)
三種選圖模式都是一點就死, 我查看過 module, 可能是在 RNSyanImagePickerModule.java 裡的 onActivityResult.
拜脫大大幫忙看一下, 我的 react-native 版本是 0.51, ImagePickerExample-master.zip 則是 3/6 clone 下來的.
我是把示例作為一個單獨的 js 在執行, 應該不太會和項目裡其他元件互相干擾吧, 我也在執行當中確認已獲取"android.permission.WRITE_EXTERNAL_STORAGE"的讀寫權限.
PS. 我剛剛 react-native init demo 重建一個乾淨的 App, 安裝了 react-native-syan-image-picker, 把App.js 直接覆蓋, 使用正常, 看起來應該還是項目衝突的問題了, 我自己研究看看好了, ^^
from react-native-syan-image-picker.
Related Issues (20)
- how i can disable crop if i select gif image
- --
- 能否暴露一个设置 禁止拍照,图片选择页面禁止横屏的属性
- android平台不支持自定义压缩?还固定鲁班压缩。。
- 在iOS中先打开一个modal显示照片或者视频选项,然后点击选项后会关闭modal,但是相册也会打开一瞬间后跟着关闭 HOT 3
- 找不到implementation "com.github.LuckSiege.PictureSelector:picture_library:2.5.6"
- ios 上传视频时选择相机录制视频闪退
- Could not resolve com.github.LuckSiege.PictureSelector:picture_library:2.5.6. HOT 3
- 安卓12 miui 打不开摄像机
- 安卓在照片选择处,那个右上角的取消能不能在有选择照片的时候换成提交或确认 HOT 2
- 安卓和ios都不能获取正确图片大小,大于1M的都图片都少个0尺寸,小于1m的图片大小正常 HOT 1
- 鸿蒙系统无法选择视频 HOT 1
- ios点击相册会自动关闭?
- Android 12 无法打开相机 HOT 2
- Android13 获取视频的路径有问题,无法返回size值;
- openCamera error: Cannot read property 'openCamera' of null
- 作者不更新这个插件了吗? HOT 2
- 能否支持 TZImagePickerController - onlyReturnAsset
- videoMaximumDuration在安卓不生效 HOT 1
- 他已经不再兼容安卓13及以上的系统
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-native-syan-image-picker.