-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Implement the new official Android Photo Picker #2093
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
+45
−19
Merged
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,5 @@ | ||
#Tue May 17 14:28:43 CEST 2016 | ||
distributionBase=GRADLE_USER_HOME | ||
distributionPath=wrapper/dists | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-7.2-bin.zip | ||
zipStoreBase=GRADLE_USER_HOME | ||
zipStorePath=wrapper/dists | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-2.10-all.zip |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This changed forces compileSdkVersion to be set at 34 it seems, can be a breaking change.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@1Jesper1 I don't know what kind of apps are you developing but settings the compileSdkVersion and targetSdkVersion to 34 is a requirement now. You can't set it lower than 34.
https://support.google.com/googleplay/android-developer/answer/11926878?hl=en&sjid=13755100570201605452-EU
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See "Existing apps must target Android 13 (API level 33) or higher"
@rpopovici Our existing app has compileSdkVersion 33, changing to 34 breaks building our app. I need to do additional changes. (upgrading other packages and using newer Gradle).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Pauligrinder Were these the lowest version to use? Or can we use lower versions to targetSdkVersion 33?
If not we might want to create a PR to update the build.gradle and the README.
https://github.com/Pauligrinder/react-native-image-crop-picker/blob/0f8db423b8d317897c6266c8194fc630f2e43612/android/build.gradle#L3 to 34.
react-native-image-crop-picker/README.md
Line 228 in aa64f71
And set a warning for a possible breaking change in https://github.com/ivpusic/react-native-image-crop-picker/releases/tag/v0.42.0
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't know, unfortunately. I think I wrote in the initial description that someone who knows these better might wanna check the dependencies and set them as low as possible.
I just set them to values that worked for me.
My tip for you @1Jesper1 is, if you really need SDK33 support quickly, is to do the work yourself - fork the library, clone your fork to your machine, lower the versions as much as you need and push the changes to your fork. Then install your own fork into your app and see if it works. If it doesn't, then keep changing the versions until you find a combination that works.
Then you can make a PR of it and maybe someone else will also benefit from your work.
That's how open source is supposed to work 😉
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Pauligrinder No problem and thnx for the new picker, I have migrated to 34, but it might be helpful for users which are on 33 currently. If I have some time will check if lower versions are possible.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, might not be worth the effort since SDK34 is basically already required to submit a new app or update to the Play Store (SDK33 is OK for existing apps only).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Pauligrinder https://github.com/ivpusic/react-native-image-crop-picker/pull/2136/files