Getting the User Agent of the current session

Hi Everyone,
I am tracking and performing my trading activity with the help of a streamlit app I have built (demo here ).

I am wondering if it is possible to get the User Agent of a specific session/user that will allow me to branch the code and design to a different model whilst connecting on a Mobile Device? Overall I wish to have a complete different design/available modules whilst running on mobile.

Any suggestion?
Thank you and keep up the great work! :slightly_smiling_face:
Pascal

Hi @pascalo -

User agent isn’t currently provided for use this way within Streamlit, though we do try to provide a responsive layout for smaller screens.

Best,
Randy

1 Like

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.