react-native-notifications icon indicating copy to clipboard operation
react-native-notifications copied to clipboard

App doesn't compile with reports enable

Open GummyGod opened this issue 2 years ago • 1 comments

Hi! 👋

Firstly, thanks for your work on this project! 🙂

Today I used patch-package to patch [email protected] 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"
             }

GummyGod avatar Aug 20 '23 10:08 GummyGod

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

stale[bot] avatar Oct 15 '23 08:10 stale[bot]

The issue has been closed for inactivity.

stale[bot] avatar Jan 31 '25 23:01 stale[bot]