Closed JonasWho closed 7 years ago
I fixed the issue on branch bug/isConnected-error
. I just didn't have the right cable with me and couldn't test it. Perhaps you could give it a short test run and I'll then merge it to master.
Perfect, thanks! It works like a charm now :)
Since we have multiple places in our codebase where
connect()
can be called from, we would like a way to check whether or not the proximity manager has been initialised. I tried usingisConnected()
, but it throws an exception if called beforeconnect()
.Am I doing it wrong or should
isConnected()
also do a check forbeaconProximityManager == null
?