We will do clear URL cache by using this removeAllCachedResponses in iOS, but in React Native how we can do and we are using fetch. We are unable to clear URL cache programmatically in React Native. Can anyone have a solution for this? Check here what I'm doing in Swift, how we can acheive this in React Native?
URLCache.shared.diskCapacity = 0
URLCache.shared.memoryCapacity = 0
URLCache.shared.removeAllCachedResponses()