-
-
Notifications
You must be signed in to change notification settings - Fork 268
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
Remove the manifest hack #399
Conversation
contract: ActivityResultContract<I, O>, | ||
input: I, | ||
options: ActivityOptionsCompat? | ||
) { |
Check warning
Code scanning / detekt
Empty block of code detected. As they serve no purpose they should be removed.
contract: ActivityResultContract<I, O>, | ||
input: I, | ||
options: ActivityOptionsCompat? | ||
) { |
Check warning
Code scanning / detekt
Empty block of code detected. As they serve no purpose they should be removed.
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.
Thanks to doing this, will need to test later when I got the time.
Which Devices and Android OSs did you tested so I can increase the range?
@PaulWoitaschek
What do you mean by that? This PR only removes a workaround that - when I understand correctly - caused the build stage to fail. |
But did you test the sample app on Android 11 and 12 on some devices? Is always good to check if this is working before we ship. |
Yes I did now (Android 12). But anyways, I do not see anyhow how this can affect the runtime code. |
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.
Why was this hack added in the first place? I never understood it myself
This was done when updating Update gradle 7.0 and Java 11 and Update Android 12 (SDK 31) On Android 12 we need the
|
OKay but then isn't the solution now to update to the newest version of androidx.test.core. Also it seems like only instrumentation tests are affected |
But these are test only dependencies 🤔 |
Am I blind? (On mobile currently). I don't see any? |
Exactly what I'm saying: |
That was referring to the message above, our messages arrived at the same second. |
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.
Thanks for cleaning this
@Canato |
I think it's the other way around. That commit was released as 4.3.1 and you are using older versions (4.2 and 4.3) |
@PaulWoitaschek Thanks!! |
Now that doesn't seem image cropper related. Looks like you should update your android test dependency |
thanks @PaulWoitaschek |
Fixes #395
I actually could not make any sense of why the original hack was in place at all.