@akylas/nativescript-app-utils 2.1.1 → 2.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,12 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [2.1.2](https://github.com/akylas/nativescript-app-utils/compare/v2.1.1...v2.1.2) (2024-10-07)
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
* **ios:** build fix ([5ff71b3](https://github.com/akylas/nativescript-app-utils/commit/5ff71b3708c186aa196248a1d76359aa929f0de0))
|
|
11
|
+
|
|
6
12
|
## [2.1.1](https://github.com/akylas/nativescript-app-utils/compare/v2.1.0...v2.1.1) (2024-10-05)
|
|
7
13
|
|
|
8
14
|
### Bug Fixes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@akylas/nativescript-app-utils",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.2",
|
|
4
4
|
"description": "Provides API for changing the styles of SystemUI (StatusBar, NavigationBar...) on iOS.",
|
|
5
5
|
"main": "index",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -63,5 +63,5 @@
|
|
|
63
63
|
"bugs": {
|
|
64
64
|
"url": "https://github.com/akylas/nativescript-app-utils/issues"
|
|
65
65
|
},
|
|
66
|
-
"gitHead": "
|
|
66
|
+
"gitHead": "64d75967d510eeeccc9fcd3cd2f19be11ba6c9f5"
|
|
67
67
|
}
|
|
@@ -213,10 +213,16 @@ class ImageUtils : NSObject {
|
|
|
213
213
|
let options = toJSON(stringOptions)
|
|
214
214
|
return readImageFromFileSync(src, options: options)
|
|
215
215
|
}
|
|
216
|
-
static func readImageFromFile(_ src: String, _ delegate:
|
|
216
|
+
static func readImageFromFile(_ src: String, _ delegate: NCompletionDelegate?, _ stringOptions: String?) {
|
|
217
217
|
DispatchQueue.global(qos: .userInitiated).async {
|
|
218
218
|
let options = toJSON(stringOptions)
|
|
219
|
-
|
|
219
|
+
// do {
|
|
220
|
+
delegate?.onComplete(readImageFromFileSync(src, stringOptions) as NSObject?, error: nil)
|
|
221
|
+
|
|
222
|
+
// } catch {
|
|
223
|
+
// delegate?.onComplete(readImageFromFileSync(src, stringOptions) as NSObject?, error: error as NSError?)
|
|
224
|
+
//
|
|
225
|
+
// }
|
|
220
226
|
}
|
|
221
227
|
}
|
|
222
228
|
}
|
|
Binary file
|