We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I am getting this error on my iOS phone whenever it scans an EID beacon frame.
XCode 11, "@lg2/react-native-eddystone": "^0.1.5", "react-native": "0.61.5",
The text was updated successfully, but these errors were encountered:
got the same error here
Sorry, something went wrong.
I have also faced this issue. I believe its mostly related to iOS 13.
I am using "@lg2/react-native-eddystone": "^0.1.5"
"@lg2/react-native-eddystone": "^0.1.5"
-[Eddystone centralManager:didDiscoverPeripheral:advertisementData:RSSI:] Eddystone.m, line 124
SIGABRT: *** -[__NSPlaceholderDictionary initWithObjects:forKeys:count:]: attempt to insert nil object from objects[2]
Hi, im looking at this project currently, did anyone get a fix to this? thanks
I fixed the issue. The issue arrises when beacon.txPower (object[2]) or beacon.rssi (object[3]) is null.
To fix this, in Eddystone.m (within the pod) update line 127 and 128 from: @"txPower": beacon.txPower, @"rssi": beacon.rssi;
@"txPower": beacon.txPower, @"rssi": beacon.rssi;
to this: [NSString stringWithFormat:@"%@", beacon.txPower], [NSString stringWithFormat:@"%@", beacon.rssi]
[NSString stringWithFormat:@"%@", beacon.txPower], [NSString stringWithFormat:@"%@", beacon.rssi]
Alternatively
I added an if statement to catch nulls and this worked also
just wrap that whole send event with
if (beacon.txPower != NULL && beacon.rssi != NULL)
No branches or pull requests
I am getting this error on my iOS phone whenever it scans an EID beacon frame.
XCode 11,
"@lg2/react-native-eddystone": "^0.1.5",
"react-native": "0.61.5",
The text was updated successfully, but these errors were encountered: