Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save kanzitelli/e79bab6dbd6b5117c879eeab31725bf0 to your computer and use it in GitHub Desktop.
Save kanzitelli/e79bab6dbd6b5117c879eeab31725bf0 to your computer and use it in GitHub Desktop.
Patch file for @react-native-community/blur to work with RN 0.65.+
diff --git a/node_modules/@react-native-community/blur/android/build.gradle b/node_modules/@react-native-community/blur/android/build.gradle
index 8177235..5d310b9 100644
--- a/node_modules/@react-native-community/blur/android/build.gradle
+++ b/node_modules/@react-native-community/blur/android/build.gradle
@@ -9,7 +9,6 @@ buildscript {
if (project == rootProject) {
repositories {
google()
- jcenter()
}
dependencies {
@@ -37,11 +36,12 @@ android {
repositories {
google()
- jcenter()
+
+ maven { url 'https://jitpack.io' }
}
dependencies {
//noinspection GradleDynamicVersion
implementation 'com.facebook.react:react-native:+'
- implementation 'com.eightbitlab:blurview:1.6.3'
+ implementation 'com.github.Dimezis:BlurView:version-1.6.6'
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment