react-native-foreground-service icon indicating copy to clipboard operation
react-native-foreground-service copied to clipboard

update SDK

Open SokolovRU opened this issue 1 year ago • 1 comments

Hi! 👋

Firstly, thanks for your work on this project! 🙂

Today I used patch-package to patch @voximplant/[email protected] for the project I'm working on.

Here is the diff that solved my problem:

diff --git a/node_modules/@voximplant/react-native-foreground-service/android/build.gradle b/node_modules/@voximplant/react-native-foreground-service/android/build.gradle
index 7f9022f..4899a6a 100644
--- a/node_modules/@voximplant/react-native-foreground-service/android/build.gradle
+++ b/node_modules/@voximplant/react-native-foreground-service/android/build.gradle
@@ -6,12 +6,12 @@ def safeExtGet(prop, fallback) {
 }
 
 android {
-    compileSdkVersion 28
-    buildToolsVersion '28.0.3'
+    compileSdkVersion 33
+    buildToolsVersion '33.0.0'
 
     defaultConfig {
-        minSdkVersion 16
-        targetSdkVersion 28
+        minSdkVersion 21
+        targetSdkVersion 33
         versionCode 1
         versionName "1.0"
     }

This issue body was partially generated by patch-package.

SokolovRU avatar Nov 26 '23 21:11 SokolovRU

If using yarn, you can patch with following command (follow instructions from terminal): yarn patch @voximplant/react-native-foreground-service

radek-treeline avatar Mar 27 '24 15:03 radek-treeline