klarna / react-native-klarna-inapp-sdk

Klarna's React Native wrapper for the In-App SDK
Apache License 2.0
22 stars 25 forks source link

Failed to resolve: com.klarna.mobile:sdk:2.6.17 #251

Open lkrasovsky opened 3 months ago

lkrasovsky commented 3 months ago

Unable to resolve Klarna dependency.

> Could not find com.klarna.mobile:sdk:2.6.17.
     Searched in the following locations:
       - https://oss.sonatype.org/content/repositories/snapshots/com/klarna/mobile/sdk/2.6.17/sdk-2.6.17.pom
       - https://repo.maven.apache.org/maven2/com/klarna/mobile/sdk/2.6.17/sdk-2.6.17.pom
       - file:/Users/lkrasovsky/Code/AndroidStudioProjects/flip-fit-mobile/node_modules/jsc-android/dist/com/klarna/mobile/sdk/2.6.17/sdk-2.6.17.pom
       - https://dl.google.com/dl/android/maven2/com/klarna/mobile/sdk/2.6.17/sdk-2.6.17.pom
       - https://www.jitpack.io/com/klarna/mobile/sdk/2.6.17/sdk-2.6.17.pom
       - file:/Users/lkrasovsky/.m2/repository/com/klarna/mobile/sdk/2.6.17/sdk-2.6.17.pom
       - https://jcenter.bintray.com/com/klarna/mobile/sdk/2.6.17/sdk-2.6.17.pom
       - https://x.klarnacdn.net/mobile-sdk/com/klarna/mobile/sdk/2.6.17/sdk-2.6.17.pom
       - https://cardinalcommerceprod.jfrog.io/artifactory/android/com/klarna/mobile/sdk/2.6.17/sdk-2.6.17.pom
     Required by:
         project :app > project :react-native-klarna-inapp-sdk
image

https://x.klarnacdn.net/ returns 404. The same thing for other repositories above.

NMGuner commented 3 months ago

"https://x.klarnacdn.net/mobile-sdk/com/klarna/mobile/sdk/2.6.17/sdk-2.6.17.pom" is a valid path, could this be an issue with the network instead?

lkrasovsky commented 3 months ago

"https://x.klarnacdn.net/mobile-sdk/com/klarna/mobile/sdk/2.6.17/sdk-2.6.17.pom" is a valid path, could this be an issue with the network instead?

I've just connected to another network and it finally succeed. But in Android Studio it still responds with the same error. And sometimes may throw a 404 error in browser.

image

I managed to download the .pom file and paste in into this folder: file:/Users/lkrasovsky/.m2/repository/com/klarna/mobile/sdk/2.6.17/. Currently have another issue. I'll reply here when it's resolved.