Skip to content

Conversation

@bang9
Copy link
Collaborator

@bang9 bang9 commented Nov 4, 2024

External Contributions

This project is not yet set up to accept pull requests from external contributors.

If you have a pull request that you believe should be accepted, please contact
the Developer Relations team [email protected] with details
and we'll evaluate if we can setup a CLA to allow for the contribution.

For Internal Contributors

CLNP-5612

Description Of Changes

In the image picker library, camera permission is not a mandatory requirement. However, if camera permission is declared in the AndroidManifest.xml, it becomes mandatory to have this permission to call the launchCamera method.

In UIKit, it’s not possible to know if permissions are declared in the customer's app's AndroidManifest.xml, so it enforces the addition and requests the necessary permissions.

Types Of Changes

What types of changes does your code introduce to this project?
Put an x in the boxes that apply_

  • Bugfix
  • New feature
  • Documentation (correction or otherwise)
  • Cosmetics (whitespace, appearance (ex) Prettier)
  • Build configuration
  • Improvement (refactor code)
  • Test

@bang9 bang9 self-assigned this Nov 4, 2024
@bang9 bang9 requested a review from OnestarLee November 4, 2024 15:38
@codecov-commenter
Copy link

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 11.57%. Comparing base (0473ec0) to head (c5db2a2).

Additional details and impacted files
@@           Coverage Diff            @@
##             main     #214    +/-   ##
========================================
  Coverage   11.57%   11.57%            
========================================
  Files         356      356            
  Lines        8390     8390            
  Branches     2341     2202   -139     
========================================
  Hits          971      971            
- Misses       7343     7418    +75     
+ Partials       76        1    -75     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@bang9 bang9 enabled auto-merge November 4, 2024 15:49
Copy link
Collaborator

@OnestarLee OnestarLee left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm!

@bang9 bang9 added this pull request to the merge queue Nov 4, 2024
Merged via the queue into main with commit ec8e63a Nov 4, 2024
7 checks passed
@bang9 bang9 deleted the fix/camera-permission branch November 4, 2024 23:42
@bang9 bang9 changed the title fix: revert android camera permission [CLNP-5612] fix: revert android camera permission Nov 5, 2024
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

Successfully merging this pull request may close these issues.

4 participants