config-plugins icon indicating copy to clipboard operation
config-plugins copied to clipboard

feat(adjust): remove iAd.framework as it's legacy

Open huextrat opened this issue 5 months ago • 0 comments

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.framework linking from the withAdjustPlugin function
  • 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:

  1. Basic functionality test:

    {
      "plugins": ["@config-plugins/react-native-adjust"]
    }
    
    • Run npx expo prebuild --clean
    • Verify that iAd.framework is not linked in the iOS project
    • Verify other frameworks (AdServices, AdSupport, StoreKit, AppTrackingTransparency) are still properly linked
  2. Build verification:

    • Run npx expo run:ios
    • Verify the app builds successfully without iAd.framework
    • Confirm Adjust SDK functionality remains intact

Expected Results:

  • iOS project should not include iAd.framework in 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

huextrat avatar May 29 '25 12:05 huextrat