wix / react-native-notifications

React Native Notifications
MIT License
3.25k stars 764 forks source link

App doesn't compile with reports enable #992

Open GummyGod opened 1 year ago

GummyGod commented 1 year ago

Hi! 👋

Firstly, thanks for your work on this project! 🙂

Today I used patch-package to patch react-native-notifications@5.0.0 for the project I'm working on.

The app does not compile unless I comment the reports. I am using RN 0.72.3

Here is the diff that solved my problem:

diff --git a/node_modules/react-native-notifications/lib/android/app/build.gradle b/node_modules/react-native-notifications/lib/android/app/build.gradle
index d049e84..9ad7004 100644
--- a/node_modules/react-native-notifications/lib/android/app/build.gradle
+++ b/node_modules/react-native-notifications/lib/android/app/build.gradle
@@ -96,9 +96,9 @@ android {

     testOptions {
         unitTests.all { t ->
-            reports {
-                html.enabled true
-            }
+            // reports {
+            //     html.enabled true
+            // }
             testLogging {
                 events "PASSED", "SKIPPED", "FAILED", "standardOut", "standardError"
             }
stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.