From 3cfae994de5e99449b9a682d3ee312363ed41890 Mon Sep 17 00:00:00 2001 From: Atish Sharma Date: Fri, 16 Sep 2022 16:40:21 +0530 Subject: [PATCH] Changed audience network SDK version from 6.2.+ to 6.+ https://github.com/callstack/react-native-fbads/pull/310#issue-1088724272 Problem ---------- It can't show any type of ads without getting the error message: Error: The SDK version in the ad request is no longer supported for new apps. Please upgrade to the latest version of the SDK. Solution ---------- Change "implementation 'com.facebook.android:audience-network-sdk:6.2.+" to "implementation 'com.facebook.android:audience-network-sdk:6.+'". --- android/app/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/android/app/build.gradle b/android/app/build.gradle index 39e889c4..21a7abe9 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -27,6 +27,6 @@ repositories { dependencies { implementation 'com.facebook.react:react-native:+' implementation "com.android.support:recyclerview-v7:${safeExtGet('supportLibVersion', '26.1.0')}" - implementation 'com.facebook.android:audience-network-sdk:6.2.+' + implementation 'com.facebook.android:audience-network-sdk:6.+' implementation 'com.facebook.android:facebook-android-sdk:6.+' }