How can an LTI tool detect being launched in the Canvas Student Mobile App?

joel_duffin
Community Participant

I'd like my LTI tool to be able to detect that it is being launched inside of the Canvas Student Mobile app so that I can change its behavior. Specifically, I want to link back into the app using the canvas-courses:// protocol.

I was told that I could check the user-agent of the request but am unable to detect anything different than is sent from a mobile web browser.

I also vaguely remember being told that there is an extra parameter added to the LTI launch that I could use to detect that I was in the app but am unable to see anything in practice.

Is there a way I can detect being launched in the Canvas Student Mobile App?

Labels (1)