zhigang1992 / react-native-video-cache

Caching your video without headache
189 stars 58 forks source link

Add functionality to ignore url parameters #56

Open paulrostorp opened 1 year ago

paulrostorp commented 1 year ago

this PR adds functionality to ignore URL parameters by running the following at startup:

import * as cache from "react-native-video-cache-with-params-ignore";

cache.setIgnoreUrlParams(true);

This is particularly useful when dealing with CDNs like BunnyCDN which only support token authentication via url parameter.

package published on react-native-video-cache-with-params-ignore@2.7.2