config-plugins
config-plugins copied to clipboard
feat(adjust): remove iAd.framework as it's legacy
Why
Remove the legacy iAd.framework from the react-native-adjust config plugin. According to Apple's documentation, iAd has been deprecated and is no longer supported. The framework should not be included in modern iOS apps.
How
- Removed the
iAd.frameworklinking from thewithAdjustPluginfunction - Kept all other iOS frameworks (AdServices, AdSupport, StoreKit, AppTrackingTransparency) which are still actively supported
- No changes to Android configuration or plugin parameters
Test Plan
Manual Testing:
-
Basic functionality test:
{ "plugins": ["@config-plugins/react-native-adjust"] }- Run
npx expo prebuild --clean - Verify that
iAd.frameworkis not linked in the iOS project - Verify other frameworks (AdServices, AdSupport, StoreKit, AppTrackingTransparency) are still properly linked
- Run
-
Build verification:
- Run
npx expo run:ios - Verify the app builds successfully without iAd.framework
- Confirm Adjust SDK functionality remains intact
- Run
Expected Results:
- iOS project should not include
iAd.frameworkin linked libraries - All other iOS frameworks should remain properly configured
- App should build and run without issues
- Adjust SDK attribution and tracking should continue to work normally