[core][Android] Fixed random `NullPointerExceptions` when calling `Updates.reloadAsync` (#24442)
# Why
Fixes https://github.com/expo/expo/issues/24159.
# How
It turns out that sometimes we'
[core][Android] Fixed random `NullPointerExceptions` when calling `Updates.reloadAsync` (#24442)
# Why
Fixes https://github.com/expo/expo/issues/24159.
# How
It turns out that sometimes we're trying to invoke `JavaCallback` that was already invalidated. That leads to an ambiguous error: `NullPointerExceptions: NullPointerExceptions`. I've decided to suppress that error to not crash users' apps.
# Test Plan
- [patidarsarvesh/ExpoNullPointerIssue](https://github.com/patidarsarvesh/ExpoNullPointerIssue) ✅
show more ...
|