react-native-callkeep
react-native-callkeep copied to clipboard
example project not working
Bug report
- [x] I've checked the example to reproduce the issue.
Description
I downloaded the example and installed the npm packages. Then I ran npm run android command and it gave the following error
Logs
> Task :expo-constants:compileDebugJavaWithJavac FAILED
Deprecated Gradle features were used in this build, making it incompatible with Gradle 5.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/4.10.1/userguide/command_line_interface.html#sec:command_line_warnings
94 actionable tasks: 94 executed
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Note: C:\Users\Eren\Desktop\react-native-callkeep-master\example\node_modules\expo-app-loader-provider\android\src\main\java\expo\loaders\provider\AppLoaderProvider.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
C:\Users\Eren\Desktop\react-native-callkeep-master\example\node_modules\expo-constants\android\src\main\java\expo\modules\constants\ConstantsService.java:6: error: cannot find symbol
import androidx.annotation.Nullable;
^
symbol: class Nullable
location: package androidx.annotation
C:\Users\Eren\Desktop\react-native-callkeep-master\example\node_modules\expo-constants\android\src\main\java\expo\modules\constants\ConstantsService.java:51: error: cannot find symbol
@Nullable
^
symbol: class Nullable
location: class ConstantsService
2 errors
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':expo-constants: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
BU�LD FAILED in 4m 14s
error Failed to install the app. Make sure you have the Android development environment set up: https://reactnative.dev/docs/environment-setup. Run CLI with --verbose flag for more details.
Error: Command failed: gradlew.bat app:installDebug -PreactNativeDevServerPort=8081
Note: Some input files use unchecked or unsafe operations.```
Same problem. Example project for iOS also not working. It seems like the podfile is implemented incorrectly. Not found any working solution yet.
In the end I decided to implement my own call kit extension and connected it to my app using bridging header. perhaps someone might find it helpful.
Same here. Can't run example on IOS
Can't run example on Android
+1