Skip to content

Commit

Permalink
Hotfix v2.13.2
Browse files Browse the repository at this point in the history
  • Loading branch information
itinance committed Dec 19, 2018
1 parent 167bb04 commit b6b3758
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions RNFSManager.m
Original file line number Diff line number Diff line change
Expand Up @@ -809,8 +809,10 @@ + (BOOL)requiresMainQueueSetup
NSURL* url = [NSURL URLWithString:imageUri];
__block NSURL* videoURL = [NSURL URLWithString:destination];
__block NSError *error = nil;

PHFetchResult *phAssetFetchResult = [PHAsset fetchAssetsWithALAssetURLs:@[url] options:nil];
PHAsset *phAsset = [phAssetFetchResult firstObject];

PHVideoRequestOptions *options = [[PHVideoRequestOptions alloc] init];
options.networkAccessAllowed = YES;
options.version = PHVideoRequestOptionsVersionOriginal;
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-native-fs",
"version": "2.13.1",
"version": "2.13.2",
"description": "Native filesystem access for react-native",
"main": "FS.common.js",
"typings": "index.d.ts",
Expand Down

0 comments on commit b6b3758

Please sign in to comment.