Exception in HostObject::get: <unknown>
See original GitHub issueDescribe your environment
- react-native-localize 1.0.3
- react-native 0.59.3
- Target platform: Android
- Device: • Manufacturer: Tecno, OS: 7.0 • Manufacturer: Infinix, OS: 7.0 or 8.1.0 • Manufacturer: OnePlus, OS: 9.0 • Manufacturer: Pixel, OS: 9.0
- OS: 7, 8, 8.1 ,9
- DevTools: N/A
- buildToolsVersion: 28.0.3
How to repeat issue and example
import { findBestAvailableLanguage } from 'react-native-localize'
expected it not to crash but it crashes on the above devices with:
Exception in HostObject::get: <unknown>
Some context around this error: This does not happen very often. Probably something like 1% of the time but it does result in an unrecoverable crash we think. We’re seeing this reported through bugsnag and we don’t have a device to reproduce this on. Thought it would be worth a report anyway. Maybe you all have some context on this error.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:12
- Comments:14 (7 by maintainers)
Top Results From Across the Web
Exception in HostObject - React Native Build Android
In my case, the problem was with react-native-device-info. Try this in your app/build.gradle dependencies:
Read more >React Native Build Android #58 - Exception in HostObject
Question I have an issue when run application in android device. Have anyone idea about it ? My app > build.gradle file >...
Read more >Exception in Host Object::get: <unknown> on React-Native ...
Issue. I got a error "Exception in Host Object::get: " on android. I used React-Native 0.59.1. Project Files. Android.
Read more >Troubleshoot the UnknownHostException error in a Java ...
UnknownHostException is a common error message in Java applications. This error typically indicates that there was a DNS resolution failure.
Read more >Method By Name
... Event add Event Dispatcher add Event Queue add Exception add Excludes add ... find Key find Keyword find Last Unknown Marker Segment...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
We had to get rid of the library to make it go way 🤷♂️But it fixed the issue very nicely!
@gbalduzzi I made a new release (
1.2.0
) with fallbacks for unknown countries / currencies.