react-native-incoming-call
react-native-incoming-call copied to clipboard
Incompatible version
hello Thank for your package, i try to setup in projet with last version of react-native, but it is incompatible
Found: [email protected]
npm ERR! node_modules/react
npm ERR! react@"17.0.2" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer react@"^16.8.1" from [email protected]
npm ERR! node_modules/react-native-incoming-call
npm ERR! react-native-incoming-call@"*" from the root project
If a force install, i get error with maven
BUILD FAILED in 11s
error Failed to install the app. Make sure you have the Android development environment set up: https://reactnative.dev/docs/environment-setup.
Error: Command failed: ./gradlew app:installDebug -PreactNativeDevServerPort=8081
FAILURE: Build completed with 2 failures.
1: Task failed with an exception.
-----------
* Where:
Build file '/Users/b.gauthier/Documents/projects.apps/Wisper/node_modules/react-native-incoming-call-android/android/build.gradle' line: 23
* What went wrong:
A problem occurred evaluating project ':react-native-incoming-call-android'.
> Plugin with id 'maven' not found.
* 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.
==============================================================================
2: Task failed with an exception.
-----------
* What went wrong:
A problem occurred configuring project ':react-native-incoming-call-android'.
> com.android.builder.errors.EvalIssueException: compileSdkVersion is not specified. Please add it to build.gradle
* 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
Can you help me please ?
Thank !
This should be fixed by my PR https://github.com/bkdev98/react-native-incoming-call/pull/34