-
Notifications
You must be signed in to change notification settings - Fork 221
Description
SDK Version
react-native-appsflyer 6.15.1
Problem
The podspec unconditionally sets s.static_framework = true, which forces AppsFlyerLib to be linked as a static library. When integrated via CocoaPods in a React Native project, this results in the privacy manifest being shipped as AppsFlyerLib_Privacy.bundle/PrivacyInfo.xcprivacy rather than inside a .framework bundle.
Apple's ITMS validator does not correctly process privacy manifests from static library bundles, which causes a persistent ITMS-91064 rejection from App Store Connect:
"Invalid privacy manifest — your app's PrivacyInfo.xcprivacy does not include required entries."
Root cause
react-native-appsflyer.podspec hardcodes:
s.static_framework = trueThere is no supported flag or configuration option to override this. Switching to AppsFlyerFramework/Dynamic (which ships its manifest inside a proper .framework) is not possible because the podspec hardcodes the static subspec — consumers would need to fork the plugin to change it.
Expected behavior
Either:
- Allow consumers to opt into dynamic linking (e.g. via a flag or by supporting the
Dynamicsubspec), or - Ensure the static library's privacy manifest is validated correctly by Apple's toolchain
Impact
Apps using react-native-appsflyer via CocoaPods are blocked from submitting to the App Store due to ITMS-91064 rejections that cannot be resolved without forking the plugin.