Skip to content
This repository was archived by the owner on Dec 13, 2024. It is now read-only.

fix: 修复cropping、width、height等多个属性不生效问题 #43

Merged
merged 1 commit into from
Oct 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
325 changes: 10 additions & 315 deletions README.md

Large diffs are not rendered by default.

Binary file modified harmony/image_crop_picker.har
Binary file not shown.
25 changes: 25 additions & 0 deletions harmony/image_crop_picker/BuildProfile.ets
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
/**
* Use these variables when you tailor your ArkTS code. They must be of the const type.
*/
export const HAR_VERSION = '0.40.3-0.0.13';
export const BUILD_MODE_NAME = 'debug';
export const DEBUG = true;
export const TARGET_NAME = 'default';
export const APP_NAME = 'Keys Example';
export const BUNDLE_ID = 'com.example.rnkeys.dev';
export const ANDROID_CODE = '50';
export const PACKAGE_ID = 'com.example.rnkeys.dev';

/**
* BuildProfile Class is used only for compatibility purposes.
*/
export default class BuildProfile {
static readonly HAR_VERSION = HAR_VERSION;
static readonly BUILD_MODE_NAME = BUILD_MODE_NAME;
static readonly DEBUG = DEBUG;
static readonly TARGET_NAME = TARGET_NAME;
static readonly APP_NAME = APP_NAME;
static readonly BUNDLE_ID = BUNDLE_ID;
static readonly ANDROID_CODE = ANDROID_CODE;
static readonly PACKAGE_ID = PACKAGE_ID;
}
2 changes: 1 addition & 1 deletion harmony/image_crop_picker/oh-package.json5
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@
type: 'module',
version: '0.40.3-0.0.12',
dependencies: {
"@rnoh/react-native-openharmony": "file:../react_native_openharmony"
"@rnoh/react-native-openharmony": "file:../libs/react_native_openharmony-5.0.0.500.har"
},
}
358 changes: 204 additions & 154 deletions harmony/image_crop_picker/src/main/ets/ImageCropPickerTurboModule.ts

Large diffs are not rendered by default.

Loading