react-native-background-downloader
react-native-background-downloader copied to clipboard
invariant violation native module cannot be null react native background downloader
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 ([]
).)
- [x] I have reviewed the documentation in its entirety, including the dedicated documentations :books:.
- [x] I have searched for existing issues and made sure that the problem hasn't already been reported.
- [x] I am using the latest plugin version.
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.)
-
run project from Xcode
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.