Can't build on RN 0.32 (LoadImageWithTag removed)
LoadImageWithTag was deprecated a while ago and removed with rn 0.32. It is now not possible to build with Xcode anymore.
No workaround yet? I need to send an update to the store, and this is the only lib I can't get to work
Edit: Nevermind. Here: https://github.com/naoufal/react-native-activity-view/pull/56/files
thnks @ammichael but now I get the following error
Exception '-[__NSCFString _setProperty:forKey:]: unrecognized selector sent to instance 0x7fd9615b8ab0' was thrown while invoking show on target ActivityView with params ( { imageUrl = "<imagelink>"; text = "<sample text>"; } )
using RN 0.33
@ismdcf actually the PR is not mine. I just changed the same line, in the same file, and worked like a charm.
About your error, seems like the problem is something in your code (but hey, I may be wrong)
@ismdcf Not sure if you solved the issue, but it looks like loadImageWithURLRequest requires an NSURLRequest, and the existing code passes an NSString, causing the error.
This code fixes the issue:
NSURL *url = [NSURL URLWithString:imageUrl];
NSURLRequest *request = [[NSURLRequest alloc] initWithURL:url];
[loader loadImageWithURLRequest:request callback:^(NSError *error, id imageOrData) {
yep it did not work .Tk @digitalcatnip It now works .