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

feat: add privacy manifest for iOS 17 #476

Merged
merged 2 commits into from
Feb 7, 2024
Merged

Conversation

Mercy811
Copy link
Contributor

Summary

Add privacy manifest file. It pretty much the same as amplitude/Amplitude-Swift#109

  • Fields are the same
  • Domains are different as next-gen SDKs are using HTTP V2

Checklist

  • Does your PR title have the correct title format?
  • Does your PR have a breaking change?:

@Mercy811 Mercy811 force-pushed the AMP-92243-add-privacy-manifest branch from 0195b53 to 73e1c05 Compare January 26, 2024 01:04
@Mercy811 Mercy811 marked this pull request as ready for review January 26, 2024 16:59
</array>
<key>NSPrivacyTrackingDomains</key>
<array>
<string>https://api2.amplitude.com/</string>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe worth add api.amplitude.com as well, alternative for api2.amplitude.com

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I didn't see where it is used in the SDK. Could you give the link of it

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's the default in JS https://github.com/amplitude/Amplitude-JavaScript/blob/main/src/constants.js#L8, and could be supported in iOS as well

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This API is not in iOS SDK directly. So if customers are going to use this or other endpoints they want they have to add it by themselves. This manifest is just a reference on which endpoints can be used by the SDK by default (https://api2.amplitude.com/) or by some configurations changes (https://api.eu.amplitude.com).

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Close and merge this PR but we can add it later if it's needed.

@Mercy811 Mercy811 merged commit 007e169 into main Feb 7, 2024
3 checks passed
@Mercy811 Mercy811 deleted the AMP-92243-add-privacy-manifest branch February 7, 2024 22:35
github-actions bot pushed a commit that referenced this pull request Feb 7, 2024
# [8.18.0](v8.17.2...v8.18.0) (2024-02-07)

### Bug Fixes

* fix for release pipeline ([#478](#478)) ([324aced](324aced))
* fix for when macos sandbox disabled ([#477](#477)) ([e148734](e148734))

### Features

* add privacy manifest for iOS 17 ([#476](#476)) ([007e169](007e169))
github-actions bot pushed a commit that referenced this pull request Feb 8, 2024
# [8.18.0](v8.17.2...v8.18.0) (2024-02-08)

### Bug Fixes

* fix for release pipeline ([#478](#478)) ([324aced](324aced))
* fix for when macos sandbox disabled ([#477](#477)) ([e148734](e148734))

### Features

* add privacy manifest for iOS 17 ([#476](#476)) ([007e169](007e169))
Copy link

github-actions bot commented Feb 8, 2024

🎉 This PR is included in version 8.18.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@wlxo0401
Copy link

@Mercy811

I think this is just adding 'PrivacyInfo'.

Shouldn't it be applied to SPM and CocoaPod too??

advantis pushed a commit to readdle/Amplitude-iOS that referenced this pull request Feb 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants