diff --git a/application/entry/oh-package.json5 b/application/entry/oh-package.json5 index 2d009f6f7388b15508928e7fd2fe954893dee683..059765993c7f0a5f8e54061891dee2fe49615794 100644 --- a/application/entry/oh-package.json5 +++ b/application/entry/oh-package.json5 @@ -21,5 +21,7 @@ "description": "Please describe the basic information.", "main": "", "version": "1.0.0", - "dependencies": {} + "dependencies": { + "@ohos/lottie": "^2.0.10" + } } diff --git a/application/entry/src/main/ets/pages/ContinueSwitch.ets b/application/entry/src/main/ets/pages/ContinueSwitch.ets index ead3a416b20fc6c8054c879ebd0881d571f4477c..aa271dd21039be6109292c3a320003a724fb065d 100644 --- a/application/entry/src/main/ets/pages/ContinueSwitch.ets +++ b/application/entry/src/main/ets/pages/ContinueSwitch.ets @@ -18,6 +18,7 @@ import settings from '@ohos.settings'; import UIExtensionContentSession from '@ohos.app.ability.UIExtensionContentSession'; import deviceInfo from '@ohos.deviceInfo'; import { BusinessError } from '@ohos.base'; +import lottie from '@ohos/lottie'; const TAG = '[ContinueSwitch_Page] : '; let context = getContext(this) as common.UIAbilityContext; diff --git a/application/oh-package.json5 b/application/oh-package.json5 index 0669487032a8c1292cfea59bacad190a91701853..7feebf0cc3cfbb8749d11d313a4d2de67acad423 100644 --- a/application/oh-package.json5 +++ b/application/oh-package.json5 @@ -23,5 +23,7 @@ "description": "Please describe the basic information.", "main": "", "version": "1.0.0", - "dependencies": {} + "dependencies": { + "@ohos/lottie": "^2.0.10" + } }