catalinmiron / react-native-dribbble-app

Dribbble app built with React Native
MIT License
2.07k stars 407 forks source link

Able to compile but not to run #20

Closed jeangui closed 8 years ago

jeangui commented 8 years ago

Hi,

I wanted to test your sample application but I am confronted to a problem: I am not able to run it.

I have got an error:

/Users/houitte/SANDBOX/REACT/react-native-dribbble-app/node_modules/react-native/Libraries/Image/RCTDownloadTaskWrapper.m:65:49: Null passed to a callee that requires a non-null argument

What have I missed ?

Thanks in advance for the help.

Best jeangui

gold3bear commented 8 years ago

change NSURLSessionDownloadTask *task = [_URLSession downloadTaskWithURL:url completionHandler:nil]; to NSURLSessionDownloadTask *task = [_URLSession downloadTaskWithURL:url];

jeangui commented 8 years ago

thanks a lot. it did work. :)

best