i got image content uri from activity result like this
val imagePickerLauncher = rememberLauncherForActivityResult(contract = ActivityResultContracts.GetContent(), onResult = { uri->
it?.let {
profilePhoto = uri.toString()
}
})
- should i convert it to byte array and store it as blob ?
- should i copy the file to app specific folder and store that path to room ?
bast solution to do this