Closed gromanas closed 3 years ago
I stumbled upon this issue as well lately. It seems like this line is causing the error.
Replacing jcenter()
with mavenCentral()
worked for me locally.
-- Update: @remoblaser already created a PR #67
Currently the only way is either using this or waiting for jcenter to come online again. However, jcenter will be shut down by February 2022 anyways so it might be a good idea to replace it already.
Thank you very much! I saw that you have already opened a PR. I have the same feeling with you to replace it already. Are you going to cut a new release to include the mavenCentral()
?
I guess it's on the Organisation to merge this pull request. For now I've patched my app like this:
diff --git a/node_modules/react-native-haptic-feedback/android/build.gradle b/node_modules/react-native-haptic-feedback/android/build.gradle
index c326a26..198fb2a 100644
--- a/node_modules/react-native-haptic-feedback/android/build.gradle
+++ b/node_modules/react-native-haptic-feedback/android/build.gradle
@@ -4,7 +4,7 @@ def DEFAULT_TARGET_SDK_VERSION = 27
buildscript {
repositories {
- jcenter()
+ mavenCentral()
google()
}
Resolved in v1.13.0 https://github.com/junina-de/react-native-haptic-feedback/releases/tag/v1.13.0
Today we have started to see this issue :
Is there any workaround on this? Thank you in advance!