react-native-fbads icon indicating copy to clipboard operation
react-native-fbads copied to clipboard

The SDK version in the ad request is no longer supported for new apps. Please upgrade to the latest version of the SDK. at Object.promiseMethodWrapper [as showAd]

Open firmandev opened this issue 3 years ago • 4 comments

I have followed all the instruction, i can;t show the test ads, even im check "use real advertisers content" the error is no fill, help what is wrong with my integration :(.

i'm trying to show Interstitial Ads.

"react-native-fbads": "^7.0.5",
"react-native-fbsdk-next": "^7.3.3",

firmandev avatar Apr 09 '22 06:04 firmandev

here is the fix

https://github.com/callstack/react-native-fbads/pull/310

firmandev avatar Apr 09 '22 08:04 firmandev

same issue facing is anyone resolve this error ?

gulsher7 avatar Nov 09 '22 07:11 gulsher7

Temporary fix for bare react-native project: Go to <root_project>/android/app/build.gradle Add these two dependencies:

dependencies {
    ...
    implementation 'androidx.annotation:annotation:1.0.0'
    implementation 'com.facebook.android:audience-network-sdk:6.+'
    ...
}

For more info: https://developers.facebook.com/docs/audience-network/setting-up/platform-setup/android/add-sdk

suvro404 avatar Mar 24 '24 15:03 suvro404