After your app is adapted and released on HUAWEI AppGallery, you need to simulate the scenario where a user upgrades the device from HarmonyOS to HarmonyOS NEXT to verify the app data migration result.
After your app is adapted and released on HUAWEI AppGallery, you can verify the app data migration result in an end-to-end manner. The currently used device runs HarmonyOS NEXT. Before upgrade verification, you need to roll back the device from HarmonyOS NEXT to HarmonyOS. To roll back the system, go to Settings > System > Developer options > System rollback.
After the device is rolled back to HarmonyOS, the APK application data needs to be preset. After the data is preset, you need to upgrade the device from HarmonyOS to HarmonyOS NEXT. To update the system, choose Settings > System update > Software update.
The device is successfully upgraded from HarmonyOS to HarmonyOS NEXT. After startup, application data migration starts. You need to verify the data migration result after the application data migration is complete.