Skip to content

Using tool tip crashes application on compose 1.11.0-alpha05 #196

@ddrb56

Description

@ddrb56

Describe your issue

Due to compose foundation removing the isDetectTapGesturesImmediateCoroutineDispatchEnabled flag on the latest version, the app crashes with the following exception:

java.lang.NoSuchFieldError: No static field isDetectTapGesturesImmediateCoroutineDispatchEnabled of type Z in class Landroidx/compose/foundation/ComposeFoundationFlags; or its superclasses (declaration of 'androidx.compose.foundation.ComposeFoundationFlags' appears in /data/app/~~Q0uS42EVvx4kECKHJHEIpA==/io.ggs.waypoint.debug-ax-ccbEuw9MU0eXurzBvWA==/base.apk)
                                                                                                    	at core.com.composeunstyled.LongClickableKt.getCoroutineStartForCurrentDispatchBehavior(LongClickable.kt:74)
                                                                                                    	at core.com.composeunstyled.LongClickableKt.access$getCoroutineStartForCurrentDispatchBehavior(LongClickable.kt:1)
                                                                                                    	at core.com.composeunstyled.LongClickableKt$detectTapGestures$2$1.invokeSuspend(LongClickable.kt:147)

What version of Compose Unstyled are you using?

1.49.6

What version of Compose are you using?

1.11.0-alpha05

Which platforms can you reproduce the bug on?

Select one or multiple:

  • Android
  • iOS
  • Desktop (Windows, Linux, MacOS)
  • Web WASM
  • Web JS

Minimum reproducible code

Any code that uses the tool tip composable

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions