Skip to content

Commit 8f4282a

Browse files
author
radeva
authored
Merge branch 'master' into master
2 parents b2c748e + cdfc62c commit 8f4282a

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

demo/README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
This NativeScript project demonstrates how the plugin works.
2+
If you want to test it out on an emulator or a device you can follow the instructions below:
3+
4+
* `git clone https://github.com/NativeScript/nativescript-imagepicker.git`
5+
* `cd nativescript-imagepicker/demo` or `cd nativescript-imagepicker/demo-angular`
6+
* `npm run build.plugin && npm install`
7+
* `tns run android` or `tns run ios` depending on the platform you want to test

src/imagepicker.ios.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -266,6 +266,7 @@ class ImagePickerPH extends ImagePicker {
266266
this._thumbRequestOptions.resizeMode = PHImageRequestOptionsResizeMode.Exact;
267267
this._thumbRequestOptions.synchronous = false;
268268
this._thumbRequestOptions.deliveryMode = PHImageRequestOptionsDeliveryMode.Opportunistic;
269+
this._thumbRequestOptions.networkAccessAllowed = true; // needed for retrieving iCloud images
269270
this._thumbRequestOptions.normalizedCropRect = CGRectMake(0, 0, 1, 1);
270271

271272
this._thumbRequestSize = CGSizeMake(80, 80);

0 commit comments

Comments
 (0)