Skip to content

Commit ae7b36c

Browse files
committedSep 13, 2015
Update version to 2.0.7
1 parent 3cce2e8 commit ae7b36c

25 files changed

+62
-2301
lines changed
 

‎README.md

+12-20
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ cordova-obimagepicker
22
===================
33

44
Cordova Plugin For Multiple Image Selection - implemented for iOS and Android 4.0 and above.
5+
It can be used as a replacement for http://ngcordova.com/docs/plugins/imagePicker/
56

67
## Installing the plugin
78

@@ -39,31 +40,16 @@ window.imagePicker.getPictures(
3940
}, function (error) {
4041
console.log('Error: ' + error);
4142
}, {
42-
maximumImagesCount: 10,
43-
width: 800,
44-
dataurl: 0
43+
maximumImagesCount: 10
4544
}
4645
);
4746
```
4847

4948
### Options
5049

5150
options = {
52-
// max images to be selected, defaults to 15. If this is set to 1, upon
53-
// selection of a single image, the plugin will return it.
51+
// max images to be selected, defaults to 0 (infinity)
5452
maximumImagesCount: int,
55-
56-
// max width and height to allow the images to be. Will keep aspect
57-
// ratio no matter what. So if both are 800, the returned image
58-
// will be at most 800 pixels wide and 800 pixels tall. If the width is
59-
// 800 and height 0 the image will be 800 pixels wide if the source
60-
// is at least that wide.
61-
width: int,
62-
height: int,
63-
64-
// quality of resized image, defaults to 100
65-
quality: int (0-100),
66-
dataurl: 0 // 1 if you what to return image in base64 format
6753
};
6854

6955
### Note for Android Use
@@ -72,11 +58,17 @@ The plugin returns images that are stored in a temporary directory. These image
7258

7359
## Libraries used
7460

75-
#### ELCImagePicker
61+
#### QBImagePicker
7662

77-
For iOS this plugin uses the ELCImagePickerController, with slight modifications for the iOS image picker. ELCImagePicker uses the MIT License which can be found in the file LICENSE.
63+
For iOS this plugin uses the QBImagePicker, with slight modifications for the iOS image picker.
64+
QBImagePicker uses the MIT License which can be found in the file LICENSE.
7865

79-
https://github.com/B-Sides/ELCImagePickerController
66+
### The following libraries are required:
67+
- QuartzCore.framework
68+
- Photos.framework
69+
70+
71+
https://github.com/questbeat/QBImagePicker
8072

8173
#### MultiImageChooser
8274

‎package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "cordova-obimagepicker",
3-
"version": "2.0.3",
3+
"version": "2.0.7",
44
"description": "Cordova file picker",
55
"main": "index.js",
66
"scripts": {

‎plugin.xml

+1-5
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<plugin xmlns="http://www.phonegap.com/ns/plugins/1.0"
33
xmlns:android="http://schemas.android.com/apk/res/android"
44
id="ro.qualitance.obimagepicker"
5-
version="2.0.3">
5+
version="2.0.7">
66

77
<name>ObImagePicker</name>
88

@@ -63,10 +63,6 @@
6363

6464
<resource-file src="src/ios/QBImagePicker/QBImagePicker.storyboard" />
6565
<resource-file src="src/ios/QBImagePicker/en.lproj/QBImagePicker.strings" />
66-
<resource-file src="src/ios/QBImagePicker/de.lproj/QBImagePicker.strings" />
67-
<resource-file src="src/ios/QBImagePicker/es.lproj/QBImagePicker.strings" />
68-
<resource-file src="src/ios/QBImagePicker/ja.lproj/QBImagePicker.strings" />
69-
<resource-file src="src/ios/QBImagePicker/zh-Hans.lproj/QBImagePicker.strings" />
7066

7167
</platform>
7268

‎src/ios.old/ELCImagePicker/ELCAlbumPickerController.h

-24
This file was deleted.

‎src/ios.old/ELCImagePicker/ELCAlbumPickerController.m

-164
This file was deleted.

‎src/ios.old/ELCImagePicker/ELCAsset.h

-29
This file was deleted.

‎src/ios.old/ELCImagePicker/ELCAsset.m

-49
This file was deleted.

‎src/ios.old/ELCImagePicker/ELCAssetCell.h

-15
This file was deleted.

0 commit comments

Comments
 (0)
Failed to load comments.