Oct 05 2021 07:59 AM
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 iframe displays well in the Desktop client, web client and in the Android mobile device of the teams. When it comes to the Teams IOS App, the iframe could not load because it needs cookies functionality. It seems the teams IOS app prevents the cookies & cross site tracking.
Here are the options I tried which did not work:
1. Enabled safari as my default browser and enabled cookies & cross site tracking in IOS (Iphone) safari settings.
2. Enabled chrome as my default browser and enabled cookies & cross site tracking in IOS (Iphone) safari settings.
Note: The same iframe URL is able to load and display in my iphone safari without any issues.
Please assist if someone came across this issue in Teams IOS App and is there any setting I need to enable programatically.
Oct 05 2021 10:13 AM
Oct 05 2021 11:02 AM
@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?
Oct 06 2021 02:13 AM
Oct 07 2021 06:17 AM
@MarkFerraz -
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.
Oct 07 2021 01:54 PM
@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?
Oct 08 2021 09:32 AM
Oct 17 2021 10:17 PM - edited Oct 21 2021 09:30 AM
Solution@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.
Oct 17 2021 10:17 PM - edited Oct 21 2021 09:30 AM
Solution@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.