EkoLabs / react-native-background-downloader

A library for React-Native to help you download large files on iOS and Android both in the foreground and most importantly in the background.
Other
278 stars 123 forks source link

invariant violation native module cannot be null react native background downloader #86

Open avshetty1980 opened 4 years ago

avshetty1980 commented 4 years ago

Is this a bug report, a feature request, or a question?

Question

Have you followed the required steps before opening a bug report?

(Check the step you've followed - put an x character between the square brackets ([]).)

Is the bug specific to iOS or Android? Or can it be reproduced on both platforms?

iOS iPhone 11 Pro -- 13.2.2 Xcode version 11.3

Is the bug related to the native implementation? (NSURLSession on iOS and Fetch on Android)

No

Environment

React: 16.13.1
React native: 0.62.2
react-native-background-downloader: 2.3.4

iOS iPhone 11 Pro -- 13.2.2 Xcode version 11.3

Expected Behavior

I thought I could use the download method in my code

Actual Behavior

I get "invariant violation native module cannot be null" error

Steps to Reproduce

(Write your steps so that anyone can reproduce the issue in the Snack demo you provided.)

  1. run project from Xcode Capture

asharafshahi commented 3 years ago

I get the same issue on a brand new tvOS project where I only installed this library trying both the automatic and manual setup steps.