diff --git a/CHANGELOG.md b/CHANGELOG.md index ed19603c0..00250922b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,18 @@ +## [7.0.13](https://github.com/NativeScript/NativeScript/compare/7.0.12-core...7.0.13) (2020-10-28) + + +### Bug Fixes + +* **core:** ListViewCell.initWithEmptyBackground ([#8985](https://github.com/NativeScript/NativeScript/issues/8985)) ([0eb2246](https://github.com/NativeScript/NativeScript/commit/0eb2246b7dfc3eda731f8cb7ee1bbfcd36551dfa)) +* **ios:** UIImage.imageWithData.async is not a function ([b966542](https://github.com/NativeScript/NativeScript/commit/b96654276b8e423a21f95261449f578470e027d8)) + + +### Features + +* **core:** Repeater multiple item templates implementation ([#8981](https://github.com/NativeScript/NativeScript/issues/8981)) ([b113f19](https://github.com/NativeScript/NativeScript/commit/b113f1916db591d23327e7eead498c722ce76876)) + + + ## [7.0.12](https://github.com/NativeScript/NativeScript/compare/7.0.11-core...7.0.12) (2020-10-21) diff --git a/package.json b/package.json index bb32b3bd9..94e13a435 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "nativescript", - "version": "7.0.12", + "version": "7.0.13", "license": "MIT", "config": { "npm_alias": "npm" diff --git a/packages/core/image-source/index.ios.ts b/packages/core/image-source/index.ios.ts index 647bdba59..e829a1408 100644 --- a/packages/core/image-source/index.ios.ts +++ b/packages/core/image-source/index.ios.ts @@ -154,8 +154,13 @@ export class ImageSource implements ImageSourceDefinition { return new Promise((resolve, reject) => { try { const data = NSData.alloc().initWithBase64EncodedStringOptions(source, NSDataBase64DecodingOptions.IgnoreUnknownCharacters); - UIImage.imageWithData['async'](UIImage, [data]).then((uiImage) => { - resolve(new ImageSource(uiImage)); + const main_queue = dispatch_get_current_queue(); + const background_queue = dispatch_get_global_queue(qos_class_t.QOS_CLASS_DEFAULT, 0); + dispatch_async(background_queue, () => { + const uiImage = UIImage.imageWithData(data); + dispatch_async(main_queue, () => { + resolve(new ImageSource(uiImage)); + }); }); } catch (ex) { reject(ex); diff --git a/packages/core/package.json b/packages/core/package.json index 00967cb43..5ec54670d 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -3,7 +3,7 @@ "main": "index", "types": "index.d.ts", "description": "NativeScript Core Modules", - "version": "7.0.12", + "version": "7.0.13", "homepage": "https://nativescript.org", "repository": { "type": "git",