Thank you for your question! Yes, you are on the right path with getRunningContext. Can you share what that method returns when opening your Zoom Apps on mobile (iOS)?
@donte.zoom Thanks for your response! It returns inMainClient when in panel, and inMeeting when in meeting on mobile (iOS). If it returned anything else, it would be breaking for our app, so please let us know if this is not the expected response
Thank you for getting back to me. The “product” parameter in the Zoom Apps Context will have this info to detect the device. The expected return value in app context: product=“mobile”. Can you try the getAppContext() and let us know the results?
Once confirmed, I will work with the team to update the documentation to make it clearer. Please let us know if you have any additional feedback on how the docs can be improved.
Hi @donte.zoom ,
Thanks for your response! It seems like product property is not available on the app context either in X-Zoom-App-Context header or from the response from getAppContext.
The properties on the app context are: typ, uid, aud, iss, ts, exp, and entitlements
Actually, the right way is to grab the product parameter from zoomSdk.config() response. Please try that and let us know if that helps.
We are actively updating our documentation to provide the best possible support. In order to keep you up-to-date with the latest changes and updates, we recommend that you follow our changelog.
We also welcome any feedback or suggestions that you might have, so please don’t hesitate to share your thoughts with us. If you have any updates that you would like to submit, we would be more than happy to review them and take them into consideration.
If you have any questions or concerns, please don’t hesitate to reach out to us at any time.