Skip to content

Commit 131d0c6

Browse files
committed
Merge branch '2.11.19' of https://github.com/gronda-team/react-native-fs into gronda-team-2.11.19
* '2.11.19' of https://github.com/gronda-team/react-native-fs: Update RNFSManager.m
2 parents dfc79b5 + 565a89c commit 131d0c6

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

RNFSManager.m

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -816,6 +816,11 @@ + (BOOL)requiresMainQueueSetup
816816

817817
dispatch_group_t group = dispatch_group_create();
818818
dispatch_group_enter(group);
819+
820+
PHVideoRequestOptions *options = [[PHVideoRequestOptions alloc]init];
821+
options.version = PHVideoRequestOptionsVersionOriginal;
822+
options.deliveryMode = PHVideoRequestOptionsDeliveryModeAutomatic;
823+
options.networkAccessAllowed = YES;
819824

820825
[[PHImageManager defaultManager] requestAVAssetForVideo:phAsset options:options resultHandler:^(AVAsset *asset, AVAudioMix *audioMix, NSDictionary *info) {
821826

0 commit comments

Comments
 (0)