could just capture the image directly with a button click on a bubble page?
open camera on button click, take photo, upload or open phone gallery, select, upload
not sure why’d you’d need to go the api method.