Repository navigation
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.
Canato
left a comment
There was a problem hiding this comment.
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. |
vanniktech
left a comment
There was a problem hiding this comment.
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. |
|
@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.