Discovery
Discovery copied to clipboard
Start advertise and discovery services on init
Currently _shouldAdvertise and _shouldDiscover are being set directly, bypassing [setShouldAdvertise] and [setShouldDiscover]. This pull request calls the functions directly, making sure that the CBPeripheralManager and CBCentralManager are initialized in order for the services to start based off the startOption defined by the user.