realm / realm-kotlin

Kotlin Multiplatform and Android SDK for the Realm Mobile Database: Build Better Apps Faster.
Apache License 2.0
943 stars 57 forks source link

Add privacy manifest to apple binaries #1686

Open sync-by-unito[bot] opened 6 months ago

sync-by-unito[bot] commented 6 months ago

Apple will require to acknowledge usage of certain system APIs that realm uses by adding them to their privacy manifest.

There is currently no straight forward way to supply a privacy manifest for our users as part of our distributables. Until that is in place users need to follow the steps from Kotlin Multiplatform documentation and add our privacy manifest manually.

Support for handling this as part of official KMP builds can be tracked here.

sync-by-unito[bot] commented 6 months ago

➤ PM Bot commented:

Jira ticket: RKOTLIN-1034

rorbech commented 5 months ago

Discussed on Kotlin slack

sync-by-unito[bot] commented 3 months ago

➤ rorbech commented:

Seems that Jetbrains have made a plugin for adding the privacy manifest through Gradle configuration https://kotlinlang.org/docs/apple-privacy-manifest.html#place-the-xcprivacy-file-in-your-kotlin-artifacts

We need to verify if this also bundles it up for klibs or if we have to point ours users in the direction of adding it themselves