Forum Discussion
krishnapilla
Oct 05, 2021Copper Contributor
How to enable cookies & cross site tracking in Teams IOS App
I am developing an app for Microsoft Teams. The app includes a personal tab (static) tab which displays an iframe from a different domain to achieve some functionality within the personal tab. The if...
- Oct 18, 2021
krishnapilla -
The 3rd party cookies have been blocked by iOS starting iOS 14. This is not just for Teams, but for other apps as well.
Here is the link -
https://webkit.org/blog/10218/full-third-party-cookie-blocking-and-more/
You can try setting the cookie manually. Let us know if that helps you.Thanks,
Hunaid Hanfee
-------------------------------------------------------------
If the response is helpful, please click "**Mark as Best Response**" and like it. You can share your feedback via Microsoft Teams Developer Feedback link. Click here to escalate.
MarkFerraz
Oct 05, 2021Copper Contributor
HunaidHanfee-MSFT is it just cookies, because I have the same problem, with my app. Loads everywhere but iOS, and no idea why. Has anyone else seen similar issues?
HunaidHanfee-MSFT
Microsoft
Oct 07, 2021MarkFerraz -
I tried setting up a cookie and accessing it and I didn't faced any issue. This how I did it:
document.cookie = "testKey=testValue;SameSite=None;Secure";
Could you please try with the same as I did.
- krishnapillaOct 07, 2021Copper Contributor
HunaidHanfee-MSFT thanks for your response. The iframe that I am trying to display in the Personal Tab is trying to set this automatically and it is 3rd party cookies. I can observe these 3rd party cookies are set automatically when I open the same app in MS Teams Desktop Client & Android. So with your option should I set it manually/explicitly so the Teams IOS does not block?
- HunaidHanfee-MSFTOct 18, 2021
Microsoft
krishnapilla -
The 3rd party cookies have been blocked by iOS starting iOS 14. This is not just for Teams, but for other apps as well.
Here is the link -
https://webkit.org/blog/10218/full-third-party-cookie-blocking-and-more/
You can try setting the cookie manually. Let us know if that helps you.Thanks,
Hunaid Hanfee
-------------------------------------------------------------
If the response is helpful, please click "**Mark as Best Response**" and like it. You can share your feedback via Microsoft Teams Developer Feedback link. Click here to escalate.
- HunaidHanfee-MSFTOct 08, 2021
Microsoft
We are checking internally. I will get back to you soon,