Last Updated on : 2024-10-29 06:24:13download
This topic describes how to debug the panel of a product.
Click RN Panel Dev to download and install Tuya Panel TestFlight app.
You need to open this link on your mobile phone for installation.
If you have not registered an account of the app, register one and log in to the app.
Tap Me at the bottom > Scan icon in the top right corner. The camera permission must be enabled before the scan feature can be used.
Scan the QR code to open the page of RN panel debugging settings.
Configure RN debugging parameters.
Tap the switch button at the top to enable the RN debugging mode.
Configure the debugging information.
8081
by default.index.ios.bundle
by default.Go back to the homepage of the RN Panel Dev app and select a panel.
Shake the mobile phone, select Reload in the dialog box, and then load the local resource package.
(Optional) You can shake the mobile phone, and view the debugging log or enable Hot Reloading.
Find and log in to com.ty.panel.dev application.
com.ty.panel.dev is installed when the RN Panel Dev app is installed.
Enter the IP address of the host and tap Confirm.
Tap Enable RN debugging mode to start debugging.
Debug the panel.
Register and log in to the RN Panel Dev app.
Scan the QR code of the created product panel to add a virtual device. For more information about getting the QR code of a virtual device, see Select the device panel.
In the RN Panel Dev app, log in to the specified panel interface.
Shake the mobile phone, select Reload in the dialog box, and then load the local resource package.
(Optional) You can shake the mobile phone, and view the debugging log or enable Hot Reloading.
The following figure shows the successful panel debugging based on examples/basic.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback