socket.io-client-swift icon indicating copy to clipboard operation
socket.io-client-swift copied to clipboard

Privacy Manifest

Open EricJMoon opened this issue 2 years ago • 3 comments

Hi, At WWDC23 Apple announced that apps and SDKs that make use of "required reason" APIs and "Data Collection", "Tracking" will need to provide a privacy manifest. Does socket.io-client-swift need to include this manifest?

https://developer.apple.com/documentation/bundleresources/privacy_manifest_files/describing_data_use_in_privacy_manifests https://developer.apple.com/documentation/bundleresources/privacy_manifest_files/describing_use_of_required_reason_api

EricJMoon avatar Dec 07 '23 05:12 EricJMoon

Hello! socket.io-client-swift is not in list of third-party SDKs, so Apple does not require Privacy Manifest for it. But in other side socket.io-client-swift depends on Starscream which is in this list. Fortunately last version of socket.io-client-swift has dependency Starscream (~> 4.0.6) and Starscream has been updated with MP in version 4.0.8. So you can just update like this in your project:

pod update Socket.IO-Client-Swift Starscream

orakull avatar Mar 11 '24 13:03 orakull

For now, I found this solution. Just fork this and update the pod spec file. I did it. You can use the below line.

pod 'Socket.IO-Client-Swift', :git => 'https://github.com/batikansosun/socket.io-client-swift.git'

batikansosun avatar Apr 15 '24 10:04 batikansosun