LuckSiege / LuckSiege/PictureSelector

低版本情况下拍照返回空

Open
#1,934 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
13.6k
Forks
3.1k
PR merge metrics
No merged PRs in 30d

Description

在AndroidQ以下的版本中,会出现拍照返回null的情况,我用的是2.5.8和2.6.1两个版本,isAndroidQTransform设置为true和false都不行。
Honor 6X(Android 8.0.0)
oppoA33m(Android 5.1.1)
SM-G9350(Android 8.0.1)
Redmi 4A (Android 6.0.1)
以上机型经过测试都会出现在拍照后PictrueSelectorActivity的onActivityResult方法中,data为null
1

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start in PictureSelectorActivity.onActivityResult and reproduce the null data result on the listed Android versions below Android Q, using the reported 2.5.8 or 2.6.1 versions and both isAndroidQTransform settings. Trace how the camera result is handled there; done means taking a photo no longer produces a null result on the affected devices.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, java
Domain
mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.