Releases: Pilloxa/react-native-nordic-dfu
v3.2.0 Update iOS dependencies
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
Add alternativeAdvertisingNameEnabled
param to startDFU for iOS, thanks @townofdon!
v3.0.1
v3.0.0
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:
- Delete
Zip.framework
andiOSDFULibrary.framework
from your file system - In XCode remove the references to the
.framework
files - In XCode remove the reference to
RNNordicDfu.xcodeproj
- In XCode under Build Settings > Search Paths > Framework Search Paths, remove the manually added framework search path
- In XCode under Build Settings > Search Paths > Header Search Paths, remove the manually added header search path
- 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
This release contains rebuilt dependencies that support XCode 10 and no functional changes.
Support Swift 4.0.2
This release builds the iOS framework dependencies to support Swift 4.0.2.