You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+16-20Lines changed: 16 additions & 20 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -64,7 +64,7 @@ ImagePicker.openPicker({
64
64
**Android: The prop 'cropping' has been known to cause videos not to be displayed in the gallery on Android. Please do not set cropping to true when selecting videos.**
65
65
66
66
67
-
### Select from camera
67
+
### Select from camera
68
68
69
69
#### Image
70
70
@@ -212,15 +212,25 @@ In Xcode open Info.plist and add string key `NSPhotoLibraryUsageDescription` wit
212
212
213
213
- Open your Xcode project
214
214
- Go to your project settings by opening the project name on the Navigation (left side)
215
-
- Select your project in the project list
215
+
- Select your project in the project list
216
216
- Should be into the Info tab and add in Localizations the language your app was missing throughout the +
217
217
- Rebuild and you should now have your app camera and gallery with the classic ios text in the language you added.
218
218
219
219
### Android
220
220
221
-
-**VERY IMPORTANT** Add the following to your `build.gradle`'s repositories section. (android/build.gradle)
221
+
-**VERY IMPORTANT** Add the following to your `build.gradle`'s repositories section and change Android SDK version to 33. (android/build.gradle)
222
222
223
223
```gradle
224
+
buildscript {
225
+
ext {
226
+
buildToolsVersion = "31.0.0"
227
+
minSdkVersion = 21
228
+
compileSdkVersion = 33
229
+
targetSdkVersion = 33
230
+
...
231
+
}
232
+
}
233
+
224
234
allprojects {
225
235
repositories {
226
236
mavenLocal()
@@ -251,23 +261,6 @@ android {
251
261
}
252
262
```
253
263
254
-
- Use Android SDK >= 26 (android/app/build.gradle)
255
-
256
-
```gradle
257
-
android {
258
-
compileSdkVersion 27
259
-
buildToolsVersion "27.0.3"
260
-
...
261
-
262
-
defaultConfig {
263
-
...
264
-
targetSdkVersion 27
265
-
...
266
-
}
267
-
...
268
-
}
269
-
```
270
-
271
264
- Minimum Gradle version if you are using react-native-image-crop-picker >= 0.35.0
272
265
273
266
```
@@ -280,6 +273,9 @@ android {
280
273
281
274
Reference for more details https://github.com/ivpusic/react-native-image-crop-picker/issues/1406
282
275
276
+
- If you use SDK version >= 33, add following to `app/src/main/AndroidManifest.xml`
0 commit comments