Hello, I'm using ActivityResults ```val registerTa...
# compose
d
Hello, I'm using ActivityResults
Copy code
val registerTakeFile = registerForActivityResult(
    ActivityResultContracts.OpenDocument()
and after updating to implementation "androidx.activityactivity compose1.3.0-alpha04" i'm getting an error
Can only use lower 16 bits for requestCode
j
Mhhhm there was an issue for this
It's a fixed bug
d
it was working fine before the update to the new version -1.3.0:alpha04
j
Try adding an explicit dependency on Fragment 1.3.1 (see https://issuetracker.google.com/issues/179172848)
d
sure thing let me try
j
Or make sure to use
ComponentActivity
instead of
AppCompatActivity
if you don't need that and are using activities
🙏 1
d
worked right away!!!!
j
Perfect!