Our application uses react-native-webview and our package.json we have react-native-webview 12.0.0 has the following,
"react-native-webview": "^12.0.0",
After we integrated react-native-signature-canvas, we get the below error
/home/myapp/node_modules/react-native-webview/android/src/main/java/com/reactnativecommunity/webview/RNCWebViewFileProvider.java:13: error: constructor FileProvider in class FileProvider cannot be applied to given types;
super(R.xml.file_provider_paths);
^
required: no arguments
found: int
reason: actual and formal argument lists differ in length
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
1 error
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':react-native-webview:compileDebugJavaWithJavac'.
> Compilation failed; see the compiler error output for details.
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 16s
error Failed to install the app. Make sure you have the Android development environment set up: https://reactnative.dev/docs/environment-setup.
Could someone help on how to fix this issue? Am I missing something?
Hi, Thanks for the wonderful package.
Our application uses react-native-webview and our package.json we have react-native-webview 12.0.0 has the following,
"react-native-webview": "^12.0.0",
After we integrated react-native-signature-canvas, we get the below errorCould someone help on how to fix this issue? Am I missing something?