Is your feature request related to a problem? (please describe)
On iOS CBCentralManagerScanOptionAllowDuplicatesKey value when scanning devices should be exposed. This can save on battery life in applications where scanning takes place over long periods of time. Right now it is hardcoded to true.
Describe the solution you'd like
A bool should be exposed for allowDuplicates on the scanForDevices library method. On the native side the method in Central.swift should be updated to be dynamic:
Is your feature request related to a problem? (please describe) On iOS CBCentralManagerScanOptionAllowDuplicatesKey value when scanning devices should be exposed. This can save on battery life in applications where scanning takes place over long periods of time. Right now it is hardcoded to
true
.Describe the solution you'd like A bool should be exposed for
allowDuplicates
on thescanForDevices
library method. On the native side the method inCentral.swift
should be updated to be dynamic: