Closed 3a4oT closed 6 months ago
Thanks @3a4oT, we will look into this. Could you update the title of the issue to better describe the issues that you're facing? Also, are you able to provide any further information about how to replicate this issue?
Thanks @3a4oT, we will look into this. Could you update the title of the issue to better describe the problems that you're facing? Also, are you able to provide any further information about how to replicate this issue?
Just try to get flags, nothing special. It fails when loading from an iOS app (consuming from SPM), so I guess it may be related to NSAppTransportSecurity
(again not sure how and why, yet :)))
Hi @3a4oT do you have the tracking switch switched off for the app that you have Flagsmith integrated into?
If you go to Privacy and Security then Tracking in settings you should see a list of apps. Could you please try with and without for your app and let us know the outcome?
Hi, we're seeing exactly the same issue. No changes made to how we're using the Flagsmith SDK, but pointing to 3.6.0 release results in us seeing the same error.
Hi @3a4oT do you have the tracking switch switched off for the app that you have Flagsmith integrated into?
If you go to Privacy and Security then Tracking in settings you should see a list of apps. Could you please try with and without for your app and let us know the outcome?
My app is not on that list, but I guess you're digging in the right direction. It seems like the root cause of it is this change . Per Apple documentation seems like a network error is expected if the user doesn't allow tracking.
NSPrivacyTrackingDomains
An array of strings that lists the internet domains your app or third-party SDK connects to that engage in tracking.
If the user has not granted tracking permission through the App Tracking Transparency framework, network requests to these domains fail and your app receives an error.
The issue is that SDK should continue to work no matter what the user chooses in terms of tracking.
ahh, just saw your PR, so it seems like you come to the same conclusion. I will try to test your branch and see whether it helps.
I can confirm that linked PR fixed the issue with network error.
We tried to use the latest release but discovered issues with
URLSession
loading on iOS. Considering that myinternal fork
(with strict concurrency changes) works well, I suspect something went wrong with other commits (maybe Privacy manifest??). I haven't had time to research so far.Issue reported on the console when pointing to the 3.6.0 release:
cc. @dabeeeenster , @gazreese