Right now if the FeatureViewController cannot be found, a message is displayed "Demo not available", by providing a default as PayPalWebCheckoutViewController we can load a View Controller instead of returning nil without a super clear message to the user. This is mainly helpful for first time installs, when nothing is stored in UserDefaults yet or when switching between feature branches where the demo exists on a branch but not on main.
Summary of changes
Right now if the
FeatureViewController
cannot be found, a message is displayed "Demo not available", by providing a default asPayPalWebCheckoutViewController
we can load a View Controller instead of returningnil
without a super clear message to the user. This is mainly helpful for first time installs, when nothing is stored inUserDefaults
yet or when switching between feature branches where the demo exists on a branch but not on main.Checklist
Authors