Streamlit upload QR image and read the value

I’m trying to upload a QR image and reading a value. When i upload a image, it is working on laptop broswer.

Issue :During testing, I’m accessing Streamlit app from my mobile browser and trying to upload a picture from the option “Take photo or video”. It’s not even printing the print statements.

qrImg = st.file_uploader("Take QR pic") 
if qrImg is not None:
         print (type(qrImg))
          decode(qrImg)

qrimg value is none (<class ‘NoneType’>) on mobile browser(safari).

Any suggestions please ?