Skip to content

Releases: Pilloxa/react-native-nordic-dfu

v3.2.0 Update iOS dependencies

02 Jun 13:42
b7f0aa4
Compare
Choose a tag to compare

Updates the underlying iOS pod dependency iOSDFULibrary from v4.4.0 to v4.7.1 and removes the ZIPFoundation pod dependency.

This version might break for certain build configurations but should be much more stable in the long run.

Doesn't affect Android.

v3.1.0

17 Apr 09:46
Compare
Choose a tag to compare

Add alternativeAdvertisingNameEnabled param to startDFU for iOS, thanks @townofdon!

v3.0.1

10 Jun 10:59
Compare
Choose a tag to compare

Adds Typescript typings, thanks @Kaakans!

v3.0.0

15 Apr 16:57
Compare
Choose a tag to compare

Use CocoaPods in iOS - this should fix build issues with XCode 10.2 and Swift 5.

OBS! This is a breaking version that drops support for manual linking on iOS.

The reasoning behind this is that there's historically been issues with building manually linked projects every single time a new version of XCode and/or Swift was released. Using CocoaPods is a safer alternative to linking the native libraries this library depends on, which will hopefully be much less painful in the future. Once properly set up it will automatically fix issues with signing, linking and bitcode generation.

CocoaPods is also (arguably) the current de-facto standard way of integrating dependencies on iOS and is much more flexible than manual linking.

It is regrettable to drop support for manual linking and PR's for this support is much appreciated, we can however not continue supporting it any longer due to the amount of man hours needed every time a new version of XCode is released.

Upgrade instructions

If you've previously linked this library manually, you'll need to manually reverse the process within XCode:

  1. Delete Zip.framework and iOSDFULibrary.framework from your file system
  2. In XCode remove the references to the .framework files
  3. In XCode remove the reference to RNNordicDfu.xcodeproj
  4. In XCode under Build Settings > Search Paths > Framework Search Paths, remove the manually added framework search path
  5. In XCode under Build Settings > Search Paths > Header Search Paths, remove the manually added header search path
  6. Completely clean the project, including Derived Data

After this you should be able to follow the installation instructions and build the project.

XCode 10 support

03 Oct 09:41
Compare
Choose a tag to compare

This release contains rebuilt dependencies that support XCode 10 and no functional changes.

Support Swift 4.0.2

17 Nov 09:56
Compare
Choose a tag to compare

This release builds the iOS framework dependencies to support Swift 4.0.2.