Open kodebach opened 5 days ago
Another workaround is to call LibrariesContainer
with showLicenseBadges = false
(to avoid the FlowRow
for the badges) and some lambda for onLibraryClick
(to avoid the FlowRow
in the custom Dialog
). If the non-Android-specific LibrariesContainer
overload that takes a Libs
is used, you still need to use onLibraryClick
because with both onLibraryClick = null
and licenseDialogBody = null
clicking a library becomes a no-op, if the library has an HTML license.
The latest beta 11.3.0-b01 does use compose multiplatform 1.7.0 which might already solve the binary conflict
If not, the library itself is not updated for compose 1.8.0 and will likely only do so only once compose 1.8.0 reaches more stable releases (or is available in compose mulitplatform)
About this issue
The library is not compatible with using the newest compose 1.8.0 version. Trying to use
LibrariesContainer
results in:Details
It's caused by this CL https://android-review.googlesource.com/c/platform/frameworks/support/+/3156116, which breaks binary compatibility. Since
FlowRow
is marked with@ExperimentalLayoutApi
that is not a bug, so I don't think reporting this issue the Compose issue tracker will help.AFAICT the only workaround from our side (other than not using compose 1.8.0 yet) is to copy essentially fork the library by copying the sources from
SharedLibraries.kt
. The sources don't need any changes, since API change toFlowRow
is source-compatible.Versions
androidx.compose.foundation:foundation:1.8.0-alpha01
or latercom.mikepenz:aboutlibraries-compose:11.3.0-b01