I am trying to take a photo in kotlin with the following function:
@JavascriptInterface fun generate() { val photoUri = Uri.fromFile(photo) val imageC