We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi! 馃憢
Firstly, thanks for your work on this project! 馃檪
Today I used patch-package to patch react-native-voice@0.3.0 for the project I'm working on.
react-native-voice@0.3.0
Here is the diff that solved my problem:
diff --git a/node_modules/react-native-voice/android/build.gradle b/node_modules/react-native-voice/android/build.gradle index c0484f8..d43b526 100644 --- a/node_modules/react-native-voice/android/build.gradle +++ b/node_modules/react-native-voice/android/build.gradle @@ -58,8 +58,9 @@ allprojects { def supportVersion = rootProject.hasProperty('supportLibVersion') ? rootProject.supportLibVersion : DEFAULT_SUPPORT_LIB_VERSION dependencies { - compile fileTree(dir: 'libs', include: ['*.jar']) - testCompile 'junit:junit:4.12' - compile 'com.android.support:appcompat-v7:${supportVersion}' - compile 'com.facebook.react:react-native:+' + implementation fileTree(dir: 'libs', include: ['*.jar']) + testImplementation 'junit:junit:4.12' + implementation "com.android.support:appcompat-v7:${supportVersion}" + implementation 'com.facebook.react:react-native:+' // Use the latest version available } + diff --git a/node_modules/react-native-voice/android/src/main/java/com/wenkesj/voice/VoiceModule.java b/node_modules/react-native-voice/android/src/main/java/com/wenkesj/voice/VoiceModule.java index 40b8927..d2d701d 100644 --- a/node_modules/react-native-voice/android/src/main/java/com/wenkesj/voice/VoiceModule.java +++ b/node_modules/react-native-voice/android/src/main/java/com/wenkesj/voice/VoiceModule.java @@ -11,7 +11,7 @@ import android.speech.RecognitionListener; import android.speech.RecognitionService; import android.speech.RecognizerIntent; import android.speech.SpeechRecognizer; -import android.support.annotation.NonNull; +import androidx.annotation.NonNull; import android.util.Log; import com.facebook.react.bridge.Arguments;
This issue body was partially generated by patch-package.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi! 馃憢
Firstly, thanks for your work on this project! 馃檪
Today I used patch-package to patch
react-native-voice@0.3.0
for the project I'm working on.Here is the diff that solved my problem:
This issue body was partially generated by patch-package.
The text was updated successfully, but these errors were encountered: