fivecar / react-native-background-downloader-queue

A wifi-aware background downloader that maintains a queue of files
MIT License
8 stars 0 forks source link

feat: allows setActiveNetworkTypes to change the networks you accept #30

Closed fivecar closed 1 year ago

fivecar commented 1 year ago

Two things happened here: a) we now allow you to change the activeNetworkTypes that you want to be active on, and b) we've corrected behavior so that you have the right network state evenduring init()

BREAKING CHANGE: If you pass netInfoAddEventListener, you must now also pass netInfoFetchState (which for people will mostly be NetInfo.fetch).

github-actions[bot] commented 1 year ago

:tada: This PR is included in version 4.0.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket: