3 files changed +7
-3
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " cordova-obimagepicker" ,
3
- "version" : " 2.0.7 " ,
3
+ "version" : " 2.0.8 " ,
4
4
"description" : " Cordova file picker" ,
5
5
"main" : " index.js" ,
6
6
"scripts" : {
Original file line number Diff line number Diff line change 2
2
<plugin xmlns =" http://www.phonegap.com/ns/plugins/1.0"
3
3
xmlns : android =" http://schemas.android.com/apk/res/android"
4
4
id =" ro.qualitance.obimagepicker"
5
- version =" 2.0.7 " >
5
+ version =" 2.0.8 " >
6
6
7
7
<name >ObImagePicker</name >
8
8
Original file line number Diff line number Diff line change @@ -30,7 +30,11 @@ - (void) getPictures:(CDVInvokedUrlCommand *)command {
30
30
imagePickerController.allowsMultipleSelection = YES ;
31
31
imagePickerController.showsNumberOfSelectedAssets = YES ;
32
32
imagePickerController.maximumNumberOfSelection = maximumImagesCount;
33
-
33
+ imagePickerController.assetCollectionSubtypes = @[
34
+ @(PHAssetCollectionSubtypeSmartAlbumUserLibrary), // Camera Roll
35
+ @(PHAssetCollectionSubtypeAlbumMyPhotoStream), // My Photo Stream
36
+ @(PHAssetCollectionSubtypeSmartAlbumPanoramas), // Panoramas
37
+ ];
34
38
self.callbackId = command.callbackId ;
35
39
36
40
[self .viewController presentViewController: imagePickerController animated: YES completion: NULL ];
0 commit comments