pretix / pretixscan-ios

iOS check-in app for pretix
https://pretix.eu/about/en/scan
Apache License 2.0
11 stars 10 forks source link

Unable to set up event on iOS 13.2 #15

Closed winsmith closed 5 years ago

winsmith commented 5 years ago

When freshly installing pretixSCAN on iOS 13.2, there's a chance the setup event screen is never shown, bringing the app into an illegal state.

Only if the app is killed and restarted again, the setup event screen comes up.

winsmith commented 5 years ago

This seems to be because we display the welcome and ticket scanning view controllers modally, but what "modal" means has changed in iOS 13. When the welcome controller returns, viewDidAppear is called on iOS 12, but not 13, so checkFirstRunActions is not called any more when the welcome view controller is dismissed.