as

Settings
Sign out
Notifications
Alexa
亚马逊应用商店
Ring
AWS
文档
Support
Contact Us
My Cases
新手入门
设计和开发
应用发布
参考
支持
跳转到主要内容
You must create or update the onInstallOrUpdateTask to schedule your EPG Sync Task.

Step 1: Declare onInstallOrUpdateTask in the manifest file

Step 2: Define your app’s task

Define your app’s onInstallOrUpdateTask by creating a OnInstallOrUpdate.ts file in your src folder with the following content. This task runs on app installations and updates.
When your onInstallOrUpdate task runs, you should see a log line similar to the following.

最后修改于 2025年9月30日