-
Notifications
You must be signed in to change notification settings - Fork 536
Open
Description
Hi! 👋
Firstly, thanks for your work on this project! 🙂
Today I used patch-package to patch react-native-audio@4.3.0 for the project I'm working on.
/node_modules/react-native-audio/android/build.gradle
dependencies {
- compile fileTree(include: ['*.jar'], dir: 'libs')
- compile 'com.android.support:appcompat-v7:${supportVersion}'
- compile 'com.facebook.react:react-native:+'
- implementation fileTree(include: ['*.jar'], dir: 'libs')
+// implementation 'com.android.support:appcompat-v7:${supportVersion}' - implementation "androidx.appcompat:appcompat:1.1.0"
- implementation 'com.facebook.react:react-native:+'
- implementation "androidx.legacy:legacy-support-v4:1.0.0"
}
/node_modules/react-native-audio/android/src/main/java/com/rnim/rn/audio/AudioRecorderManager.java
-import android.support.v4.app.ActivityCompat;
-import android.support.v4.content.ContextCompat;
+import androidx.core.app.ActivityCompat;
+import androidx.core.content.ContextCompat;
This issue body was partially generated by patch-package.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels