Cwa-app-ios: Crashes after iCloud backup restore

Created on 30 Oct 2020  路  3Comments  路  Source: corona-warn-app/cwa-app-ios

Avoid duplicates

  • [X] Bug is not mentioned in the FAQ
  • [X] Bug is not already reported in another issue

Describe the bug


I restored my iCloud backup on a new iPhone about 2 weeks ago. When I opened the CWA the normal setup dialog came up but no matter what I selected during the setup, in the end, the app always jumped back to the beginning of the setup screen/welcome dialog. No error message no, nothing.

Expected behavior

Either use the old data of the app from the iCloud backup or, as after a new installation of the app, show the setup dialog and then show the default "Main Screen" of the app.

Steps to reproduce the issue

Make a backup (maybe the problem occurs only with iCloud backups and not with local iTunes backups, i don't know) of your iPhone with CWA set up and then reset it. When you set up your iPhone again, select "Restore from iCloud backup" and wait. When all apps are restored open the CWA and voil脿.

Technical details

  • iOS Version: 14.1
  • Device: iPhone 8 -> iPhone SE 2

Possible Fix


I'm not very familiar with iOS app development, but I suspect it's because certain app configs and temp files/user data were restored to "app memory" and that "confused" the app on startup.

Additional context

bug further input needed

Most helpful comment

It's to Late to retry, Bit i think i did Not have the 1.5.0 Version on my old device. It's fixes now

All 3 comments

@pavll
With Version 1.5.0 and above this behavior is solved, if you didn't have CWA 1.5.0 (or higher) installed on the old device please ~deinstall the App (that data will not be lost, but please note that a registered test result will be deleted!) and install it again.~ update the App to the latest version
If you had CWA 1.5.0 (or higher) installed on the old phone this has to be further investigated

Hey @pavll

Did you try to update the app like @Ein-Tim suggested and did this solve your problem?

Regards,
CH


Corona-Warn-App Open Source Team

It's to Late to retry, Bit i think i did Not have the 1.5.0 Version on my old device. It's fixes now

Was this page helpful?
0 / 5 - 0 ratings