appmetrica / appmetrica-flutter-plugin

AppMetrica Plugin for Flutter
https://appmetrica.io
Other
3 stars 2 forks source link

Проблема с информацией, указываемой в Privacy manifest для ios #2

Open lighthead9288 opened 2 weeks ago

lighthead9288 commented 2 weeks ago

Добрый день! Используем appmetrica_plugin версии 2.1.1 - после публикации приложения в AppStore получаем письмо следующего содержания:

We noticed one or more issues with a recent submission for App Store review for the following app: Although submission for App Store review was successful, you may want to correct the following issues in your next submission for App Store review. Once you've corrected the issues, upload a new binary to App Store Connect.

_ITMS-91107: Invalid tracking information - A PrivacyInfo.xcprivacy file contains invalid tracking information at the following path: “Frameworks/AppMetricaCore.framework/AppMetricaCore.bundle/PrivacyInfo.xcprivacy”. In addition to the privacy manifest files in the locations outlined in the documentation, starting November 12, 2024, all privacy manifests you submit must have valid content. NSPrivacyTracking must be true if NSPrivacyTrackingDomains isn’t empty. Keys and values in any privacy manifest must be valid. For more details, visit: https://developer.apple.com/documentation/bundleresources/privacy_manifest_files and https://developer.apple.com/documentation/bundleresources/privacy_manifest_files/adding_a_privacy_manifest_to_your_app_or_third-party_sdk._

Пробовали добавить изменения в Privacy-manifest приложения - результата это не принесло, получаем письмо с теми же претензиями

Код манифеста

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
    <key>NSPrivacyTrackingDomains</key>
    <array>
        <string>tracking.appmetrica.yandex.net</string>
        <string>tracking.reserve.appmetrica.yandex.net</string>
    </array>
    <key>NSPrivacyTracking</key>
    <true/>
    <key>NSPrivacyAccessedAPITypes</key>
    <array>
        <dict>
            <key>NSPrivacyAccessedAPIType</key>
            <string>NSPrivacyAccessedAPICategoryDiskSpace</string>
            <key>NSPrivacyAccessedAPITypeReasons</key>
            <array>
                <string>E174.1</string>
            </array>
        </dict>
        <dict>
            <key>NSPrivacyAccessedAPIType</key>
            <string>NSPrivacyAccessedAPICategoryFileTimestamp</string>
            <key>NSPrivacyAccessedAPITypeReasons</key>
            <array>
                <string>3B52.1</string>
            </array>
        </dict>
        <dict>
            <key>NSPrivacyAccessedAPIType</key>
            <string>NSPrivacyAccessedAPICategoryUserDefaults</string>
            <key>NSPrivacyAccessedAPITypeReasons</key>
            <array>
                <string>CA92.1</string>
            </array>
        </dict>
        <dict>
            <key>NSPrivacyAccessedAPIType</key>
            <string>NSPrivacyAccessedAPICategorySystemBootTime</string>
            <key>NSPrivacyAccessedAPITypeReasons</key>
            <array>
                <string>35F9.1</string>
            </array>
        </dict>
    </array>
</dict>
</plist>

Подскажите, пожалуйста, что мы делаем не так? Или, возможно, нужны изменения с вашей стороны?

ziqq commented 1 week ago

I have this same issue.

A PrivacyInfo.xcprivacy file contains invalid tracking information at the following path: “Frameworks/AppMetricaCore.framework/AppMetricaCore.bundle/PrivacyInfo.xcprivacy”.

@lighthead9288, тут же все сказано, нужны доработки с их стороны.

Sv1phvrAe0n commented 1 week ago

Появилась такая же проблема.

Please correct the following issues and upload a new binary to App Store Connect.

ITMS-91064: Invalid tracking information - A PrivacyInfo.xcprivacy file contains invalid tracking information at the following path: “PrivacyInfo.xcprivacy”. NSPrivacyTracking must be true if NSPrivacyTrackingDomains isn’t empty. Keys and values in your app’s privacy manifests must be valid. For more details about privacy manifest files, visit: https://developer.apple.com/documentation/bundleresources/privacy_manifest_files.

Though you are not required to fix the following issues, we wanted to make you aware of them:

ITMS-91107: Invalid tracking information - A PrivacyInfo.xcprivacy file contains invalid tracking information at the following path: “AppMetricaCore.bundle/PrivacyInfo.xcprivacy”. In addition to the privacy manifest files in the locations outlined in the documentation, starting November 12, 2024, all privacy manifests you submit must have valid content. NSPrivacyTracking must be true if NSPrivacyTrackingDomains isn’t empty. Keys and values in any privacy manifest must be valid. For more details, visit: https://developer.apple.com/documentation/bundleresources/privacy_manifest_files and https://developer.apple.com/documentation/bundleresources/privacy_manifest_files/adding_a_privacy_manifest_to_your_app_or_third-party_sdk.

Добавили в PrivacyInfo.xcprivacy код

    <key>NSPrivacyTracking</key>
    <true/>
    <key>NSPrivacyTrackingDomains</key>
        <array>
            <string>tracking.appmetrica.yandex.net</string>
            <string>tracking.reserve.appmetrica.yandex.net</string>
        </array>

но и это не помогло. Раньше все было ок и файл PrivacyInfo.xcprivacy не менялся уже на протяжении нескольких релизов

snoopdoggy322 commented 1 week ago

Та же проблема

Amavy commented 5 days ago

В версии 3.0.0 проблема есть. В нативном плагине эта же проблема, общают в течении нескольких дней выкатить фикс https://github.com/appmetrica/appmetrica-sdk-ios/issues/20 В целом я как понимаю можно будет после раскатки фикса обновить поды и проблема исчезнет.