diff --git a/CHANGELOG.md b/CHANGELOG.md index 6744201..7993bf3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## 6.1.4 +* [Android] Updated Nordic DFU Library to version 2.4.2 +* [iOS] Updated Nordic DFU Library to version 4.15.0 + ## 6.1.3 * [Android] Updated Nordic DFU Library to version 2.3.1 * [Android] Fix crash on Android 14 diff --git a/ios/Classes/SwiftNordicDfuPlugin.swift b/ios/Classes/SwiftNordicDfuPlugin.swift index be3ca5e..1c624b2 100644 --- a/ios/Classes/SwiftNordicDfuPlugin.swift +++ b/ios/Classes/SwiftNordicDfuPlugin.swift @@ -1,6 +1,6 @@ import Flutter import UIKit -import iOSDFULibrary +import NordicDFU import CoreBluetooth public class SwiftNordicDfuPlugin: NSObject, FlutterPlugin, FlutterStreamHandler, DFUServiceDelegate, DFUProgressDelegate, LoggerDelegate { diff --git a/ios/nordic_dfu.podspec b/ios/nordic_dfu.podspec index b68db94..430c828 100644 --- a/ios/nordic_dfu.podspec +++ b/ios/nordic_dfu.podspec @@ -16,8 +16,7 @@ A new flutter plugin project. s.public_header_files = 'Classes/**/*.h' s.swift_version = '5.4' s.dependency 'Flutter' - s.dependency 'iOSDFULibrary', '~> 4.13.0' - + s.dependency 'iOSDFULibrary', '~> 4.15.0' s.ios.deployment_target = '9.0' end diff --git a/macos/Classes/NordicDfuPlugin.swift b/macos/Classes/NordicDfuPlugin.swift index 8711e79..6d4ddda 100644 --- a/macos/Classes/NordicDfuPlugin.swift +++ b/macos/Classes/NordicDfuPlugin.swift @@ -1,7 +1,7 @@ import Cocoa import FlutterMacOS import AppKit -import iOSDFULibrary +import NordicDFU import CoreBluetooth public class NordicDfuPlugin: NSObject, FlutterPlugin, FlutterStreamHandler, DFUServiceDelegate, DFUProgressDelegate, LoggerDelegate { diff --git a/pubspec.yaml b/pubspec.yaml index 15c88e1..356b809 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: nordic_dfu description: This library allows you to do a Device Firmware Update (DFU) of your nrf51 or nrf52 chip from Nordic Semiconductor. Fork of flutter-nordic-dfu. -version: 6.1.3 +version: 6.1.4 homepage: https://github.com/juliansteenbakker/nordic_dfu environment: