Adding Windows support (C++/Winrt) RNW (Partial implementation)
At the current time time, I do not plan on finishing this PR or the implementation, and I assume react-native-zip-archive's contributors would not want to accept an incomplete implementation for adding windows support.
I am adding this PR and leaving this it open, because we use a partial implementation(unzip) in an internal project and I simply wanted to share it here if anyone else wanted to finish the implementation for windows. As far as I can gather C++/WinRT/ Windows API doesn't have fully featured native zip compression API, so we went with using miniz here.
Feel free to take/edit/modify this PR as anyone see's fit, also feel free to ask questions. Hopefully someone will come along and want to tackle adding the other function implementations.
Thanks!
Useful references
- https://github.com/richgel999/miniz/
- https://github.com/microsoft/react-native-windows
- https://github.com/microsoft/react-native-windows/tree/master/packages/microsoft-reactnative-sampleapps/windows/SampleLibraryCPP
- https://github.com/react-native-community/react-native-video/tree/master/windows/ReactNativeVideoCPP
Adding link/reference #217