@nativescript-community/ui-image 4.5.0 → 4.5.1

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
+ ## [4.5.1](https://github.com/nativescript-community/ui-image/compare/v4.5.0...v4.5.1) (2024-04-25)
7
+
8
+ ### Bug Fixes
9
+
10
+ * **image:** android production build fix with native-api-usage ([51fa2bc](https://github.com/nativescript-community/ui-image/commit/51fa2bcf054d18edccd72c6c7cbda59d0149274c))
11
+
6
12
  ## [4.5.0](https://github.com/nativescript-community/ui-image/compare/v4.4.0...v4.5.0) (2024-04-23)
7
13
 
8
14
  ### Features
package/index.d.ts CHANGED
@@ -450,5 +450,7 @@ export enum ScaleType {
450
450
  */
451
451
  export interface ImagePipelineConfigSetting {
452
452
  isDownsampleEnabled?: boolean;
453
+ leakTracker?: any; // Android only
454
+ useOkhttp?: boolean; // Android only
453
455
  }
454
456
  export const ImageViewTraceCategory;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nativescript-community/ui-image",
3
- "version": "4.5.0",
3
+ "version": "4.5.1",
4
4
  "description": "Advanced and efficient image display plugin which uses Fresco (Android) and SDWebImage (iOS) to implement caching, placeholders, image effects, and much more.",
5
5
  "main": "./index",
6
6
  "sideEffects": false,
@@ -36,5 +36,5 @@
36
36
  },
37
37
  "license": "Apache-2.0",
38
38
  "readmeFilename": "README.md",
39
- "gitHead": "c9982accf6b1ecbd0fcdfd298f70152b1e65f4c3"
39
+ "gitHead": "7ea32ad1649b64b1c3eb35b906fea16f213e474a"
40
40
  }
@@ -13,7 +13,7 @@ import okhttp3.Headers;
13
13
  import okhttp3.OkHttpClient;
14
14
  import okhttp3.Request;
15
15
 
16
- class OkHttpNetworkFetcher extends com.facebook.imagepipeline.backends.okhttp3.OkHttpNetworkFetcher {
16
+ public class OkHttpNetworkFetcher extends com.facebook.imagepipeline.backends.okhttp3.OkHttpNetworkFetcher {
17
17
 
18
18
  private static final String TAG = "OkHttpNetworkFetcher";
19
19