Describe the bug
I am encountering an issue with the react-native-create-thumbnail library on Android. I have a list of video URLs, and the problem arises when running the createThumbnail function. Specifically, after encountering an invalid (broken) video URL, subsequent attempts to create thumbnails for valid URLs fail until the app is restarted.
To Reproduce
- Iterate over a list of, for example, three valid video URLs using createThumbnail.
- Then, iterate over one or more invalid video URLs using the same function.
- Attempt to run createThumbnail again on a valid video URL.
Version
react-native-create-thumbnail version 1.6.4
Expected Results
I expect the library to successfully create thumbnails for valid video URLs. After encountering an invalid URL, the function should gracefully handle the error and not affect the functionality when attempting to create thumbnails for subsequent valid URLs.
Actual Results
After encountering an invalid URL, the createThumbnail function returns false as expected. However, subsequent attempts to create thumbnails for valid URLs do not work until the app is closed and reopened.
Additional Information
Platform: Android
React Native version 0.72.1
Describe the bug
I am encountering an issue with the react-native-create-thumbnail library on Android. I have a list of video URLs, and the problem arises when running the createThumbnail function. Specifically, after encountering an invalid (broken) video URL, subsequent attempts to create thumbnails for valid URLs fail until the app is restarted.
To Reproduce
Version
react-native-create-thumbnailversion 1.6.4Expected Results
I expect the library to successfully create thumbnails for valid video URLs. After encountering an invalid URL, the function should gracefully handle the error and not affect the functionality when attempting to create thumbnails for subsequent valid URLs.
Actual Results
After encountering an invalid URL, the createThumbnail function returns false as expected. However, subsequent attempts to create thumbnails for valid URLs do not work until the app is closed and reopened.
Additional Information
Platform: Android
React Native version 0.72.1