mikehardy / react-native-update-apk

Update apk from non-play store servers, and update ios from app store in React Native.
MIT License
195 stars 57 forks source link

Add options param to fetch request #33

Closed rejunges closed 4 years ago

rejunges commented 4 years ago

Add apkVersionOptions to UpdateAPK options. apkVersionOptions should be used if you need to pass options to fetch request. Method get calls fetch with url and options now.

rejunges commented 4 years ago

That's a really nice improvement, good idea. I will make the brave assumption that this works for you in your testing? (on review I can't see how it wouldn't, but I want to make sure you've run this and it works for you before I do a release with it)

Thanks!

Yes, this works in my tests. I needed to pass some information in http headers and this works fine using Android. Thanks!

mikehardy commented 4 years ago

released! https://github.com/mikehardy/react-native-update-apk/releases/tag/v4.4.0