Open HemangiVekaria opened 11 months ago
just add in app/build,gradle
dependencies { ... // other existing implementation('com.danikula:videocache:2.7.1') implementation("org.slf4j:slf4j-api:2.0.9") }
@phnk-in still not working. In release mode of apk react-native video cache not working. fine with debug mode.
I had to revert to version 2.7.3 and it worked on both debug and release modes.
I had to revert to version 2.7.3 and it worked on both debug and release modes.
still not work for me
just add in app/build,gradle
dependencies { ... // other existing implementation('com.danikula:videocache:2.7.1') implementation("org.slf4j:slf4j-api:2.0.9") }
this worked
same here it doesn't works on apk but working fine on debug build
just add in app/build,gradle
dependencies { ... // other existing implementation('com.danikula:videocache:2.7.1') implementation("org.slf4j:slf4j-api:2.0.9") }
worked for me
just add in app/build,gradle
dependencies { ... // other existing implementation('com.danikula:videocache:2.7.1') implementation("org.slf4j:slf4j-api:2.0.9") }
Worked for me..!!
Same issue
just add in app/build,gradle
dependencies { ... // other existing implementation('com.danikula:videocache:2.7.1') implementation("org.slf4j:slf4j-api:2.0.9") }
This did not work for me.
just add in app/build,gradle
dependencies { ... // other existing implementation('com.danikula:videocache:2.7.1') implementation("org.slf4j:slf4j-api:2.0.9") }
If this method doesn't work for someone, add to AndroidManifest.xml
<application
...
android:usesCleartextTraffic="true"
>
...
</application>
In my case, the crash occurred due to this error in the release version: Error: Exception in HostFunction: java.lang.NoClassDefFoundError: com.danikula.videocache.HttpProxyCacheServer.
As mentioned above, adding the following dependencies to app/build.gradle helped resolve the issue:
dependencies {
// ... other existing dependencies
implementation 'com.danikula:videocache:2.7.1'
implementation 'org.slf4j:slf4j-api:2.0.9'
}
I created release apk and in that app get crash. Video is not get cache in release mode. in debug mode everything is working fine