@react-native-ohos/lottie-react-native 6.4.2-rc.1 → 6.4.2-rc.3
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/README.md
CHANGED
|
@@ -6,9 +6,9 @@
|
|
|
6
6
|
"name": "@react-native-ohos/lottie-react-native",
|
|
7
7
|
"description": "Native part of lottie-react-native",
|
|
8
8
|
"main": "index.ets",
|
|
9
|
-
"version": "6.4.2-rc.
|
|
9
|
+
"version": "6.4.2-rc.3",
|
|
10
10
|
"dependencies": {
|
|
11
11
|
"@rnoh/react-native-openharmony": "file:../react_native_openharmony",
|
|
12
|
-
"@ohos/lottie": "2.0.
|
|
12
|
+
"@ohos/lottie": "2.0.25-rc.1"
|
|
13
13
|
}
|
|
14
14
|
}
|
|
@@ -246,6 +246,9 @@ export struct LottieAnimationView {
|
|
|
246
246
|
this.animateItem?.addEventListener(LOTTLE_STRING.data_failed, () => {
|
|
247
247
|
this.eventEmitter!.emit("animationFailure", {error: 'data_failed'});
|
|
248
248
|
})
|
|
249
|
+
this.animateItem?.addEventListener('error', () => {
|
|
250
|
+
this.eventEmitter!.emit("animationFailure", {error: 'data_failed'});
|
|
251
|
+
})
|
|
249
252
|
}
|
|
250
253
|
|
|
251
254
|
handleColorFilters(): void {
|
package/harmony/lottie.har
CHANGED
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@react-native-ohos/lottie-react-native",
|
|
3
|
-
"version": "6.4.2-rc.
|
|
3
|
+
"version": "6.4.2-rc.3",
|
|
4
4
|
"description": "c-api-foundation",
|
|
5
5
|
"main": "lib/commonjs/index.js",
|
|
6
6
|
"module": "lib/module/index.js",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"react-native.config.js"
|
|
20
20
|
],
|
|
21
21
|
"author": "Emilio Rodriguez <emiliorodriguez@gmail.com>",
|
|
22
|
-
"homepage": "https://
|
|
22
|
+
"homepage": "https://gitcode.com/openharmony-sig/rntpc_lottie-react-native#readme",
|
|
23
23
|
"harmony": {
|
|
24
24
|
"alias": "lottie-react-native",
|
|
25
25
|
"autolinking": {
|
|
@@ -37,9 +37,9 @@
|
|
|
37
37
|
"react-native",
|
|
38
38
|
"keyframe"
|
|
39
39
|
],
|
|
40
|
-
"repository": "https://
|
|
40
|
+
"repository": "https://gitcode.com/openharmony-sig/rntpc_lottie-react-native.git",
|
|
41
41
|
"bugs": {
|
|
42
|
-
"url": "https://
|
|
42
|
+
"url": "https://gitcode.com/openharmony-sig/rntpc_lottie-react-native/issues"
|
|
43
43
|
},
|
|
44
44
|
"publishConfig": {
|
|
45
45
|
"registry": "https://registry.npmjs.org/",
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Use these variables when you tailor your ArkTS code. They must be of the const type.
|
|
3
|
-
*/
|
|
4
|
-
export const HAR_VERSION = '6.4.1-0.1.14';
|
|
5
|
-
export const BUILD_MODE_NAME = 'debug';
|
|
6
|
-
export const DEBUG = true;
|
|
7
|
-
export const TARGET_NAME = 'default';
|
|
8
|
-
|
|
9
|
-
/**
|
|
10
|
-
* BuildProfile Class is used only for compatibility purposes.
|
|
11
|
-
*/
|
|
12
|
-
export default class BuildProfile {
|
|
13
|
-
static readonly HAR_VERSION = HAR_VERSION;
|
|
14
|
-
static readonly BUILD_MODE_NAME = BUILD_MODE_NAME;
|
|
15
|
-
static readonly DEBUG = DEBUG;
|
|
16
|
-
static readonly TARGET_NAME = TARGET_NAME;
|
|
17
|
-
}
|