Coder Social home page Coder Social logo

Comments (16)

syanbo avatar syanbo commented on June 27, 2024

请问什么环境下,需要详细一点详细,闪退错误日志是什么

from react-native-syan-image-picker.

lyichao avatar lyichao commented on June 27, 2024

"react": "16.0.0-beta.5",
"react-native": "0.49.3",
"react-native-syan-image-picker": "^0.0.3"点击拍摄后Demo直接闪退,日志没有被记录到原因

from react-native-syan-image-picker.

syanbo avatar syanbo commented on June 27, 2024

Android 还是 iOS

from react-native-syan-image-picker.

lyichao avatar lyichao commented on June 27, 2024

Android ,Windows环境

from react-native-syan-image-picker.

syanbo avatar syanbo commented on June 27, 2024

真机吗

from react-native-syan-image-picker.

lyichao avatar lyichao commented on June 27, 2024

是的,nexus5和小米note

from react-native-syan-image-picker.

zhengyeye avatar zhengyeye commented on June 27, 2024

华为也掉不出相机。白屏闪退
"react": "16.0.0-beta.5",
"react-native": "0.49.3"
"react-native-syan-image-picker": "0.0.5",

from react-native-syan-image-picker.

syanbo avatar syanbo commented on June 27, 2024

@zhengyeye 可以提供一下错误日志吗?连接USB在as里查看

from react-native-syan-image-picker.

zhengyeye avatar zhengyeye commented on June 27, 2024

早上看到了,android6以下可以正常调出相机,使用正常,6以上的系统就会出现这种问题,你用6以上的系统手机试试看。没有错误日志,是直接退出的~

from react-native-syan-image-picker.

syanbo avatar syanbo commented on June 27, 2024
加一下权限 @zhengyeye @1994Lee

from react-native-syan-image-picker.

PangYiMing avatar PangYiMing commented on June 27, 2024

android 6以上是动态申请权限,记得使用插件前申请,后续应该会添加权限申请。

from react-native-syan-image-picker.

vipstone avatar vipstone commented on June 27, 2024

大兄弟,安卓6+照相的的问题,不止是动态赋值权限的问题,即使使用前赋值了权限,依然会有问题的。你使用的PictureSelector为2.1.1的,要更新成最新版2.1.7的,然后把PictureSelector.create(currentActivity)配置换成2.1.7的配置之后,就好了,我给你贡献点代码吧.

from react-native-syan-image-picker.

syanbo avatar syanbo commented on June 27, 2024

@vipstone 非常感谢,晚点测试一下发布V0.0.6

from react-native-syan-image-picker.

syanbo avatar syanbo commented on June 27, 2024

@zhengyeye npm上版本已经是0.0.7 你也可以直接使用git链接npm

from react-native-syan-image-picker.

giantss avatar giantss commented on June 27, 2024

@vipstone #9 这个问题是怎么回事呢 有空麻烦解答下啊

from react-native-syan-image-picker.

vipstone avatar vipstone commented on June 27, 2024

@giantss 具体不详,更新了PictureSelector 之后就好了。

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.