getting image Uri in android
i am wanting to grab the image uri, upload it to firebase in order for it to be available there and other users r able to see this image when connecting to the firebase database. only issue is when an image is selected, firstImage is set as content://com.android.providers.media.documents/document/image%3A525
which doesn't have the extension, whether it's .png, etc.
the logic below is done in a composable function which is y something like gallery intent isn't used.