Merge pull request #1720 from nmarisi/fix-NSInternalInconsistencyException
Removing the call to observeValueForKeyPath:ofObject:change:context: …
This commit is contained in:
commit
f66ca32d49
@ -1,5 +1,8 @@
|
||||
## Changelog
|
||||
|
||||
### Version 5.0.2
|
||||
* Fix crash when RCTVideo's superclass doesn't observe the keyPath 'frame' (iOS) [#1720](https://github.com/react-native-community/react-native-video/pull/1720)
|
||||
|
||||
### Version 5.0.1
|
||||
* Fix AndroidX Support bad merge
|
||||
|
||||
|
@ -712,8 +712,6 @@ static int const RCTVideoUnset = -1;
|
||||
|
||||
return;
|
||||
}
|
||||
} else if ([super respondsToSelector:@selector(observeValueForKeyPath:ofObject:change:context:)]) {
|
||||
[super observeValueForKeyPath:keyPath ofObject:object change:change context:context];
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user