Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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] #322

Open
firmandev opened this issue Apr 9, 2022 · 3 comments

Comments

@firmandev
Copy link

firmandev commented Apr 9, 2022

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
Copy link
Author

here is the fix

#310

@gulsher7
Copy link

gulsher7 commented Nov 9, 2022

same issue facing is anyone resolve this error ?

@suvro404
Copy link

suvro404 commented Mar 24, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants