Runtime Error: SIGABRT on fileprivate var connectedDevices = Dictionary<UUID, Peripheral>()
See original GitHub issueI get this runtime error Runtime Error: SIGABRT
on fileprivate var connectedDevices = Dictionary<UUID, Peripheral>()
in BleClientManager
:
My code is:
class BluetoothList extends Component {
componentWillMount() {
this.manager = new BleManager(); // <------ HERE
this.manager.onStateChange((newState) => {
console.log("State changed: " + newState)
})
console.log('will mount test');
}
componentWillUnmount() {
this.manager.destroy();
delete this.manager;
}
render() {
...
}
}
I am running on my device using Expo as a detached app. My dependencies are:
"dependencies": {
"expo": "16.0.0",
"react": "16.0.0-alpha.6",
"react-native": "https://github.com/expo/react-native/archive/sdk-16.0.0.tar.gz",
"react-native-ble-plx": "^0.4.0",
"react-native-elements": "^0.11.2"
},
Issue Analytics
- State:
- Created 6 years ago
- Comments:5 (1 by maintainers)
Top Results From Across the Web
Runtime Error: SIGABRT on fileprivate var connectedDevices ...
I get this runtime error Runtime Error: SIGABRT on fileprivate var ... fileprivate var connectedDevices = Dictionary<UUID, Peripheral>() #64.
Read more >signal sigabrt error? | Apple Developer Forums
A SIGABRT (signal abort) error means that the app was deliberately crashed due to some really bad problem, like a runtime error during...
Read more >So You Want to Build a Bluetooth App with React Native ... - G2i
Runtime Error : SIGABRT on fileprivate var connectedDevices = Dictionary<UUID, Peripheral>() — see this Github issue; RCTDefines not found ...
Read more >How to start an app with Bluetooth using JavaScript (React ...
Hey there! As for now, we suggest using react-native-ble-plx as the best solution for making the connection between a React Native app and...
Read more >Where am I causing this SIGABRT error when calling ...
Currently getting a SIGABRT crash exception thrown when my player changes teams ... struct PlayerInLobbyMenu: View { @EnvironmentObject var ...
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 FreeTop 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
Top GitHub Comments
Alternatively from root of your project you can execute below commands
to force rebuild of native libraries. Let me know if it helped.
@Cierpliwy Yup that worked! Thank you.