Closed spsaucier closed 10 months ago
hi, is the only workaround to downgrade react native?
Same question, would really appreciate if this was addressed.
Hi folks, the last week we migrate from react native 0.68.7 to 0.72.5 and face this problem, our work around was update the spotless repo and version to 5.0, you can apply this changes with patch-package.
Create a file named: react-native-job-queue+0.5.0.patch on the patch folder and paste this content:
diff --git a/node_modules/react-native-job-queue/android/build.gradle b/node_modules/react-native-job-queue/android/build.gradle
index ce463bf..942dcd0 100644
--- a/node_modules/react-native-job-queue/android/build.gradle
+++ b/node_modules/react-native-job-queue/android/build.gradle
@@ -11,7 +11,7 @@ buildscript {
}
plugins {
- id "com.diffplug.gradle.spotless" version "3.23.0"
+ id "com.diffplug.spotless" version "5.0.0"
}
spotless {
Hope Helps.
Fixed in 0.5.1
Description
Upgrading to React Native 0.72 updates Gradle to version 8.0.1.
react-native-job-queue
does not work with Gradle version 8.Steps to Reproduce
Create new React Native app & try to install this package and build for Android.
Expected Behavior
App builds & installs
Relevant Logs / Console output
Your Environment