Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migration to a new iOS http client #100

Open
CatchABus opened this issue Sep 10, 2024 · 3 comments
Open

Migration to a new iOS http client #100

CatchABus opened this issue Sep 10, 2024 · 3 comments

Comments

@CatchABus
Copy link
Contributor

CatchABus commented Sep 10, 2024

Apple has become strict with privacy and AFNetworking seems to have an impact on it.
Users who use that client will be warned by Apple Store:

ITMS-91061: Missing privacy manifest - Your app includes “Frameworks/AFNetworking.framework/AFNetworking”, which includes AFNetworking, an SDK that was identified in the documentation as a privacy-impacting third-party SDK. Starting November 12, 2024, if a new app includes a privacy-impacting SDK, or an app update adds a new privacy-impacting SDK, the SDK must include a privacy manifest file. Please contact the provider of the SDK that includes this file to get an updated SDK version with a privacy manifest. For more details about this policy, including a list of SDKs that are required to include signatures and manifests, visit: https://developer.apple.com/support/third-party-SDK-requirements.

The library itself has been deprecated and suggests migrating to Alamofire swift library: https://github.com/Alamofire/Alamofire
image

This is worrying as Apple Store could reject app submissions for such a reason.

@CatchABus CatchABus changed the title Migration to new http client Migration to a new iOS http client Sep 10, 2024
@farfromrefug
Copy link
Member

That s bad news. I always wanted to.do the migration but it is quite a lot of work :(

@CatchABus
Copy link
Contributor Author

That s bad news. I always wanted to.do the migration but it is quite a lot of work :(

I see and it's unfortunate that it's written in Swift too.
Would we be able to support what AFNNetworking offers by using existing APIs like URLSession?

@farfromrefug
Copy link
Member

That s bad news. I always wanted to.do the migration but it is quite a lot of work :(

I see and it's unfortunate that it's written in Swift too. Would we be able to support what AFNNetworking offers by using existing APIs like URLSession?

It would be tough. As for the swift issue not the biggest of deal. We can easily write a swift wrapper which expose itself to objc. Wouldnt be too many methods.
My issue is more about finding the corresponding APIs to use with alamofire. I dont find the doc easy to go through

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants