braintree / braintree_ios

Braintree SDK for iOS
https://developer.paypal.com/braintree/docs/start/hello-client/ios/v5
MIT License
557 stars 293 forks source link

[Open Dev] Provide Default View Controller #1212

Closed jaxdesmarais closed 6 months ago

jaxdesmarais commented 6 months ago

Summary of changes

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.

Checklist

Authors