Closed Skvitthani closed 5 months ago
Add the following line to the dependencies
block inside your project's android/app/build.gradle
file: implementation 'com.danikula:videocache:2.7.1'
. For more information just follow the installation steps carefully. https://github.com/SimformSolutionsPvtLtd/react-native-story-view?tab=readme-ov-file#android-cache-control-dependency-mandatory
Example link: https://github.com/SimformSolutionsPvtLtd/react-native-story-view/blob/main/example/android/app/build.gradle#L232
It's Working, Thank you
I'm getting the below issue in Android using react-native-video-cache-control. I've mentioned my package.json file.
Could not determine the dependencies of task ':app:processDebugResources'.
Possible solution:
Declare repository providing the artifact, see the documentation at https://docs.gradle.org/current/userguide/declaring_repositories.html
"@react-navigation/native": "^6.1.17", "@react-navigation/native-stack": "^6.9.26", "@shopify/flash-list": "^1.6.4", "react": "18.2.0", "react-native": "0.74.1", "react-native-flexible-grid": "^0.1.8", "react-native-gesture-handler": "^2.16.2", "react-native-modal": "^13.0.1", "react-native-reanimated": "^3.11.0", "react-native-safe-area-context": "^4.10.1", "react-native-screens": "^3.31.1", "react-native-story-view": "^3.1.0", "react-native-video": "^5.2.1", "react-native-video-cache-control": "^1.2.2", "react-native-vision-camera": "^4.0.3"