appodeal / react-native-appodeal

Official React Native package that adds Appodeal SDK support to your react-native application.
https://appodeal.com
59 stars 37 forks source link

Could not find any version that matches com.appodeal.ads:sdk:3.0.2.+. #103

Closed CaptainEboy closed 1 year ago

CaptainEboy commented 1 year ago
Appodeal Error

I am getting the above error after integrating appodeal in my app, you can reproduce the error using the link below

https://github.com/CaptainEboy/Appodeal-2023

FrSenpai commented 1 year ago

It's the same for me, I tried to downgrade to 3.0.1 the library itself, not working I also tried many things I saw In your repo @CaptainEboy

EDIT: It's working when adding:

allprojects {
    repositories {
        google()
        jcenter()
        mavenLocal()
        mavenCentral()
        // All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
        maven { url("$rootDir/../node_modules/react-native/android") }
        // Android JSC is installed from npm
        maven { url("$rootDir/../node_modules/jsc-android/dist") }
        maven { url 'https://www.jitpack.io' }
        maven { url "https://artifactory.appodeal.com/appodeal" }
    }
}

It's the same as your repo, thanks to you!

CaptainEboy commented 1 year ago

Yeah, i was able to finally fix it.

Was pushing to github as i was working on it.

Glad you were following along and it was able to work for you also

CaptainEboy commented 1 year ago

I also fixed a problem relating to the app crashing in the code

CaptainEboy commented 1 year ago

I have made the respository private as the problem has been fixed and it also contains some sensitive data