Assigned
Status Update
Comments
xa...@gtempaccount.com <xa...@gtempaccount.com> #2
having the same issue
Room version > 2.7.0-alpha08
agp = "8.2.2"
kotlin = "2.0.20"
ksp-plugin = "2.0.20-1.0.24"
also Reverting to Room version 2.7.0-alpha07 solves the issue.
Room version > 2.7.0-alpha08
agp = "8.2.2"
kotlin = "2.0.20"
ksp-plugin = "2.0.20-1.0.24"
also Reverting to Room version 2.7.0-alpha07 solves the issue.
xa...@gtempaccount.com <xa...@gtempaccount.com> #4
Project: platform/frameworks/support
Branch: androidx-main
Author: Daniel Santiago Rivera <
Link:
Configure the schema asset android copy task within its register block and not within AGP's wiredWith lambda.
Expand for full commit details
Configure the schema asset android copy task within its register block and not within AGP's wiredWith lambda.
Otherwise the tasks inputs are locked by the time the wiredWith lambda passed to addGeneratedSourceDirector() is invoked and will lead to "property 'inputDirectory' is final and cannot be changed any further".
Bug: 376071291
Test: Manual with sample repro app
Change-Id: I2c9da4855cd31d7df3276424546aba4c53edf7ea
Files:
- M
room/room-gradle-plugin/src/main/java/androidx/room/gradle/integration/AndroidPluginIntegration.kt
Hash: 1dbb4c1876e1e8a8e930bec4625741ac6dc05a0b
Date: Thu Dec 05 14:21:51 2024
pe...@google.com <pe...@google.com> #5
I'm having the same problem in my Compose Multiplatform project and I'm using the latest version available 2.7.0-alpha12. The way I found to get around this was by adding the following task to my build.gradle
tasks.matching { it.name.startsWith("copyRoomSchemasToAndroidTestAssetsDebugAndroidTest") }.configureEach {
enabled = false
}
But I believe this is not the right thing to do, since I'm hiding the error. Is there another way to solve it or will the library be updated to fix it?
tasks.matching { it.name.startsWith("copyRoomSchemasToAndroidTestAssetsDebugAndroidTest") }.configureEach {
enabled = false
}
But I believe this is not the right thing to do, since I'm hiding the error. Is there another way to solve it or will the library be updated to fix it?
Description
Component used:
androidx.browser:browser
Version used:
1.5.0
Devices/Android versions reproduced on: Samsung A10 - Android 11. Although I suspect this is not a device-specific issue.
Description of the problem:
The androidx Browser package doesn't do a lot of error handling when launching Source ). After some research, I've found that the problem can be observed when the following conditions are met:
Intent
s. We're seeing someSecurityException
s in our app that occur when the Firebase in-app messaging library launches a web URLIntent
. That library uses the androidx Browser package (Consumer
. This is the 'victim', this app is the one that uses the androidx Browser package to open a website.Buggy
. This is the troublemaker. This app declares at least 2 Activities that can handle web URL intents. See below.Intent
s (this can be done by uninstalling all browser apps and disabling any system browser app).If all the above happens, then when the
Consumer
app tries to navigate to any website using Custom Tabs, aSecurityException
will be thrown. There may be other ways of reproducing, but I was only able to reproduce it with the above set up.Code
The relevant code snippet of the
Buggy
app is this:As I mentioned earlier this crash was first observed in the Firebase in-app messaging library, but I was able to reproduce it using 2 sample apps (see attached), that's why I'm reporting the issue here.
Stacktrace
Thanks in advance!