Skip to content
This repository was archived by the owner on Jun 19, 2025. It is now read-only.

Commit 9f595f7

Browse files
authored
Merge pull request #420 from wordpress-mobile/issue/419-allow-camera-use-with-limited-library
Allow camera use with limited library permission
2 parents 3b7ff04 + 1dfb9cb commit 9f595f7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ _None._
4242

4343
### Bug Fixes
4444

45-
_None._
45+
- Allow camera use when limited photo library permission is granted [#419]
4646

4747
### Internal Changes
4848

Pod/Classes/WPPHAssetDataSource.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -463,7 +463,6 @@ - (void)addAssetWithChangeRequest:(PHAssetChangeRequest *(^)(void))changeRequest
463463
return;
464464
}
465465
case PHAuthorizationStatusDenied:
466-
case PHAuthorizationStatusLimited:
467466
{
468467
if (completionBlock) {
469468
dispatch_async(dispatch_get_main_queue(), ^{
@@ -481,6 +480,7 @@ - (void)addAssetWithChangeRequest:(PHAssetChangeRequest *(^)(void))changeRequest
481480
return;
482481
}
483482
case PHAuthorizationStatusAuthorized:
483+
case PHAuthorizationStatusLimited:
484484
{
485485
dispatch_async(dispatch_get_global_queue(QOS_CLASS_USER_INITIATED, 0), ^{
486486
[[PHPhotoLibrary sharedPhotoLibrary] performChanges:^{

0 commit comments

Comments
 (0)