URLSession.shared.dataTaskPublisher not working on IOS 13.3
You have 2 problems here: 1. like @matt said, your publisher isn’t living long enough. You can either store the AnyCancellable as an instance var, or what I like to do (and appears to be a redux best practice) is use store(in:) to a Set<AnyCancellable> to keep it around and have it automatically cleaned up … Read more