Thread
#compose
    Deepak Gahlot

    Deepak Gahlot

    1 year ago
    Hello, I'm using ActivityResults
    val registerTakeFile = registerForActivityResult(
        ActivityResultContracts.OpenDocument()
    and after updating to implementation "androidx.activity:activity-compose:1.3.0-alpha04" i'm getting an error
    Can only use lower 16 bits for requestCode
    jossiwolf

    jossiwolf

    1 year ago
    Mhhhm there was an issue for this
    It's a fixed bug
    Deepak Gahlot

    Deepak Gahlot

    1 year ago
    it was working fine before the update to the new version -1.3.0:alpha04
    jossiwolf

    jossiwolf

    1 year ago
    Try adding an explicit dependency on Fragment 1.3.1 (see https://issuetracker.google.com/issues/179172848)
    Deepak Gahlot

    Deepak Gahlot

    1 year ago
    sure thing let me try
    jossiwolf

    jossiwolf

    1 year ago
    Or make sure to use
    ComponentActivity
    instead of
    AppCompatActivity
    if you don't need that and are using activities
    Deepak Gahlot

    Deepak Gahlot

    1 year ago
    worked right away!!!!
    jossiwolf

    jossiwolf

    1 year ago
    Perfect!