Created
September 2, 2024 19:03
-
-
Save m9tdev/f26b50bf3b4966b7e6b1218e29686037 to your computer and use it in GitHub Desktop.
React Native Google Mobile Ads Patch
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/node_modules/react-native-google-mobile-ads/ios/RNGoogleMobileAds/RNGoogleMobileAdsModule.mm b/node_modules/react-native-google-mobile-ads/ios/RNGoogleMobileAds/RNGoogleMobileAdsModule.mm | |
| index 7fc1d42..c9afe28 100644 | |
| --- a/node_modules/react-native-google-mobile-ads/ios/RNGoogleMobileAds/RNGoogleMobileAdsModule.mm | |
| +++ b/node_modules/react-native-google-mobile-ads/ios/RNGoogleMobileAds/RNGoogleMobileAdsModule.mm | |
| @@ -21,9 +21,9 @@ | |
| #import <React/RCTUtils.h> | |
| #import "RNGoogleMobileAdsModule.h" | |
| -#ifdef RCT_NEW_ARCH_ENABLED | |
| -#import "RNGoogleMobileAdsSpec.h" | |
| -#endif | |
| +// #ifdef RCT_NEW_ARCH_ENABLED | |
| +// #import "RNGoogleMobileAdsSpec.h" | |
| +// #endif | |
| #import "common/RNSharedUtils.h" | |
| @implementation RNGoogleMobileAdsModule |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Place in
./patches/and setscripts.postinstalllike this inpackage.json: