Open kjossendal opened 2 years ago
NSDictionary *completeConfig = [restImageNames reduce:^id(NSMutableDictionary *acc, NSString *key, int idx) {
NSLog(@"Value on init %@", restImages[idx]);
[acc setObject:@{@"image": [[CIImage alloc] initWithImage:[restImages[idx] image]]}
forKey:key];
return acc;
} init:[NSMutableDictionary dictionaryWithDictionary:config]];
The above NSLog returns the following. My objective c knowledge is awful so if I'm looking at the complete wrong thing, please let me know.
Value on init <RCTImageView: 0x119c5c9f0; reactTag: 1203; frame = (0 0; 414 896); clipsToBounds = YES; layer = <CALayer: 0x280c79120>>
I'm unable to reproduce this. If anyone meet similar issue, please create a minimal repro.
One more there, react native 0.69.1, latest version of image kit. Reproducible on simulator and on physical device
No expo, IOS 15.4
Still seeing this as well but I have little to add other than this appears to happen right after cache is cleared as I see ImageFilterKit: clear cache
in xcode logs. It appears to happen when navigating from one screen with RNIFK to another screen also using RNIFK. Something isn't getting unloaded perhaps and causing conflicts. If I clear the navigation stack (ie using 'replace' instead of 'navigate' with react-navigation) when navigating between those two screens, I don't see the issue. I'll try to get a minimal reproduction app together but if you are running in to this, check your navigation.
Has there been any progress made on this? We've got a build working just fine on iOS 16 that isn't working on iOS 15
RN version: 0.66.0 RN-Filter-Kit version: 0.8.0 minimum ios version is 12
Have not checked on Android Bare workflow with expo-modules installed
As soon as app is moved to background an NSException gets thrown.
Exception NSException * "*** -[__NSPlaceholderDictionary initWithObjects:forKeys:count:]: attempt to insert nil object from objects[0]" 0x00000002838899b0
I've tracked via breakpoint in xCode to IFKImageFilter.m at line 171
Our utilization in component is as follows