plrthink / react-native-file-download

[DEPRECATED] Native file download utility for react-native

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Anyone else getting "no visible @interface for 'RNFileDownloadSessionManager' declares the selector 'initWithTargetPath:downloadFileName:headers:bridge:callback:'"

brianinator opened this issue · comments

I rewrote the call to:
RNFileDownloadSessionManager *manager = [[RNFileDownloadSessionManager alloc] initWithTargetPath:targetPath downloadFileName:fileName bridge:self.bridge callback:callback];

Eliminating the new line formatting and then did a project clean and build, it then worked.

Anyone else experiencing the same?

@devbriguy I just published a new version on npm, it fixes the problem on my side. Could you give it a try?

@plrthink I did a npm update and this one was not updated. It's still "react-native-file-download": "0.0.8" or that is the latest?

@devbriguy I published 0.0.9 last night. Maybe you should manually update it in package.json and run npm install.

All good now. Thanks!