forked from Telerik-Verified-Plugins/ImagePicker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
plugin.xml
178 lines (143 loc) · 10.3 KB
/
plugin.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
<?xml version="1.0" encoding="UTF-8"?>
<plugin xmlns="http://www.phonegap.com/ns/plugins/1.0"
xmlns:android="http://schemas.android.com/apk/res/android"
id="cordova-plugin-telerik-imagepicker"
version="2.3.5">
<name>ImagePicker</name>
<description>
This plugin allows selection of multiple images from the camera roll / gallery in a phonegap app
</description>
<license>MIT</license>
<engines>
<engine name="cordova" version=">=3.5.0" />
</engines>
<js-module src="www/imagepicker.js" name="ImagePicker">
<clobbers target="plugins.imagePicker" />
</js-module>
<!-- ios -->
<platform name="ios">
<config-file target="config.xml" parent="/*">
<feature name="ImagePicker">
<param name="ios-package" value="SOSPicker"/>
</feature>
</config-file>
<preference name="PHOTO_LIBRARY_USAGE_DESCRIPTION" default=" " />
<config-file target="*-Info.plist" parent="NSPhotoLibraryUsageDescription">
<string>$PHOTO_LIBRARY_USAGE_DESCRIPTION</string>
</config-file>
<header-file src="src/ios/SOSPicker.h" />
<source-file src="src/ios/SOSPicker.m" />
<header-file src="src/ios/GMImagePicker/FeHourGlass.h" />
<source-file src="src/ios/GMImagePicker/FeHourGlass.m" />
<header-file src="src/ios/GMImagePicker/UIImage+fixOrientation.h" />
<source-file src="src/ios/GMImagePicker/UIImage+fixOrientation.m" />
<header-file src="src/ios/GMImagePicker/GMAlbumsViewCell.h" />
<source-file src="src/ios/GMImagePicker/GMAlbumsViewCell.m" />
<header-file src="src/ios/GMImagePicker/GMAlbumsViewController.h" />
<source-file src="src/ios/GMImagePicker/GMAlbumsViewController.m" />
<header-file src="src/ios/GMImagePicker/GMFetchItem.h" />
<source-file src="src/ios/GMImagePicker/GMFetchItem.m" />
<header-file src="src/ios/GMImagePicker/GMGridViewCell.h" />
<source-file src="src/ios/GMImagePicker/GMGridViewCell.m" />
<header-file src="src/ios/GMImagePicker/GMGridViewController.h" />
<source-file src="src/ios/GMImagePicker/GMGridViewController.m" />
<header-file src="src/ios/GMImagePicker/GMImagePickerController.h" />
<source-file src="src/ios/GMImagePicker/GMImagePickerController.m" />
<header-file src="src/ios/GMImagePicker/PSYBlockTimer.h" />
<source-file src="src/ios/GMImagePicker/PSYBlockTimer.m" />
<header-file src="src/ios/GMImagePicker/GMPHAsset.h" />
<source-file src="src/ios/GMImagePicker/GMPHAsset.m" />
<resource-file src="src/ios/GMImagePicker/GMEmptyFolder@1x.png" />
<resource-file src="src/ios/GMImagePicker/GMEmptyFolder@2x.png" />
<resource-file src="src/ios/GMImagePicker/GMSelected.png" />
<resource-file src="src/ios/GMImagePicker/GMSelected@2x.png" />
<resource-file src="src/ios/GMImagePicker/GMVideoIcon.png" />
<resource-file src="src/ios/GMImagePicker/GMVideoIcon@2x.png" />
<resource-file src="src/ios/GMImagePicker/ca.lproj" />
<resource-file src="src/ios/GMImagePicker/de.lproj" />
<resource-file src="src/ios/GMImagePicker/en.lproj" />
<resource-file src="src/ios/GMImagePicker/es.lproj" />
<resource-file src="src/ios/GMImagePicker/fr.lproj" />
<resource-file src="src/ios/GMImagePicker/it.lproj" />
<resource-file src="src/ios/GMImagePicker/pt.lproj" />
<resource-file src="src/ios/GMImagePicker/pl.lproj" />
<resource-file src="src/ios/GMImagePicker/zh-Hans.lproj" />
<framework src="Accelerate.framework" />
<framework src="Security.framework" />
<framework src="Photos.framework" />
<framework src="SystemConfiguration.framework" />
<framework src="QuartzCore.framework" />
</platform>
<!-- android -->
<platform name="android">
<config-file target="res/xml/config.xml" parent="/*">
<feature name="ImagePicker">
<param name="android-package" value="com.synconset.ImagePicker"/>
</feature>
</config-file>
<edit-config file="app/src/main/AndroidManifest.xml" mode="merge" target="/manifest/application">
<application android:requestLegacyExternalStorage="true" />
</edit-config>
<config-file target="AndroidManifest.xml" parent="/manifest/application">
<activity android:label="@string/multi_app_name" android:name="com.synconset.MultiImageChooserActivity" android:theme="@style/Theme.AppCompat.Light">
</activity>
</config-file>
<config-file target="AndroidManifest.xml" parent="/manifest">
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
</config-file>
<preference name="ANDROID_SUPPORT_V7_VERSION" default="27.+"/>
<framework src="com.android.support:appcompat-v7:$ANDROID_SUPPORT_V7_VERSION" />
<source-file src="src/android/com/synconset/ImagePicker/ImagePicker.java" target-dir="src/com/synconset" />
<source-file src="src/android/com/synconset/ImagePicker/FakeR.java" target-dir="src/com/synconset" />
<source-file src="src/android/com/synconset/ImagePicker/ResultIPC.java" target-dir="src/com/synconset" />
<source-file src="src/android/Library/src/ImageFetcher.java" target-dir="src/com/synconset"/>
<source-file src="src/android/Library/src/MultiImageChooserActivity.java" target-dir="src/com/synconset"/>
<resource-file src="src/android/Library/res/anim/image_pop_in.xml" target="res/anim/image_pop_in.xml"/>
<resource-file src="src/android/Library/res/drawable/grid_background.xml" target="res/drawable/grid_background.xml"/>
<resource-file src="src/android/Library/res/drawable-hdpi/image_bg.9.png" target="res/drawable-hdpi/image_bg.9.png"/>
<resource-file src="src/android/Library/res/drawable-hdpi/loading_icon.png" target="res/drawable-hdpi/loading_icon.png"/>
<resource-file src="src/android/Library/res/drawable-mdpi/ic_action_discard_dark.png" target="res/drawable-mdpi/ic_action_discard_dark.png"/>
<resource-file src="src/android/Library/res/drawable-mdpi/ic_action_discard_light.png" target="res/drawable-mdpi/ic_action_discard_light.png"/>
<resource-file src="src/android/Library/res/drawable-mdpi/ic_action_done_dark.png" target="res/drawable-mdpi/ic_action_done_dark.png"/>
<resource-file src="src/android/Library/res/drawable-mdpi/ic_action_done_light.png" target="res/drawable-mdpi/ic_action_done_light.png"/>
<resource-file src="src/android/Library/res/drawable-mdpi/ic_launcher.png" target="res/drawable-mdpi/ic_launcher.png"/>
<resource-file src="src/android/Library/res/drawable-xhdpi/ic_action_discard_dark.png" target="res/drawable-xhdpi/ic_action_discard_dark.png"/>
<resource-file src="src/android/Library/res/drawable-xhdpi/ic_action_discard_light.png" target="res/drawable-xhdpi/ic_action_discard_light.png"/>
<resource-file src="src/android/Library/res/drawable-xhdpi/ic_action_done_dark.png" target="res/drawable-xhdpi/ic_action_done_dark.png"/>
<resource-file src="src/android/Library/res/drawable-xhdpi/ic_action_done_light.png" target="res/drawable-xhdpi/ic_action_done_light.png"/>
<resource-file src="src/android/Library/res/drawable-xhdpi/ic_launcher.png" target="res/drawable-xhdpi/ic_launcher.png"/>
<resource-file src="src/android/Library/res/layout/actionbar_custom_view_done_discard.xml" target="res/layout/actionbar_custom_view_done_discard.xml"/>
<resource-file src="src/android/Library/res/layout/actionbar_discard_button.xml" target="res/layout/actionbar_discard_button.xml"/>
<resource-file src="src/android/Library/res/layout/actionbar_done_button.xml" target="res/layout/actionbar_done_button.xml"/>
<resource-file src="src/android/Library/res/layout/multiselectorgrid.xml" target="res/layout/multiselectorgrid.xml"/>
<resource-file src="src/android/Library/res/values/multiimagechooser_strings_en.xml" target="res/values/multiimagechooser_strings_en.xml"/>
<resource-file src="src/android/Library/res/values/themes.xml" target="res/values/themes.xml"/>
<resource-file src="src/android/Library/res/values-de/multiimagechooser_strings_de.xml" target="res/values-de/multiimagechooser_strings_de.xml"/>
<resource-file src="src/android/Library/res/values-es/multiimagechooser_strings_es.xml" target="res/values-es/multiimagechooser_strings_es.xml"/>
<resource-file src="src/android/Library/res/values-fr/multiimagechooser_strings_fr.xml" target="res/values-fr/multiimagechooser_strings_fr.xml"/>
<resource-file src="src/android/Library/res/values-hu/multiimagechooser_strings_hu.xml" target="res/values-hu/multiimagechooser_strings_hu.xml"/>
<resource-file src="src/android/Library/res/values-it/multiimagechooser_strings_it.xml" target="res/values-it/multiimagechooser_strings_it.xml"/>
<resource-file src="src/android/Library/res/values-ja/multiimagechooser_strings_ja.xml" target="res/values-ja/multiimagechooser_strings_ja.xml"/>
<resource-file src="src/android/Library/res/values-ko/multiimagechooser_strings_ko.xml" target="res/values-ko/multiimagechooser_strings_ko.xml"/>
<resource-file src="src/android/Library/res/values-pt/multiimagechooser_strings_pt.xml" target="res/values-pt/multiimagechooser_strings_pt.xml"/>
<source-file src="src/android/Library/res/values-pl/multiimagechooser_strings_pl.xml" target-dir="res/values-pl"/>
<framework src="src/android/ignorelinterrors.gradle" custom="true" type="gradleReference"/>
<framework src="src/android/androidtarget.gradle" custom="true" type="gradleReference"/>
</platform>
<!-- browser -->
<platform name="browser">
<config-file parent="/*" target="config.xml">
<feature name="ImagePicker">
<param name="browser-package" value="ImagePicker"/>
</feature>
</config-file>
<!-- Required for browserify: we always link module below as there is conditional reference
to this module from requestFileSystem and resolveLocalFileSystemURI modules. -->
<js-module src="www/browser/isChrome.js" name="isChrome">
<runs />
</js-module>
<js-module src="src/browser/ImagePicker.js" name="ImagePickerProxy">
<runs/>
</js-module>
</platform>
</plugin>