1# Custom Dialog Box 2 3### Introduction 4 5This sample demonstrates a custom dialog box used in upgrade scenarios. 6 7In this sample, the [**\<CustomDialogController>**](https://gitee.com/openharmony/docs/blob/master/en/application-dev/reference/arkui-ts/ts-methods-custom-dialog-box.md) component is used to implement the custom dialog box, which provides upgrade information for users; the [**\<RichText>**](https://gitee.com/openharmony/docs/blob/master/zh-cn/application-dev/reference/arkui-ts/ts-basic-components-richtext.md) component is used to display the upgrade information. 8 9### Usage 10 111. When you start the sample app, an upgrade dialog box is displayed. 12 132. You can touch **Cancel** or **Upgrade Now**. The dialog box will be closed. 14 15### Display Effect 16 17 18 19### Required Permissions 20 21[ohos.permission.INTERNET](https://gitee.com/openharmony/docs/blob/master/en/application-dev/security/permission-list.md), which allows an app to use network sockets. 22 23### Dependency 24 25N/A 26 27### Constraints 28 291. This sample can only be run on standard-system devices that use the Rockchip RK3568 chip. 30 312. This sample is based on the stage model, which is supported from API version 9 (SDK version: 3.2.5.5). 32 333. DevEco Studio 3.0 Beta4 (Build version: 3.0.0.992, built on July 14, 2022) must be used. 34