Coder Social home page Coder Social logo

Comments (9)

syanbo avatar syanbo commented on June 27, 2024 1

你提供一下RN版本和syan-image-picker 版本 手机版本 我测试一下

from react-native-syan-image-picker.

syanbo avatar syanbo commented on June 27, 2024

有崩溃信息吗 安卓 还是 iOS

from react-native-syan-image-picker.

cyjcxy avatar cyjcxy commented on June 27, 2024

两个都会,有时慢慢点又好的,大多情况会崩溃,app直接关闭,不知怎么查看崩溃信息,新手,请老师指教

from react-native-syan-image-picker.

cyjcxy avatar cyjcxy commented on June 27, 2024

不好意思,回复晚了,RN=0.42.3 react-native-syan-image-picker=0.0.8

from react-native-syan-image-picker.

ljunb avatar ljunb commented on June 27, 2024

我试了示例的iOS端,没有发现闪退。
各位是跑的 示例 崩溃吗?还是集成后的项目?日志没有崩溃信息吗?

from react-native-syan-image-picker.

super-ax avatar super-ax commented on June 27, 2024

@ljunb 集成后的项目崩溃,debug模式不好重现bug,无法查看崩溃信息,属于偶发

from react-native-syan-image-picker.

syanbo avatar syanbo commented on June 27, 2024

@super-ax 升级到 0.0.8 安卓5.0 和 7.0都有测试 为正常

from react-native-syan-image-picker.

super-ax avatar super-ax commented on June 27, 2024

@syanbo@ljunb 已解决,是我的其它组件影响了,测试正常,没有发现崩溃问题

from react-native-syan-image-picker.

edem avatar edem commented on June 27, 2024

我也遇到選圖時閃退了, 我是套用這個示例 : 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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.