You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
npx @react-native-community/cli init ViroBug --version 0.76
cd ViroBug
npm i @reactvision/react-viro
Modify Podfile
pod 'ViroReact', :path => '../node_modules/@reactvision/react-viro/ios/'
pod 'ViroKit', :path => '../node_modules/@reactvision/react-viro/ios/dist/ViroRenderer/'
Run the app on your device, and after it loads press the "reload" button
Result
app crashes with "EXC_BAD_ACCESS" at [_contentView removeFromSuperview];
// File: RCTViewComponentView.mm
...
- (void)setContentView:(UIView *)contentView
{
if (_contentView) {
[_contentView removeFromSuperview]; // here
}
...
Notes:
this also happens for inner Viro objects such as Viro3DObject.
it happens more on real device, but often also on SImulator/ Mac (designed for iPad)
It happens on version react-native 0.76, but I tried also 0.77 and 0.77.1 and still the same
I tried on 0.78 rc 5 - and encountered a blocker (which I did not investigate) about old react element being rendered... so gave up on that release check
The text was updated successfully, but these errors were encountered:
Steps to reproduce:
npx @react-native-community/cli init ViroBug --version 0.76 cd ViroBug npm i @reactvision/react-viro
cd iOS pod install
Result
app crashes with "EXC_BAD_ACCESS" at
[_contentView removeFromSuperview];
Notes:
The text was updated successfully, but these errors were encountered: