Feb 25 2021 01:42 AM - edited Feb 27 2021 11:51 PM
Currently, I'm trying to get context using getContext() and trying to decide whether it's running in Teams or Browser.
Is there any other better way to move ahead with this?
Feb 28 2021 10:19 AM
Feb 28 2021 10:49 AM - edited Feb 28 2021 11:19 AM
Actually, the callback inside getContext() is not being executed when the website is being opened in the browser. Please see this once -> https://stackblitz.com/edit/react-cuadoi?file=src%2FApp.js
Feb 28 2021 08:47 PM