Driversnote-Dev / react-native-kontaktio

React Native (iOS and Android) library for Kontakt.io beacons (and all other beacons)
MIT License
111 stars 48 forks source link

Add possibility to create custom ScanPeriods and ForceScanConfigurations in configure. #11

Closed andrekovac closed 7 years ago

andrekovac commented 7 years ago

Not added for now because it's not stable yet.


Some details:

Some of the value dependencies:

  1. The active scan period must be a positive value equal or longer than 3000 ms
  2. The passive scan period must be a positive value equal or higher than 2000ms or equal to 0.
  3. Activity check period must be shorter than active scan period #(https://github.com/kontaktio/kontakt-android-sdk/issues/145) , i.e. the first argument activePeriod of scanPeriod has to be greater than the second argument checkPeriod of activityCheckConfiguration.
andrekovac commented 7 years ago

Available in version 1.2.0. See README for more details.