react-native-background-downloader icon indicating copy to clipboard operation
react-native-background-downloader copied to clipboard

invariant violation native module cannot be null react native background downloader

Open avshetty1980 opened this issue 4 years ago • 1 comments

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

avshetty1980 avatar Sep 08 '20 11:09 avshetty1980

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.

asharafshahi avatar Feb 02 '21 03:02 asharafshahi