Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nat.image.pick() bug #45

Open
diuqilei opened this issue Jun 6, 2018 · 2 comments
Open

Nat.image.pick() bug #45

diuqilei opened this issue Jun 6, 2018 · 2 comments

Comments

@diuqilei
Copy link

diuqilei commented Jun 6, 2018

环境:Android 6.0, Android 8.0

步骤:
1 在页面A,点击按钮触发Nat.image.pick()

2 安卓6.0,点击摄像头icon拍照
2.1 使用照片,显示空白
2.2 使用Nat.upload()上传成功后,下载下来,显示也是空白的

2 安卓8.0点击摄像头icon拍照,页面会闪烁一下,然后回到页面A

其他说明:
iOS是正常的

代码:

Nat.image.pick({
  limit: 1,
  showCamera: true,
}, (err, res) => {
  // some code
})
@acathur
Copy link
Member

acathur commented Jun 7, 2018

拍照后正常显示但选择使用后变成空白图像?@xujiale

@diuqilei
Copy link
Author

diuqilei commented Jun 8, 2018

安卓6能拍照,使用拍的照片时空白图像,上传图片到服务器再下载下来也是空白图像,但是在手机相册是能看到这张照片的 @acathur

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants