All notable changes to this project will be documented in this file. If a contribution does not have a mention next to it, @andrekovac, @JonasWho or @martinpoulsen did it.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
v4.1.0 - 2022-10-21
- Update Setup documentation, add formerly undocumented secure profile information
- fix new NativeEventEmitter warning
- README: New minimal example code, new Contribute section
- iOS: Upgrade Kontakt.io iOS SDK to version
3.0.25
v4.0.0 - 2022-09-26
- Android: Update Kontakt.io SDK to version
7.0.6
- Android: Update target SDK to 31 and add
BLUETOOTH_SCAN
andBLUETOOTH_CONNECT
to permissions used.
v3.1.0 - 2022-02-17
- Improve TypeScript types for secure profiles.
- Android: Update Kontakt.io SDK to version
5.0.25-pre-31
v3.0.1 - 2022-02-16
- Migrated library to TypeScript
- Upgraded Example app to use React Native 0.65.2
v2.10.0 - 2021-11-26
- Android: Migrate to androidx.
- Android: Downgrade the Kontakt.io SDK to version
5.0.14
since it is the last version to target Android SDK 30 and since versions >=5.0.15
might trigger the new Android 12 bluetooth permission model.
v2.9.0 - 2021-11-13
- Android: Change the Kontakt.io SDK source and update to version
5.0.15
v2.8.0 - 2021-01-10
- Android: Update Kontakt.io SDK to version
5.0.0
- iOS: Update Kontakt.io SDK to version
3.0.4
v2.7.2 - 2020-03-06
- Updated setup docs to include instructions on auto-linking
- Added new minimal example to README which works with RN 0.61
v2.7.1 - 2020-02-22
- Support for RN >= 0.60 and autolinking (incl. pod install section), by @pkondrashkov (see #67)
- Update of permission information, by @nylsoo (see #63)
v2.7.0 - 2019-09-17
- iOS: Update Kontakt.io SDK to version
1.5.1
- iOS: Eddystone support
- iOS: Other minor code fixes
v2.6.2 - 2019-06-07
- Update
KontaktBeacons.podspec
v2.6.1 - 2019-05-22
- Added information about the event
didDetermineState
and the methodrequestStateForRegion
to the docs.
v2.6.0 - 2019-05-09
- Android: Don't set
proximityManager
tonull
indisconnect
function. - Android: Make calls to
isConnected
function safer. - Android: Make calls to
isScanning
function safer.
v2.5.4 - 2019-02-18
- Android: Improved behavior of the
isConnected
function to resolve withfalse
ifconnect
wasn't called before and only reject in case of other errors. With this fix,isConnected
may be called anytime. So far calling it beforeconnect
was called lead to a Promise rejection which is counter-intuitive because you'd expect to call this function to check whether this is the case.
v2.5.0 - 2019-02-07
- iOS: New function
requestStateForRegion
and corresponding listenerdidDetermineState
.
- Improved iOS setup documentation: Added a troubleshooting case
v2.4.0 - 2018-12-19
- Android: Add event
beaconInitStatus
as an alternative to the returned Promise of theconnect()
call.
- Android: Remove routine to prevent repeated promise resolve or reject calls for the same promise. After the second call to the library, this case would not resolve or reject anything which caused the Promise chain on the Javascript side to halt.
- Android: Move
isConnected()
implementation into BeaconProximityManager file
v2.3.0 - 2018-11-08
- Android: Wrap every call of so-far not-error-handled methods into an if-else statement which checks whether its object which is created after the
connect()
call is defined to avoid null-pointer exceptions.
v2.2.0 - 2018-11-08
- Android: Upgraded gradle build tools to Version 25
v2.1.0 - 2018-06-24
- Android: Add Secure Profile. It is used when scanning for Beacon Pros, by @jampueroc (see #36)
- Android: Add KontaktTelemetry (with Acceleration) to Secure Profile - only works with BeaconPros, by @Andruschenko (see #36)
- Add CHANGELOG
- Android: Update to SDK version 4.0.1 (Important: Version 4.0.0. removes support for Kontakt.io nRF51-based devices (Beacon, Tough Beacon, USB Beacon) with firmware < 4.0)
- Fixed and updated parts of the documentation. Added images to the iOS setup guide.
- Handle illegal callback invocation exception, by @JonasWho (see #21)
v2.0.4 - 2017-10-25
- Compatibility with React Native 0.48 and up, by @exKAZUu (see #19)
v2.0.0 - 2017-06-08
- iOS support: Discovery, ranging and monitoring possible
- Android: Basic Eddystone support
- Android: New method getBeaconRegions() to get all regions which are set to scan.
- Android: Rename
init()
toconnect()
and improve functionality so thatdisconnect()
is the opposite action. - Updated example apps
- Improved documentation (start-up documentation tested for react-native versions below and after 0.40.0)
- Several bug fixes